- Posts: 63
COMMUNITY FORUM
Tags listed in RSS Feed under <category>
- burnyourears
- Topic Author
- Offline
- Senior Member
Less
More
5 years 4 months ago #170519
by burnyourears
Tags listed in RSS Feed under <category> was created by burnyourears
Hi,
I want to display my Artcle Tags in the RSS-Feed of my site. Unfortunately the system is embedding it it in a "k2FeedTags"-class within the the "description"-Tag, so it can not be recognized as a regular tag. Here an example, please feel free to check it live on www.burnyourears.de/feed >
<description><![CDATA[<div class="K2FeedTags"><ul><li>ARTICLETAG</li><ul></div>[/b]]]></description>
All I want to do is to get rid of the whole class-thing and have it like a stand-alone-category-tag:
<category>ARTICLETAG </category>
Has anybody an idea what to change in components/com_k2/models/item.php ?
All the best,
Chris
I want to display my Artcle Tags in the RSS-Feed of my site. Unfortunately the system is embedding it it in a "k2FeedTags"-class within the the "description"-Tag, so it can not be recognized as a regular tag. Here an example, please feel free to check it live on www.burnyourears.de/feed >
<description><![CDATA[<div class="K2FeedTags"><ul><li>ARTICLETAG</li><ul></div>[/b]]]></description>
All I want to do is to get rid of the whole class-thing and have it like a stand-alone-category-tag:
<category>ARTICLETAG </category>
Has anybody an idea what to change in components/com_k2/models/item.php ?
All the best,
Chris
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6211
5 years 4 months ago #170538
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Tags listed in RSS Feed under <category>
It's not possible without hacking K2 core files.
The reason I added a div with a specific class was to make it easy to parse that data, since tags are not part of the RSS or Atom spec. Did the same for other types of content as you can see in the rendered output.
The reason I added a div with a specific class was to make it easy to parse that data, since tags are not part of the RSS or Atom spec. Did the same for other types of content as you can see in the rendered output.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- burnyourears
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 63
5 years 4 months ago #170545
by burnyourears
Replied by burnyourears on topic Tags listed in RSS Feed under <category>
Thank you, I understand. The reason why I tried to do it is some RSS-services whicht take the <category>-Inputs to set some tags to the content. It's helpfull ... maybe you could think about adding a function like "set tags in category-tags" in future versions :-)
Thanks for your answer and the great k2 component,
Chris
Thanks for your answer and the great k2 component,
Chris
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6211
5 years 4 months ago #170546
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Tags listed in RSS Feed under <category>
Will do so :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.