Keyword

Modify RSS Output?

More
14 years 3 weeks ago #84107 by stavroch
Replied by stavroch on topic Modify RSS Output?
Can I add other extra fields except the video on the RSS feed page?

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

More
14 years 2 weeks ago #84108 by dr_zero
Replied by dr_zero on topic Modify RSS Output?
I have K2 v2.3 and Artio JoomSEF v3.7.4 Free. Everything is fine except RSS. URLs in RSS are not rewritten and remain like "index.php?blablabla". How to apply SEF plugin to RSS feed output?

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

More
13 years 1 month ago #84109 by ruigato
Replied by ruigato on topic Modify RSS Output?
I would like to add a read more link or a text link to source directly in the item description because of contect scrappers.

Output like this:

 

&lt;item&gt;&lt;title&gt;&lt;/title&gt;&lt;link&gt;http://www....&lt;/link&gt;&lt;description&gt;Description text and image AND (Title/Readmore+Link)</description></item>Maybe i can add it in components/com_k2/models/item.phpfunction prepareFeedItem(&$item){Add this code://Read more link$item->link=urldecode(JRoute::_(K2HelperRoute::getItemRoute($item->id.':'.$item->alias,$item->catid.':'.urlencode($item->category->alias))));Inside the discription//Description$item->description = '';
 

Can someone help?

 

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


Powered by Kunena Forum