Generate both RSS and Atom Feeds

Hi,

I’m moving my blog and a few other things to Zola. So far I’ve been really impressed (especially with the documentation), thank you to everybody who’s worked on it.

My old blog (on blogger) had both RSS and Atom feeds, and I’d like to duplicate this with Zola. I understand that Atom is better than RSS in many ways, however it’s still provided by a lot of blogs so I’d like to provide an RSS feed as well (See the survey of some blogs I follow below). While a survey of what popular feed readers support would probably be more insightful, it’s also much harder to do :sweat_smile:

I took a look at what would be involved to get Zola to support generating feeds from multiple templates, and I have local code changes that provide this functionality with minimal additions to the code base (4 files, with about 15 changes). If there’s interest to have this feature upstream in Zola I can throw up a pull request. :slightly_smiling_face:

Survey of blogs I follow, and which syndication formats they advertise in their html <head>:

Blog RSS Atom
ascii.textfiles.com/
www.cpushack.com/
www.os2museum.com/wp/
www.righto.com/
www.windytan.com/
blog.rust-lang.org/
blogs.coreboot.org
devblogs.microsoft.com/oldnewthing/
embedded.fm/blog/
freedos-project.blogspot.com/
mightyohm.com/blog/
randomascii.wordpress.com/
schollz.com/blog/
travisdowns.github.io/
www.bigmessowires.com/
www.bunniestudios.com/blog/
www.pagetable.com/
www.pcjs.org/
xkcd.com/
zeptobars.com/en/

(dots replaced with fullwidth dots to avoid the spam filter :disappointed:)

Cheers!

– jbit

1 Like

I put my changes up on a fork: https://github.com/getzola/zola/compare/next..jbit:multiple_feeds

1 Like

@jbit is this being raised in a PR?

I don’t think this feature makes sense in general and is unlikely to be acccepted as a PR. Any tool that can read RSS should be able to read Atom and vice versa.