From 8569f2676bfa15fb90522aa5816505b50a2a12f4 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 3 Dec 2023 15:25:39 -0600 Subject: feat: add remote publishing --- README.org | 9 +++++ blog/rss.org | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++ elisp/#publish.el# | 38 ------------------- 3 files changed, 117 insertions(+), 38 deletions(-) create mode 100644 blog/rss.org delete mode 100644 elisp/#publish.el# diff --git a/README.org b/README.org index 8cf1c0b..821fa00 100644 --- a/README.org +++ b/README.org @@ -24,3 +24,12 @@ When ready to publish, open any of the =.org= files in the project and execute If you want to force emacs to re-publish all files, including files without changes, execute =C-u M-x org-publish-current-project=. + +The resulting files will be published to the =public/= directory within the +repository, which is ignored via the =.gitignore= file. If you wish to publish +the files remotely, you can change the =:publishing-directory= variable in +=publish.el= or do a sync step outside of emacs: + +#+begin_src sh +scp -r public/* ubuntu:/var/www/cleberg.net/ +#+end_src diff --git a/blog/rss.org b/blog/rss.org new file mode 100644 index 0000000..fdddc88 --- /dev/null +++ b/blog/rss.org @@ -0,0 +1,108 @@ +#+TITLE: cleberg.net + +- [[file:2021-03-28-vaporwave-vs-outrun.org][2021-03-28-vaporwave-vs-outrun]] +- [[file:2023-06-23-self-hosting-convos-irc.org][2023-06-23-self-hosting-convos-irc]] +- [[file:2020-07-26-business-analysis.org][Algorithmically Analyzing Local Businesses]] +- [[file:2023-07-12-mullvad-wireguard-lan.org][2023-07-12-mullvad-wireguard-lan]] +- [[file:2022-11-11-nginx-tmp-errors.org][2022-11-11-nginx-tmp-errors]] +- [[file:2022-02-16-debian-and-nginx.org][2022-02-16-debian-and-nginx]] +- [[file:2023-06-20-audit-review-cheatsheet.org][2023-06-20-audit-review-cheatsheet]] +- [[file:2020-08-22-redirect-github-pages.org][Redirect GitHub Pages from Subdomain to the Top-Level Domain]] +- [[file:2020-08-29-php-auth-flow.org][PHP Authentication Flow]] +- [[file:2023-05-22-burnout.org][2023-05-22-burnout]] +- [[file:2022-09-21-graphene-os.org][2022-09-21-graphene-os]] +- [[file:2021-04-17-gemini-server.org][2021-04-17-gemini-server]] +- [[file:2023-11-08-scli.org][2023-11-08-scli]] +- [[file:2021-03-28-gemini-capsule.org][2021-03-28-gemini-capsule]] +- [[file:2022-04-09-pinetime.org][2022-04-09-pinetime]] +- [[file:2023-06-08-self-hosting-baikal-server.org][2023-06-08-self-hosting-baikal-server]] +- [[file:2022-07-14-gnupg.org][2022-07-14-gnupg]] +- [[file:2022-12-17-st.org][2022-12-17-st]] +- [[file:2020-05-19-customizing-ubuntu.org][Beginner's Guide: Customizing Ubuntu]] +- [[file:2022-03-23-cloudflare-dns-api.org][2022-03-23-cloudflare-dns-api]] +- [[file:2020-09-25-happiness-map.org][Data Visualization: World Choropleth Map of Happiness]] +- [[file:2022-03-24-server-hardening.org][2022-03-24-server-hardening]] +- [[file:2022-02-22-tuesday.org][2022-02-22-tuesday]] +- [[file:2021-07-15-delete-gitlab-repos.org][2021-07-15-delete-gitlab-repos]] +- [[file:2019-12-03-the-ansoff-matrix.org][The Ansoff Matrix]] +- [[file:2023-06-28-backblaze-b2.org][2023-06-28-backblaze-b2]] +- [[file:2022-12-07-nginx-wildcard-redirect.org][2022-12-07-nginx-wildcard-redirect]] +- [[file:2023-01-05-mass-unlike-tumblr-posts.org][2023-01-05-mass-unlike-tumblr-posts]] +- [[file:2023-01-08-fedora-remove-login-manager.org][2023-01-08-fedora-remove-login-manager]] +- [[file:2018-12-08-aes-encryption.org][AES Encryption]] +- [[file:2020-05-03-homelab.org][An Inside Look at My Homelab]] +- [[file:2023-09-15-gitweb.org][2023-09-15-gitweb]] +- [[file:2022-11-29-nginx-referrer-ban-list.org][2022-11-29-nginx-referrer-ban-list]] +- [[file:2022-03-26-ssh-mfa.org][2022-03-26-ssh-mfa]] +- [[file:2022-12-23-alpine-desktop.org][2022-12-23-alpine-desktop]] +- [[file:2020-01-25-linux-software.org][Linux Software]] +- [[file:2022-02-17-exiftool.org][2022-02-17-exiftool]] +- [[file:2021-12-04-cisa.org][2021-12-04-cisa]] +- [[file:2020-02-09-cryptography-basics.org][Cryptography Basics]] +- [[file:2022-07-30-flac-to-opus.org][2022-07-30-flac-to-opus]] +- [[file:2022-06-24-fedora-i3.org][2022-06-24-fedora-i3]] +- [[file:2020-07-20-video-game-sales.org][Data Exploration: Video Game Sales]] +- [[file:2022-11-07-matrix-synapse.org][2022-11-07-matrix-synapse]] +- [[file:2020-10-12-mediocrity.org][On the Pursuit of Mediocrity]] +- [[file:2021-02-19-macos.org][2021-02-19-macos]] +- [[file:2020-01-26-steam-on-ntfs.org][Linux Gaming Tweak: Steam on NTFS Drives]] +- [[file:2019-01-07-useful-css.org][Useful CSS Snippets]] +- [[file:2023-01-28-self-hosting-wger-workout-manager.org][2023-01-28-self-hosting-wger-workout-manager]] +- [[file:2022-11-27-server-build.org][2022-11-27-server-build]] +- [[file:2023-10-04-digital-minimalism.org][2023-10-04-digital-minimalism]] +- [[file:2020-12-27-website-redesign.org][Redesigning My Website: The 5 KB Result]] +- [[file:2023-09-19-audit-sql-scripts.org][2023-09-19-audit-sql-scripts]] +- [[file:2020-12-28-neon-drive.org][Neon Drive: A Nostalgic 80s Arcade Racing Game]] +- [[file:2023-02-02-exploring-hare.org][2023-02-02-exploring-hare]] +- [[file:2022-09-17-serenity-os.org][2022-09-17-serenity-os]] +- [[file:2021-10-09-apache-redirect.org][2021-10-09-apache-redirect]] +- [[file:2022-03-08-plex-migration.org][2022-03-08-plex-migration]] +- [[file:2023-01-21-running-flatpak-apps-easily.org][2023-01-21-running-flatpak-apps-easily]] +- [[file:2022-06-16-terminal-lifestyle.org][2022-06-16-terminal-lifestyle]] +- [[file:2022-10-22-alpine-linux.org][2022-10-22-alpine-linux]] +- [[file:2019-09-09-audit-analytics.org][Data Analysis in Auditing]] +- [[file:2023-08-18-agile-auditing.org][2023-08-18-agile-auditing]] +- [[file:2023-01-23-random-mullvad-wireguard.org][2023-01-23-random-mullvad-wireguard]] +- [[file:2022-02-20-nginx-caching.org][2022-02-20-nginx-caching]] +- [[file:2022-08-31-privacy.com-changes.org][2022-08-31-privacy.com-changes]] +- [[file:2022-03-02-note-taking.org][2022-03-02-note-taking]] +- [[file:2023-11-12-consolefonts.org][2023-11-12-consolefonts]] +- [[file:2021-04-28-photography.org][2021-04-28-photography]] +- [[file:2020-09-22-internal-audit.org][What is Internal Audit?]] +- [[file:2022-07-25-curseradio.org][2022-07-25-curseradio]] +- [[file:2022-10-30-linux-display-manager.org][2022-10-30-linux-display-manager]] +- [[file:2022-06-01-ditching-cloudflare.org][2022-06-01-ditching-cloudflare]] +- [[file:2023-06-08-goaccess-geoip.org][2023-06-08-goaccess-geoip]] +- [[file:2019-12-16-password-security.org][Password Security]] +- [[file:2021-01-07-ufw.org][2021-01-07-ufw]] +- [[file:2022-07-01-git-server.org][2022-07-01-git-server]] +- [[file:2023-06-23-byobu.org][2023-06-23-byobu]] +- [[file:2020-03-25-session-messenger.org][Session Private Messenger]] +- [[file:2023-01-03-recent-website-changes.org][2023-01-03-recent-website-changes]] +- [[file:2023-06-30-self-hosting-voyager-lemmy-client.org][2023-06-30-self-hosting-voyager-lemmy-client]] +- [[file:2021-05-30-changing-git-authors.org][2021-05-30-changing-git-authors]] +- [[file:2023-10-11-self-hosting-authelia.org][2023-10-11-self-hosting-authelia]] +- [[file:2021-01-04-fediverse.org][2021-01-04-fediverse]] +- [[file:2021-04-23-php-comment-system.org][2021-04-23-php-comment-system]] +- [[file:2023-07-19-plex-transcoder-errors.org][2023-07-19-plex-transcoder-errors]] +- [[file:2022-07-31-bash-it.org][2022-07-31-bash-it]] +- [[file:2023-10-15-alpine-ssh-hardening.org][2023-10-15-alpine-ssh-hardening]] +- [[file:2022-10-04-mtp-linux.org][2022-10-04-mtp-linux]] +- [[file:2022-06-04-njalla-dns-api.org][2022-06-04-njalla-dns-api]] +- [[file:2022-03-23-nextcloud-on-ubuntu.org][2022-03-23-nextcloud-on-ubuntu]] +- [[file:2021-03-19-clone-github-repos.org][2021-03-19-clone-github-repos]] +- [[file:2022-04-02-nginx-reverse-proxy.org][2022-04-02-nginx-reverse-proxy]] +- [[file:2023-10-17-self-hosting-anonymousoverflow.org][2023-10-17-self-hosting-anonymousoverflow]] +- [[file:2022-06-22-daily-poetry.org][2022-06-22-daily-poetry]] +- [[file:2018-11-28-cpp-compiler.org][The C++ Compiler]] +- [[file:2021-03-30-vps-web-server.org][2021-03-30-vps-web-server]] +- [[file:2021-01-01-seum.org][2021-01-01-seum]] +- [[file:2022-02-10-leaving-the-office.org][2022-02-10-leaving-the-office]] +- [[file:2020-09-01-visual-recognition.org][IBM Watson Visual Recognition]] +- [[file:2023-06-18-unifi-ip-blocklist.org][2023-06-18-unifi-ip-blocklist]] +- [[file:2022-10-20-syncthing.org][2022-10-20-syncthing]] +- [[file:2022-12-01-nginx-compression.org][2022-12-01-nginx-compression]] +- [[file:2022-03-03-financial-database.org][2022-03-03-financial-database]] +- [[file:2021-08-25-audit-sampling.org][2021-08-25-audit-sampling]] +- [[file:2022-06-07-freshrss.org][2022-06-07-freshrss]] +- [[file:2020-12-29-zork.org][Zork: Let's Explore a Classic]] \ No newline at end of file diff --git a/elisp/#publish.el# b/elisp/#publish.el# deleted file mode 100644 index 48c6f4f..0000000 --- a/elisp/#publish.el# +++ /dev/null @@ -1,38 +0,0 @@ -;; Publish org files to HTML - -;; Project publishing settings -(setq org-publish-project-alist - '(("cleberg.net" - :base-directory "~/Source/cleberg.net/" - :publishing-function org-html-publish-to-html - :publishing-directory "~/Source/cleberg.net/public/" - :auto-sitemap t - :recursive t - :section-numbers nil - :with-author nil - :html-validation-link nil - :with-tags t - :html-head-include-default-style nil - :html-head-include-scripts nil - :html-head "" - :html-preamble "") - - ("rss" - :base-directory "~/Source/cleberg.net/blog/" - :base-extension "org" - :html-link-home "https://cleberg.net/" - :html-link-use-abs-url t - :rss-extension "xml" - :publishing-directory "~/Source/cleberg.net/public/" - :publishing-function (org-rss-publish-to-rss) - :section-numbers nil - :exclude ("index.org")) - - ("static" - :base-directory "~/Source/cleberg.net/static/" - :base-extension "css\\|el" - :publishing-directory "~/Source/cleberg.net/public/static/" - :publishing-function org-publish-attachment) - ("website" :components ("cleberg.net" "rss" "static")))) - -(provide 'publish) -- cgit v1.2.3-70-g09d2