FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


rss 2.0 feeds





riyadh
i am making a website. to reduce time spent on updating my home page witht he latest news almost everyday, i want to parse my rss file on the home page so that it is updated as soon as i edit my feed.xml file. i knw how to write the rss file and a stylesheet for it but i need to knw how to parse it on my homepage. can anyone plz help???
kevinalle
I think you'll need PHP. There are XML parsing functions and you can read any file.
just 2 questions: Does your server support PHP? and, it is genneraly the other way. One dinamically generates a feed with your site's content...
Try http://php.net
good luck[/url]
deepak
You need this : http://simplepie.org/ [I'm assuming that you works in PHP]
MrBlueSky
riyadh wrote:
i am making a website. to reduce time spent on updating my home page witht he latest news almost everyday, i want to parse my rss file on the home page so that it is updated as soon as i edit my feed.xml file. i knw how to write the rss file and a stylesheet for it but i need to knw how to parse it on my homepage. can anyone plz help???


I don't know if this is what you are looking for, but with the php function xslt_process() you can parse a rss file using a stylesheet you defined.

Example:

Code:

<?php
$xp = xslt_create();
echo xslt_process($xp, '/path/your.rss', '/path/your.xsl');
xslt_free($xp);
?>
Related topics
Need help with rss 2.0
xml and rss
Rss help Again
[info] Wordpress en Frihost
Nokia does Linux on its new Internet tablet
Google to Release Desktop 2 Beta
What Will Vista Mean to You?
Redesign
Lock this thread - RSS feeds for 20 Frihs$
What to do if my content is being stolen?
cant grab 2nd var
Science Universe Podcasts Videos
[help]Que opinan de los cms?
500Frih$ for random feed entries
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.