diff options
author | Jacob Janzen <jjanzenn@proton.me> | 2024-04-14 20:32:46 -0500 |
---|---|---|
committer | Jacob Janzen <jjanzenn@proton.me> | 2024-04-14 20:32:46 -0500 |
commit | 95e7517e5453cb5276f0ad3a74ee4be941da2fde (patch) | |
tree | 0a4a1fb7c25dfccdf1d4e2a8c50f8dbb8a841c61 /publish.el | |
parent | 3157d7d585c126e356fbb108e32b8ef38ea39d3a (diff) |
:shrug:
Diffstat (limited to 'publish.el')
-rw-r--r-- | publish.el | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -15,7 +15,6 @@ (require 'org) (require 'ox-html) -(require 'ox-rss) (defun my/org-publish-org-sitemap-format (entry style project) (cond ((not (directory-name-p entry)) @@ -52,6 +51,12 @@ project." link pubdate))) +(defun publish-posts-rss-feed (plist filename dir) + "Publish PLIST to RSS when FILENAME is rss.org. +DIR is the location of the output." + (if (equal "rss.org" (file-name-nondirectory filename)) + (org-rss-publish-to-rss plist filename dir))) + (setq org-publish-project-alist '( ("org-notes" |