Create a RSS Feed from a Drupal View

Create a RSS Feed from a Drupal View

I would never want there to be a day when I didn't learn something new. I thrive off new ideas. New blog posts. New directions. And right now, it's everything new in Drupal. (I should clarify something here: New to me, may not be new to you.) On Monday evening, the team was here late finishing out our second Sprint Planning Meeting. Around 8pm, our Developer, Dustin Currie, mentioned that one of our recent projects was not setup for users to subscribe to the blog and articles RSS feed. We were two days from launching this project, and I was perplexed that this was being brought up right then, because everyone at LevelTen understands the importance of an RSS feed. And we were about to launch a site that didn't have it setup! I said, "Show me. Show me how to set it up so that it doesn't get overlooked the next time!" Like I said, I love learning new things. Perhaps you do, too, and will have use for this on your current/past/or future projects. I am going to begin assuming you already have a view setup on your site for a blog/article/news/podcast/etc.
  • Begin by Editing the view.
  • Add a new display using the drop down box and select Feed. Your default settings will carry over to the Feed view, and that is fine. There are only a few settings you are going to change and one you will Override from the other settings.
  • Under Basic Settings: Click the settings box for Title. Make sure you click Override before giving the Feed a Title. This will ensure you do not override your other displays. Give the feed a title and click Update. This will show up in the user's Reader. If you leave this blank, the feed will read: (title unkown)
  • Below Style: Change Row Style to Node. The setting in Row Style is how you want the feed to display in the Reader (i.e. Full Text, Title + Teaser, or Title Only). Click Update.
  • Next: Define your path under Feed Settings. Give it something like "...blog/feed". Attach the feed to the Page in order to see the orange feeder icon.
  • Save the View.
  • Finally, go back to the front end view and you will see the Feed icon for that page.
rss icon The RSS Feed can be added to any view, which is really cool because now users will have the option to subscribe to multiple areas of your site! Please email me or comment if you have any RSS Drupal tips, or something else to add to this post. P.S. To LevelTen's Developer, Dustin: Thank you for everything you have taught me in Drupal... oh, and for your patience when I ask you to teach me everything in Drupal :)

Related Posts

How to display an RSS feed in a Drupal block

Kristin Brinner
Read more

How to Programmatically Create a Quicktab Block in Drupal

Dustin Currie
Read more

Using Drupal 7 Entity Reference to help Create User Dashboards

Brent Bice
Read more

Improving Menu Views in Drupal 7 to Create Mega Menus More Efficiently

Mark Carver
Read more

Drupal Tutorial: Use Views to Create an Alphabetical List of Taxonomy Terms

Kristin Brinner
Read more

A Project Manager's View on Release Cycle Deployment

Kristin Yang
Read more