Public feed
#894207
<?phprequire_once('../simplepie.inc');$feed = new SimplePie();$feed->set_feed_url(array( 'http://digg.com/rss/containertechnology.xml', 'http://rss.slashdot.org/Slashdot/slashdot', 'http://images.apple.com/main/rss/hotnews/hotnews.rss'));$success = $feed->init();$feed->handle_content_type();$images = array( 'http://digg.com/rss/containertechnology.xml' => 'http://www.jinx.com/digg/images/partners/digg/logo.gif', 'http://rss.slashdot.org/Slashdot/slashdot' => 'http://images.slashdot.org/logo.png', 'http://images.apple.com/main/rss/hotnews/hotnews.rss' => 'http://images.apple.com/ipodtouch/images/iconshero_20080205.png');if ($feed->error()){ die($feed->error());} foreach ($feed->get_items() as $item){ echo '<h4><a href="' . $feed->get_permalink() . '">' . $item->get_title() . '</a></h4>'; echo $item->get_description(); echo '<p><a href="' . $item->get_feed()->subscribe_url() . '"><img src="' . $images[$item->get_feed()->subscribe_url()] . '" alt="' . $item->get_feed()->get_title() . '" title="' . $item->get_feed()->get_title() . '" border="0"></a></p>'; echo '<hr>';}?>