From 95e7517e5453cb5276f0ad3a74ee4be941da2fde Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Sun, 14 Apr 2024 20:32:46 -0500 Subject: :shrug: --- publish.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'publish.el') diff --git a/publish.el b/publish.el index c425e25..3f9d563 100644 --- a/publish.el +++ b/publish.el @@ -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" -- cgit v1.2.3