About Drupal's main RSS feed

by Benjamin Melançon
Posted on Mon, 2008-03-17 07:38

Key words and phrases

really simple syndication feeds rather symple sindication refreshingly standard sharing

Tags

Description

This post is about the main site feed, found on any Drupal site by adding /rss.xml to the site's main web address. (Drupal can also create all kinds of feeds for taxonomy terms and views.)

Decide what goes to the main site feed by checking off which posts are "Promoted to front page". Different types of content can be set to "Promoted to front page" by default by editing their content type at admin/content/types and changing their default publishing options. This is the most flexible way to set it up and ensures also that people who go directly to the site and grab the RSS feed are getting what you want them to get.

All of this works just the same even if you have a static front page, set to a given piece of content or even a panel with embedded views, rather than the /node front page.

Good info on drupal RSS

Thanks for this. It seems logical, but I have never tested nor thought about Drupal's main RSS feed when you set a page as home/front.

Thanks,
Shrop

Posted by mdshrops (not verified) on Mon, 2008-03-17 14:34
What if we'd like everything posted to end up in feed?

What if we for various reasons don't promote everything to the front page, but would like everything that is of a certain type to be put in the main feed? Say we want all blogs / stories in the feed but not forum posts? Could we not default the stories & blogs to by default go in the main feed promotion or nor?

Neat looking captcha by the way. :)

Posted by Visitor (not verified) on Wed, 2008-06-04 02:59
Two approaches

If you want a separate feed that people can subscribe to you should use Views or perhaps the Subscriptions module.

If you want every single post to go to the main page, set every content type to "Promote to front page" by default under the content type settings ( admin/content/types/story ../page ../blog etc. ), but then take over your front page with Views and/or Panels (instead of using /node, which is populated with content controlled by the "promote to front page" setting of each post.

And yes, ASCII art captcha is the best!

Posted by Benjamin Melançon on Wed, 2008-06-04 09:08
Thanks

Hi,

I was looking some clues on how to change the default feeds on Drupal, and I found your post.

It's not what I was looking for, but I thought I should subscribe to your blog and I run into the same problem that I have. :)

So, when adding a subscription in Google Reader by typing just the URL (http://mydrupalblog.lhmdesign.com/) Google offers me to subscribe to the comments feed instead of the posts feed. My guess is it that feeds are simply sorted alphabetically.

Of course, the easiest way would be to give the correct feed to Google, but still some users might not be able to figure out what's going on, so it would be nice to have some solution for this.

Any idea how to change this?

Posted by age of conan gold (not verified) on Tue, 2008-09-30 07:55
Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.