Creating a RSS/Atom link in blog layout

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
User avatar
jonflgiles
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Mar 24, 2006 4:58 pm
Location: Derby, UK

Creating a RSS/Atom link in blog layout

Post by jonflgiles » Mon Nov 05, 2007 5:50 pm

I would like to be able to modify a template overide to include a "link" to the relevant rss or atom feed for that page. In Section or Category blog view J! is already creating a feed link for both formats but I would like to implement a "feed" icon as part of the blog layout so that users who aren't aware of feeds can subscribe to it.

I am essentially looking to use the function which renders the link in the array that is used in the head renderer class. I have been looking around API and trying to decipher the com_content component but can't find where this is set?

i essentially need to be able to do an echo somewhere in the template overide and i'll be happy

Any help appreciated!

Jon.
Last edited by jonflgiles on Tue Nov 06, 2007 8:32 am, edited 1 time in total.

User avatar
jonflgiles
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Mar 24, 2006 4:58 pm
Location: Derby, UK

Re: Creating a RSS/Atom link in blog layout

Post by jonflgiles » Tue Nov 06, 2007 8:31 am

OK, I've been a complete and utter idiot - I needed to do what the syndicate module does... whoops. I'll be off to go and see how that works then....

Jon.


Post Reply