By default, Drupal only provides RSS feed for all the items on your front page. What should you do if you want to create RSS only for one specific taxonomy term? Well, did you now that you can create custom RSS feed using Views module?
Before we move on, please download Views module first and the activate it (I’m sure you know how to do this, right?). Ok here’s how to do it.
- The first step we need to do is go to Administer -> Site building -> Views.
- You’ll see couple of tabs on the top of the Views page, click on the “Add” tab.
- Type a name for the Views (no space and only alphanumeric and under score “_” are allowed).
- The “Access” section is to identify which roles will be able to see this view. Just leave it unchecked.
- Type a short a Description for this view.

- Now we go on the most important part, the “Page” section. Click on the “Page”, it will then opened and scrolled. Give a check mark on “Provide Page View”.
- On the URL, type “feed/DrupalCMS” (without quotes).
- On the View Type, select “View RSS: RSS feed”.
- Type a “Title” for it, e.g “Newest Articles on Drupal CMS”.
- Uncheck “Use Pager” and “Breadcrumb trail should not include Home” option.
- We go on to “Nodes per Page”, this option will determine how many article will be shown on the RSS feed, just type 10.

- After finishing all the setting on the “Page” section, we’ll go on to the “Field” section. This section will determine what field will be shown on the RSS Feed. For this tutorial, just add “Node: Title” and “Node: Body” to the list.

- On the “Filters” section choose “Taxonomy: Term”, click on one of your taxomony term from the list, on this tutorial I have “Drupal” term in “Topics” vocabulary.

- Go on to the “Sort Criteria” section, and add “Node: Created Time” to the list, and don’t forget to change the “Order” from Ascending to Descending.

- Click the “Save” button, and that’s it..you’re done.
If you followed the steps correctly, you can now se your new RSS feed from
http://www.yourdomain.com/feed/DrupalCMS
Good luck
.
Popularity: 28% [?]





Comment(s) For This Post
There are 8 comment(s)
Apr 27, 2008 - 3:43 pm
Thanks a lot for this, atleast i got to see RSS link
Do you know of any good tutorials on how to publish rss feeds using drupal?
Dec 18, 2008 - 11:19 pm
Thank you, that was very clear and helpful
Mar 22, 2009 - 2:59 pm
Thanks for this tutorial, for some odd reason I’d never thought to do custom feeds using views. On our site, I’d been looking for a way to do both teaser-style AND full feed rss feeds, without much luck, until I ran into your site. Thanks!
Feb 24, 2010 - 9:32 pm
Thank you for support to learn feed via view.
Mar 9, 2010 - 11:57 pm
Really useful post. But there’s one final step missing, which is how to add that little “RSS feed” icon to go into your browser’s address bar (or wherever your browser puts it).
There are probably many ways of doing this: here’s how I managed it. I created a block with some PHP code to add the RSS feed link into the HTML header. Remember to set the block to permit PHP code, and set the block to display only on the pages which you want to connect to this feed – which means the URL of your main view. I displayed my block in the header zone of my page – I don’t think it matters much. Here’s the code (substitute your preferred title and the full URL of the feed view that you just created using the contents of this post).
"alternate",'type'=>"application/rss+xml",'title'=>"My RSS feed about something or other",'href'=>"http://www.mywebsite.com/feed/drupalCMS"));
?>
Hope this helps someone!
Mar 9, 2010 - 11:59 pm
Not sure what happened to the code in the above post. The beginning got chopped off. Here’s another go, leaving out the PHP tags that surrounded it:
drupal_add_link(array('rel'=>"alternate",'type'=>"application/rss+xml",'title'=>"My RSS feed about something or other",'href'=>"http://www.mywebsite.com/feed/drupalCMS"));
Mar 16, 2010 - 9:31 pm
Excellent. A very well presented, useful tutorial.
Thanks.
Jul 10, 2010 - 4:24 pm
Thank dear nice page have more information about drupl..