RSS

How can I get each of my multiple blogs to create its own RSS feed?

Scenario:
" I have been trying to setup more than one blog. However, whenever I setup another blog, that blog will use the same RSS feed of my main blog. I would like it to create its own RSS feed. How can this be done?"

Solution:
If a second blog has the blogid 2, you can reach its RSS feed at

http://yoursite.com/xml-rss2.php?blogid=2 

The easiest way to do this is to modify your skin and put this code in the section:

<a href="http://yourdomain.com/xml-rss2.php?blogid=<%blogsetting(id)%>">RSS2.0</a>

Alternatively, if you want a separate page for each blog you should duplicate xml-rss2.php file (located in your root Nucleus installation directory) and use "selectBlog()" function for "hardcoding" blog selection (?blogid=# will be ignored if you use this):

$CONF = array();
$CONF['Self'] = 'http://domain.tld/path/to/the/second/blog';

include('./config.php');
selectBlog('name-of-the-second-blog');

Original forum thread (thanks, roel and pete!):
http://forum.nucleuscms.org/viewtopic.php?t=9139

section: RSS | submitted by Leng on 2005.Oct.22 | 4132 views

item rate
Total votes: 13 - Rating: 8.62

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10