
By Cheeky on
I want to have a feed that has all the posts on my site, not just the blogs.
For example all the blog entries, movie reviews, articles and stories that I post.
Is this possible?
I want to have a feed that has all the posts on my site, not just the blogs.
For example all the blog entries, movie reviews, articles and stories that I post.
Is this possible?
Comments
You can configure to have
You can configure to have every post promoted to the front page. Then all your content is in the feed at http://example.com/node/feed.
--
Bjorn | choirgeek.com
Hack
If you do not want all your posts beeing promoted to the front back and you do not want a feed for all the blog posts (this is the all post feed may replace your current feed), then you may change the node.module.
Find the function node_feed in file node.module and look for the following SQL statement:
Change it to
Now the default feed will contain each and every entry. Attention! It will also include pages!
------------------
Gerd Riesselmann
www.gerd-riesselmann.net
From a php page
Using the hack that Gerd told me about over at http://drupal.org/node/36819, this is possible using a node of type "page" with the PHP content type:
Your full feed would then be available as that page, ie., /node/$nid.
Be very careful with this, though, as you'll have created a Drupal page which does not have all of the normal headers, blocks, etc. on it. You'll have to edit the node by appending "/edit" onto the end, or by going through the administration menus.
Ugly, but works.
Thanks, that worked a
Thanks, that worked a treat.
I don't create any static pages these days so it doesn't matter. And I could probably hack the SQL further to exclude some types of node.
All Things Cheeky