TipSnippet: Create a RSS feed

1 · Ariejan de Vroom · April 3, 2007, midnight
RSS is hot! So, you want to fit your new Rails app with one too! That’s easy, of course, but you just need to know what to do. This snippet will show you how to create an RSS feed form your RESTful articles. I’ll assume you know how to generate a resource named ‘article’ with a title, body and the default created_at and updated_at attributes. You’ll first need to add a new collection to your resource in config/routes....