Hi, I'm using the Simple Pie library (simplepie.org) to pull out titles of a particular feed. When I use this script it shows me 25 titles. How can I change the number of titles shown? Code: <?php require_once('simplepie.inc'); $feed = new SimplePie('digg.com'); $feed->handle_content_type(); foreach ($feed->get_items() as $item) { echo $item->get_title(); echo '<br />' } ?> Thanks, Suhas
Sorry for the inconvenience .. Problem sorted I just had to use foreach ($feed->get_items(0,5) to show 5 titles.. Sorry