Drupal

Creating RSS Feeds in Drupal Using Views

August 16, 2010 | Written by Steve Burge

This tutorial will show you how to create a custom RSS feed in Drupal. To do this you'll need to have the Views module uploaded and installed.

Add a New View

tutuploadsmedia_1281956782171.png

Click Administer > Site building > Views > Add

tutuploadsmedia_1281957015067.png

Enter a name for your new RSS feed, choose "Node" and then click "Next"

Create an RSS Feed View

tutuploadsmedia_1281957075011.png

On the left-hand side, choose "Feed" from the dropdown and click "Add display".

Choose the Types of Node Shown in Your RSS Feed

tutuploadsmedia_1281957133613.png

On the right-hand side, click the + icon next to "Filters". Choose "Node" from the dropdown menu and then check the box called "Node: Type". Click "Add".

tutuploadsmedia_1281957160984.png

Choose the node types that you want to include in your RSS feed and then click "Update default display".

Choose the Parts of the Node Shown in Your RSS Feed

tutuploadsmedia_1281957263244.png

On the middle of the Views screen, click the + icon next to "Fields". Choose "Node" from the dropdown menu and then check the box called "Node: Title". Click "Add".

tutuploadsmedia_1281957285620.png

You can change some of the setting for the RSS feed display here, but the first time you do this its best to click "Update" and move on.

Set the Path of Your RSS Feed

tutuploadsmedia_1281957368581.png

At the bottom left of the Views screen, click the "None" text next to "Path". Enter a path (URL) for your RSS feed and click "Update".

Set the Style of Your RSS Feed

tutuploadsmedia_1281957410785.png

At the top left of the Views screen, click "Missing style plugins" next to "Row style". Click "Update".

View Your Completed RSS Feed

tutuploadsmedia_1281957527699.png

Click "View "Feed"" in the top-right corner of the Views screen.

tutuploadsmedia_1281957550013.png

Your RSS feed should be ready!


 

Comments 

 
# Marcel 2010-09-14 05:00
Thanks for the info.
When following the procedure and arriving at "Choose the Parts of the Node Shown in Your RSS Feed" I was not able to select the + in the the feed view: The style selected does not utilize fields. This also shows in the picture at 'Choose the Types of Node Shown in Your RSS Feed'
I was able after selecting the Default view (I was at the Feed view) and changing to this it worked
Reply | Reply with quote | Quote
 
 
# iowawebco 2011-12-09 00:16
Hi Marcel,

Sorry for the delay in responding. Our apologies for the inconvenience, but if you're a student at OSTraining, could you copy and paste this into the support forum so one of our support techs can look into it for you? All you have to do is log in at www.ostraining.com and click on Support Forum in the main menu. Here's the direct link too: www.ostraining.com/support-forum

It's tough keeping track of all the blog comments as we have hundreds of blog posts so that's why we have a support forum available to our students to help organize things both for the students and ourselves.

Please see the support FAQ for more information:
http://www.ostraining.com/support-faq/

Thanks for understanding!

Kind regards,
Nick
Reply | Reply with quote | Quote
 
 
# Nam Nguyen 2011-12-08 23:21
Hi Steve
i have a issue with feeds module.can you show me how to get full text from rss link.so we can read contents on our website without link to other.thanks
Reply | Reply with quote | Quote
 
 
# iowawebco 2011-12-09 00:16
Hi and welcome, Nam!

Sorry for the inconvenience, if you're a student at OSTraining, could you copy and paste this into the support forum so one of our support techs can look into it for you? We answer all support request on the support forum within a business day (usually well within). All you have to do is log in at www.ostraining.com and click on Support Forum in the main menu.

Please see the support FAQ for more information:
http://www.ostraining.com/support-faq/

Kind regards,
Nick
Reply | Reply with quote | Quote
 
 
# Claire 2012-01-11 21:05
Thanks for the very helpful tutorial.
What if I want to have some certain fields to be displayed in the rss. And the way the xml feed form. Say for the title I will change it to content_title.

Regards,
Claire
Reply | Reply with quote | Quote
 
 
# iowawebco 2012-01-11 21:11
Hi and welcome, Claire!

You're welcome for the tutorial and glad to hear it was helpful!

That's a good question. We would love to get into a discussion with you on this. If you are a student at OSTraining.com, please log into the support forum (http://www.ostraining.com/support-forum/) and post the question in there, so that one of our support techs can look into it for you. If you’re not a student, I hope you’ll consider becoming one, so that we can give you the attention you deserve. You can find out more about our online class at www.ostraining.com/online

Kind regards,
Nick
Reply | Reply with quote | Quote
 

Add comment