Posted by modul on June 17, 2009 at 7:05am
I know how to make taxonomy/term/XXX/feed RSS feeds. It works like a charm. But how do I make a feed for (say) the 10 newest nodes on my site, irrespective of the taxonomy term they have? I may have overlooked the obvious, but I can't figure it out. Is there a simple way of doing this?
I'm using Drupal 5.
Comments
That can be done using views
That can be done using views module.
http://drupal.org/project/views
Once you create the view, set the number of nodes to display to 10. The create a RSS display.
Views is a very powerful module, so it is highly recommended that drupal users get used to it.
Cheers
Bibek Shrestha
http://bibekshrestha.com.np
Bibek Shrestha
http://www.bibekshrestha.com.np
Thanks for your reply,
Thanks for your reply, Bibstha. I know the power of Views. And as I said, I have successfully set up a bunch of Views based RSS feeds. But these feeds require a taxonomy term (the url is: mysite.whatever/?q=taxonomy/term/XXX/feed). My currernt question was: how do I get an RSS feed of only the 10 NEWEST nodes, no matter what term they belong to (if at all). It's a very simple query, but how do I squeeze the result into an RSS feed?
Never mind, figured it out. I
Never mind, figured it out. I simply overlooked something in the (huge) Views interface :-)
Share with us what you
Share with us what you overlooked please so we can all learn form your experience.
My "experience" was that I
My "experience" was that I had checked the View to be accessible only to a certain type of user, and furthermore that I had not marked it as a "RSS type". The remaining question is: what had I eaten that day? :-)
To get the latest items, make a View, define it as "RSS", select the fields to be included, select only the newest by sorting on "Time of creation: descending", and there you go. Point your browser or rss reader to "http://www.yoursite.etc./?q=name_of_your_view", and there you are.