Hey Ben,
Nanoc’s built-in feed support uses Atom, and unfortunately podcasts
have to use RSS 2.0 (
source) — which means that Nanoc’s feed support is not directly usable.
There are two approaches that you can take, though both will require writing a non-trivial amount of Ruby code:
- Copy-paste the AtomFeedBuilder code into your site’s lib/ directory and adjust it to be a PodcastFeedBuilder, based on RSS 2.0 rather than Atom.
- Use Ruby’s rss gem to generate a podcast feed. This gem has some podcast support (“itunes” namespace), which makes it attractive. Unfortunately, the gem is not documented at all.
I’m not sure which approach is the best, but I’d personally try the rss gem first, and use the source code for Nanoc’s AtomFeedBuilder as inspiration.
No out-of-the-box solution here I’m afraid, but I hope this helps!
Best,
Denis Defreyne
[dəˈni] • pronouns: he/him