Re: Parsing RSS
| From: | Dave Goodchild | Date: | Sat, 12 Aug 2006 14:48:45 +0000 |
| Subject: | Re: Parsing RSS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240561@lists.php.net to get a copy of this message | ||
On 12/08/06, John Taylor-Johnston <
John.Taylor-Johnston@cegepsherbrooke.qc.ca> 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.rssYep. 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