Middleman Blog: RSS Feeds Per-Tag

I’m hoping to set up an RSS feed for each one of my tags. This seems like something someone here must have done already but my Google-fu is failing me. Anyone have existing code they can share? Or, a suggested strategy? Thanks in advance!

Have a look on my blog sources:

Blog: http://blog.riemann.cc

It’s in the config.rb:

ready do
  blog.tags.each do |tag, articles|
    page "/tags/#{tag}/atom.xml", proxy: "/atom.xml", layout: false do
      @tagname = tag
      @articles = articles[0..10]
    end
  end
end
4 Likes

Ah, perfect. Thank you, @rriemann! I’ll give this a shot.