Keyword

K2 RSS Feed: How to show category in title?

  • burnyourears
  • burnyourears's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 6 months ago #126538 by burnyourears
K2 RSS Feed: How to show category in title? was created by burnyourears
Hi,

does anyone know if it's possible to show the category or the sitename in the title of a RSS posting?

For example, here's the status quo:

RSS title now: "Metallica post news video"

I want to have it like that: "Metallica post new video | News"

Thank you for any help!

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

More
10 years 6 months ago #126539 by Lefteris
Hi. No, the title of the item is being displayed as it is.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • burnyourears
  • burnyourears's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 6 months ago #126540 by burnyourears
Replied by burnyourears on topic Re: K2 RSS Feed: How to show category in title?
Thanks for answering - and there is no way to edit the generator-script or something?

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

More
10 years 6 months ago #126541 by Lefteris
Of course if you are familiar with PHP you can edit files. But this is not a good practice since you will lose your modifications in future updates. If you insist doing this you can hack the file /components/com_k2/views/itemlist/view.feed.php.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 6 months ago #126542 by Lefteris
And just to clarify, you can override any part of Joomla! using a system plugin if you are familiar with the Joomla! API docs.joomla.org/How_to_override_the_component_mvc_from_the_Joomla!_core.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • burnyourears
  • burnyourears's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 6 months ago #126543 by burnyourears
Replied by burnyourears on topic Re: K2 RSS Feed: How to show category in title?
Ok thanks - I'm not a programmer so it would be a little bit too hard for me to biuld a plugin :-)
But I will have a look at the mentioned file. Thanks very much!

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

More
10 years 6 months ago #126544 by Lefteris
I understand that you are not a programmer but i sent you this because it's the recommended way. If you edit directly the K2 file you will lose your changes in future updates as i told you. But it's all up to you.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum