Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- php/RSS question
March 30, 2006, 9:03 pm
rate this thread
I'd like to add "latest headlines" from Yahoo's RSS feed to my website,
but all I can find when I go looking for code examples is complete,
elaborate RSS aggregators and news readers. I don't need the whole
package, just some sample code for pulling and parsing the feed, or a
good tutorial that covers the basics. The only tutorials I've found so
far are about how to use existing aggreagators, and not how to actually
code the php.
Can anyone offer some suggestions for where I should look?
Re: php/RSS question
http://pear.php.net/package/XML_RSS/ seems to do what you want. There's an
example in the manual at
http://pear.php.net/manual/en/package.xml.xml-rss.example.php that will
probably give you a feel for whether it's suitable.
To e-mail: don't make an example out of me!