User login

How to set up RSS feeds on a Drupal site without Subscriptions module: using Views of course

Joeri Poesen of Symbiotix wrote Agaric, "You've got some great drupal content, but no feed" and "so chances are I'll forget about you, which would be a shame."

That's why it's important to have an RSS feed, which Drupal gives you out of the box. Most people won't be kind enough to write you an e-mail. The other lesson: always assume people are listening.

Being professional web developers, we wrote back "Agaric carve rocks! What Web 2.0?" Well, close: "Is there anything other than Subscriptions for doing that stuff?"

And Joeri, one day after complimenting our Drupal writing, explained the basics of using Drupal to make RSS feeds:

Regarding feeds:

I usually have two kinds of feeds:

- those that expose content that's categorized in a certain way. The taxonomy module automatically provides a feed for each term, like which is a feed for everything tagged with term 1

- those that I expose through "dedicated" views. Which is just a fancy way to say I create a bunch of views solely for their feed. Like most recent blog items in French or most popular uploaded videos or a feed for all my blog entries tagged "drupal" (which is aggregated on another site that lists only Drupal content), etc.

You could make a view for all your blog content, a view for all content tagged "technote", etc. This will allow you for example to only show your articles in teaser/full form while your "technotes" would be listed in a sidebar in the form of title-links-to-content, etc. Go crazy :)

If I recall correctly, you have to add an RSS feed "argument" to your view to make it an RSS feed. Will have to check on that.

And for taxonomy automatic RSS, Agaric thinks but hasn't verified yet that it does not honor the "promote to front page" setting.



Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.