anyone know of an open source php Rss Script ? or any code that one could use in a php script to pull rss feeds?
Thanks for the link, it does seem to be free, i don't see any mention of it being open source, that may work for now, thanks.
simplepie is the easiest tool to work with RSS. Download the simplepie class and use the below code. $feed = new SimplePie(); $feed->set_feed_url($rssurl); $feed->init(); $feed->handle_content_type(); $max = $feed->get_item_quantity(); for ($x = 0; $x < $max; $x++): $item = $feed->get_item($x); $title = $item->get_title(); $content = $item->get_description(); $content = str_replace("'","`",$content); $url = $item->get_permalink(); $date = $item->get_date('j F Y | g:i a'); // process that data endfor; Code (markup):