Keyword

Tags listed in RSS Feed under <category>

  • burnyourears
  • burnyourears's Avatar Topic Author
  • Offline
  • Senior Member
More
1 week 2 days ago #170519 by burnyourears
burnyourears created the topic: Tags listed in RSS Feed under <category>
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

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 16 hours ago #170538 by Fotis
Fotis replied the 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.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • burnyourears
  • burnyourears's Avatar Topic Author
  • Offline
  • Senior Member
More
1 week 14 hours ago #170545 by burnyourears
burnyourears replied the 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

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 12 hours ago #170546 by Fotis
Fotis replied the topic: Tags listed in RSS Feed under <category>
Will do so :)


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

Moderators: william white