Forgot?

How to include Section and Category name in the feed

Reply Topic
Link to this post 20 Jan 12

Hi. First off great component. Question. how do i configuire the feed so that the section name and the category name are included in the feed. Right now it just says "All"

Thanks.

Update - You just can't run the feed off front page. You need to run it of a section. If anyone knows how to pass both the section and the category off a Frontpage RSS feed please let me know.

Link to this post 20 Jan 12

Hi DavidW2,

Thanks for your kind words and welcome to Ninjaforge.

As far as I could figure out, including section and category names are not supported within Ninja RSS.

Regarding how to run the feed from the frontpage, this is possible and can be manage within the feed's settings.
If I understood you correct, make sure you have disabled any other syndicator module (Joomla's default) on the frontpage.

I hope this helps,

Kind regards,
John

Link to this post 20 Jan 12

Hi DavidW2,

I have inspected the code due to another request from a member.
I found out that the rendering of sections and categories are indeed supported.

Although I tested several things for now, I wasn't able to display the name of both the section and category.
At this time I think it depends on the type of feedreader you use.

I hope this helps.

Kind regards,
John

Link to this post 29 Jan 12

I don't know if this topic is for the same feature that I'm seeking but let it try.

I need to have xml <category> or <section> tag that holds the name of the Category or Section from which the article is derived.

In feedcreator.class.php on Line 1005 there is a code for category, but when this syntax is used the content of the xml tag is empty:
$feed.= " <category>".htmlspecialchars($this->items[$i]->category)."</category>\n";

How can be parsed such information?

Link to this post 05 Feb 12

Hi Stojan,

Apologies for the delay.

I have no solid clue why the categories and sections are not included in the feed.
As far as I know I think this depends on the feedreader you use, like I mentioned in my previous post.
It should be supported, though.

Also, this might to need some rework which is currently under our attention.

I hope this helps.

Kind regards,
John

Forums Joomla Extension Support Ninja RSS Syndicator How to include Section and Category name in the feed