topical media & game development
professional-search-07-seophp-read-feed.php / php
<?php
// load the SimplePie library
require_once 'include/simplepie.inc';
// create and configure SimplePie object
feed->feed_url('http://seophp.example.com/feed.php');
>cache_location('cache');
feed->init();
feed->data)
{
// display the title
echo '<h1>' .
'<a href="' . feed->get_feed_title() .
'</a>' .
'</h1>';
// display a maximum of 5 feed items
feed->get_item_quantity(5);
for (x<x++)
{
feed->get_item(item->get_permalink() . '">' .
item->get_description() . '</p>';
}
}
?>
</body>
</html>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.