|
Posted by Adam Harvey on 04/04/06 04:50
On Thu, 30 Mar 2006 13:03:27 -0800, fiziwig wrote:
> Total newbie to RSS here...
>
> 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?
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.
Adam
--
Adam Harvey
To e-mail: don't make an example out of me!
[Back to original message]
|