scopeuk - 2006-07-19

ok i realise this is a very basic script but it uses magpierss and rsswriter it relieson havign the and magpierss fodler inthe same folder as the script.
i felt this script was simple enough for the cook book it searches for a string in the feed titles
$url = "";
$search = "string";
$feed = fetch_rss($url);
$rss=new RSSWriter($url, "Title", "Description");
        foreach ($feed->items as $item) {
                $link = $item['link'];
                $title = $item['title'];
                $seek = ereg($search, $title);
                if ($seek)
                $rss->addItem( $link, $title);