Creating RSS Feeds in Drupal Using Views

tutuploadsmedia_1281956782171.png

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!

{loadposition drupalnewsletter}

Instructor

  • Robbie started her career in corporate training until starting her own custom training and media company almost seventeen years ago. In 2010, she began doing classroom training for OSTraining while running Media A-Team. She is often presenting about various tech topics such as Joomla, Fabrik, Web Development, Social Media, and Augmented Reality. She loves seeing that "ah-ha" moment in peoples eyes in her sessions and workshops. She lives in Houston, Texas, but enjoys all the travel for client work and speaking gigs.

0 0 votes
Blog Rating
Subscribe
Notify of
10 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
ocaionline

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

Nick

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 [url=http://www.ostraining.com]www.ostraining.com[/url] and click on Support Forum in the main menu. Here’s the direct link too: [url=http://www.ostraining.com/support-forum]www.ostraining.com/support-…[/url]

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:

[url=http://www.ostraining.com/support-faq/]http://www.ostraining.com/s…[/url]

Thanks for understanding!

Kind regards,

Nick

Nam Nguyen

Hi Steve

i have a issue with feeds module.can you show me how to get full text from rss [url=http://link.so]link.so[/url] we can read contents on our website without link to other.thanks

Nick

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 [url=http://www.ostraining.com]www.ostraining.com[/url] and click on Support Forum in the main menu.

Please see the support FAQ for more information:

[url=http://www.ostraining.com/support-faq/]http://www.ostraining.com/s…[/url]

Kind regards,

Nick

Claire

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

Nick

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 [url=http://OSTraining.com]OSTraining.com[/url], please log into the support forum ([url=http://www.ostraining.com/support-forum/)]http://www.ostraining.com/s…[/url] 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 [url=http://www.ostraining.com/online]www.ostraining.com/online[/url]

Kind regards,

Nick

Mohsin

Hi,

I created a feed view just as described above. But the problem is, when I try to access its feed url, instead of showing the xml feed in browser, it says to download an xml file.

Why is this so? How can I fix it?

vivek

nice post!

Média reseauforum.org

Thank you !

Devaraju

hello,

Any one help me to auto upload rss feed files via ftp

10
0
Would love your thoughts, please comment.x
()
x