Amy Pillow <[email protected]> writes:

> I recently set up my personal site to generate an atom feed: 
> https://codeberg.org/strawburster/blog
>
> And I tried to implement it in a way that would be easy to merge into org 
> mode.
>
> Is this interesting? I know there is already ox-rss, and a sitemap project 
> feature, but both of these didn't work out of the box for me. I wanted a way 
> to turn an org-publish-project into a rss feed, rather than just a single org 
> file, and I also haven't taken time to read the rss spec embarrassingly, I 
> just jumped straight to doing it in atom. For the sitemap publish project 
> option, it does not appear able to create an xml file on its own.

Sorry for the late reply.
Yes, this looks interesting.

> ;; This library implements an XML backend for Org sitemap generation.
> ;; ...
> ;; For either sitemaps or atom feeds, the `:sitemap-style' must be set
> ;; to `list', `:auto-sitemap' must be set to `t', and the
> ;; `:publishing-function' must be set to
> ;; `org-xml-publish-only-sitemap', or a list including that function.
> ;;
> ;; In addition, the `:sitemap-function' and `:sitemap-format-entry'
> ;; options must be set to either `org-xml-publish-sitemap' and
> ;; `org-xml-publish-sitemap-entry' or `org-xml-publish-sitemap-atom'
> ;; and `org-xml-publish-sitemap-atom-entry' respectively, whether you
> ;; want a sitemap or an atom feed.

It looks like using the proposed library won't allow publishing a
traditional sitemap. I think it would make a lot more sense to modify
ox-publish itself to allow RSS/Atom generation and an additional feature
that does not replace normal sitemap. WDYT?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to