Modifying RSS Modules using Accessible Joomla

Locked
User avatar
jonhurlock
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Sun Sep 11, 2005 1:34 am
Contact:

Modifying RSS Modules using Accessible Joomla

Post by jonhurlock » Tue Oct 10, 2006 10:29 am

Ive recently implemented RSS Feeds into Modules, on top of my Accessible Joomla. You can see this on the following link.

http://society.swan.ac.uk/~xtreme/conte ... &Itemid=31

I was wondering if anyone knew where i can find the code to convert the title of the Feed in the Module e.g. MTV UK - News & NME.com

to either a or another tag rather than a tag, so i can then  make the Feeds Title similar to a Title of a Module. Any help would be appreciated.

Jon
Last edited by jonhurlock on Mon Oct 30, 2006 11:28 am, edited 1 time in total.

User avatar
absalom
Joomla! Ace
Joomla! Ace
Posts: 1199
Joined: Thu Aug 18, 2005 12:37 am
Location: Melbourne, Australia
Contact:

Re: Modifying RSS Modules using Accessible Joomla

Post by absalom » Tue Oct 10, 2006 12:15 pm

You need to mod the XML feed creator itself (if I remember correctly, or is this a NewsFeed component you're running?)
Design with integrity : Web accessible solutions
http://www.absalom.biz
http://twitter.com/absalomedia

User avatar
jonhurlock
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Sun Sep 11, 2005 1:34 am
Contact:

Re: Modifying RSS Modules using Accessible Joomla

Post by jonhurlock » Tue Oct 10, 2006 4:53 pm

Wouldnt i want to edit a PHP file like that found in

joomla_install\components\com_newsfeed\newsfeeds.html.php

So to change the output to something like the following

Code: Select all

//from something like this.

    <strong>
        <?php echo $cat->title;?>
    </strong>

Any help?????
// to something like this

    <h3>
        <?php echo $cat->title;?>
    </h3>
by the way i have looked at

joomla_install\components\com_newsfeed\newsfeeds.html.php

and cant find anything in there, i thought it would be  :( but it wasnt.
Last edited by jonhurlock on Thu Oct 12, 2006 9:09 am, edited 1 time in total.

User avatar
jonhurlock
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Sun Sep 11, 2005 1:34 am
Contact:

Re: Modifying RSS Modules using Accessible Joomla

Post by jonhurlock » Mon Oct 16, 2006 9:35 pm

You need to mod the XML feed creator itself (if I remember correctly, or is this a NewsFeed component you're running?)
Im using the default NewsFeed Component, but cant find the file the edit for the modules? any more specific help would be much appreciated!

User avatar
absalom
Joomla! Ace
Joomla! Ace
Posts: 1199
Joined: Thu Aug 18, 2005 12:37 am
Location: Melbourne, Australia
Contact:

Re: Modifying RSS Modules using Accessible Joomla

Post by absalom » Mon Oct 30, 2006 6:13 am

You need to hack the newsfeeds.html.php file (if my email didn't come through via other channels)
Design with integrity : Web accessible solutions
http://www.absalom.biz
http://twitter.com/absalomedia

User avatar
jonhurlock
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Sun Sep 11, 2005 1:34 am
Contact:

Re: Modifying RSS Modules using Accessible Joomla

Post by jonhurlock » Mon Oct 30, 2006 11:24 am

absalom wrote: You need to hack the newsfeeds.html.php file (if my email didn't come through via other channels)
Thanks for trying to e-mail me, i didnt get it though :( You dont need to edit the newsfeeds.html.php file at all!  :P  You need to edit the frontend.html.php file in the includes folder.

joomla_install/includes/frontend.html.php

lines 167 - 170

$content_buffer .= "

Thanks to duvien for the help  :D


Locked

Return to “Design and Accessibility - Archived”