Code: Select all
<item>
<title>This is the title</title>
<link>http://link.com/</link>
<description>Description blah blah blah</description>
<category>Gardening</category>
<category>Plants</category>
<category>Flowers</category>
</item>
Code: Select all
$channel = new Zend_Feed_Rss("http://domain.com/rss");
foreach ($channel as $item) {
echo $item->title() . "<br />";
echo $item->description() . "<br />";
$categories = $item->category();
foreach ($categories as $c) {
echo $c->nodeValue;
}
echo "<br /><br />";
}