On 12/08/06, John Taylor-Johnston < [EMAIL PROTECTED]> wrote:
Is there something already created to open an rss file, parse it, and include() the useful stuff into an html file? Not all my students have an rss reader. http://jtjohnston.ca/jtjohnston.rss
Yep. The PEAR XML_RSS class.
for example:
$feed = 'foo.rss';
$rss =& new XML_RSS($feed);
$rss->parse();
foreach ($rss->getItems() as $item) {
// output rss
}
--
http://www.web-buddha.co.uk
http://www.projectkarma.co.uk

