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


RSS Help PLease





Scorpio
I want to incorporate RSS feeds from site like news.yahoo.com into my website

How should I do this?

Please explain briefly if you dont mind,

Thanks
rohan2kool
well.. it is rather easy to do it on php 5.x. But on php 4.x it is rather cumbursome and you need the eXpat libraries installed. Basically what you need to do is parse the RSS feed with the XML parser.

The <channel> node is the root node.
The <title>, <description>, <link> and <pubdate> are the title, description and publishing date of the feed resp.
Then every item in the RSS feed has the following nodes:

<title>: The <title>
<link>: Link to the main article or whatever
<description>: The feed

You can try http://in2.php.net/manual/en/ref.xml.php for the XML parsing functions.

In php5, using SimpleXML, it is very easy to make one.. it's just a bit difficult in php4...
Related topics
I am having alot of trouble with forms! Urgent help please!
PLEASE HELP!!.......PLEASE
help please
Help please! I can't login to my blog admin panel
Hmmmm, Favicon not working, check it out and help please
help! please
I need help, please
Admins help please, My domain wont work! (its my domain.)
my site?
Major Problem with COmputer. Help Please
problems with my comp....something strange, please help me
Started to use my own coding!!! HELP please!
[VB6] runtime error '424'??? help please
[HELP PLEASE]redirecting my domain
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.