Greetings,

I've been working on a small package that makes it easier to setup RSS
feeds for org-publish projects.  My package, org-publish-rss.el is a
small RSS generator that uses your `org-publish-project-alist' settings
to generate the feed.  This removes the need to create an Org sitemap
then export that to RSS using ox-rss.

Package URL: https://git.sr.ht/~taingram/org-publish-rss

An example project would look like this:

  (setq org-publish-project-alist
        '(("blog"
           :base-directory "~/Documents/org/website/"
           :base-extension "org"
           :publishing-directory "~/public_html/"
           :publishing-function  org-html-publish-to-html

           :html-link-home "https://example.com";

           :auto-rss t
           :rss-title "Example Posts"
           :rss-description "My example website."
           :rss-with-content all

           :completion-function org-publish-rss
          ("static"
           :base-directory "~/Documents/org/website/"
           :base-extension "css\\|jpg\\|png\||gif"
           :include ("rss.xml")
           :publishing-directory "~/public_html/"
           :publishing-function org-publish-attachment)
          ("example.com" :components ("blog" "static"))))

There's a cache/hashmap error I keep getting with the
org-publish-find-title/date functions, but it goes away if you run it
immediate after publishing.  I'm still an elisp novice, but it has been
working well enough I can use the package for my own website.

Please let me know if you have any thoughts or suggestions, thanks!

--
Thomas Ingram
https://taingram.org/

Reply via email to