Page 1 of 1
RSS URL from News->makerssbutton does not include category parameter
Posted: Mon Dec 31, 2007 8:31 pm
by Kevin C
I'm not sure if this is a bug or just something I don't know how to fix.
I'm using news for 2 purposes - as a blog and also for regular news. I'd like to make an RSS feed for the blog news items, but not the regular news items. So I've got them in different categories.
Displaying the different categories is fine, but when I make an RSS button for only the blog category, the feed URL that is generated does not include the category parameter, so the feed includes all news items. But, the auto-discovery link in the page header does include the categories.
The correct, auto-discovery link is created in news.module.php, while the makerssbutton link is created in action.default.php. But the links are created in different ways. Is there an easy way to fix this?
Re: RSS URL from News->makerssbutton does not include category parameter
Posted: Wed Jan 02, 2008 6:11 pm
by Pierre M.
Hello Kevin,
I haven't tried to do this so I don't know much.
What CMSms version are you using ?
Which News module version are you using ?
Pierre M.
Re: RSS URL from News->makerssbutton does not include category parameter
Posted: Wed Jan 02, 2008 8:00 pm
by Kevin C
Pierre -
I'm using CMSMS 1.2.2 and News 2.6.1.
To recreate it, you can create 2 news categories and a couple news items. Then put the {news category="cat1"} on one page and {news category="cat2"} on another page, and another {news} tag on each page with the makerssbutton="true" parameter. On each page the autodiscovery rss link in the header is correct, but the link from the makerssbutton item is incorrect.
Re: RSS URL from News->makerssbutton does not include category parameter
Posted: Wed Jan 02, 2008 8:11 pm
by Pierre M.
Hello again Kevin,
thank you for using latest official up to date versions.
What about parameter mixing ? Have you tried this :
{news makerssbutton="true" category="cat1"} on one page and
{news makerssbutton="true" category="cat2"} on another page ?
Pierre M.
Re: RSS URL from News->makerssbutton does not include category parameter
Posted: Wed Jan 02, 2008 9:29 pm
by Kevin C
Sorry - I should have included everything in my original reply. Here's more details:
my 2 news categories are devblog and news. On my blog page I have:
{news makerssbutton='true' category='devblog*' } and
{news category='devblog*' moretext='More...' detailpage='developer-blog-article'}
on my news page I have:
{news category='news*' moretext='Read more...' detailpage='articles' detailtemplate="newsdtl" summarytemplate="newssum"}
when I look at the generated source html on the blog page I see this link in the header:
and in the news page header I get this link in the header:
but the link on the blog page from the {news makerssbutton...} call is:
In looking at News\action.default.php, it looks like the category isn't taken into account when the makerssbutton parameter is evaluated (around line 34) - but I'm just guessing.
Re: RSS URL from News->makerssbutton does not include category parameter
Posted: Thu Jan 03, 2008 3:41 pm
by Pierre M.
I'm getting short of ideas...
1)Have you tried the "no more than 1 category on 1 page" principle ? Humm rereading myself I think yes, but please confirm.
2)What are those "*" characters in your category names ?
Pierre M.
Re: RSS URL from News->makerssbutton does not include category parameter
Posted: Thu Jan 03, 2008 5:43 pm
by Dr.CSS
@Pierre M.
The * is for showing child of called category also...
Read the News Help lately...

Re: RSS URL from News->makerssbutton does not include category parameter
Posted: Thu Feb 07, 2008 5:07 pm
by pgoneill
I've run into the same issue trying to create two separate RSS feeds. I guess it's not possible. Once you put makerssbutton="true" (though I prefer not to use this method because I don't like the image and don't want to change the XML buttons on the admin side) all other parameters are ignored.