Hey,
Wyciągam dane RSS poprzez klasy typu: Snoopy.class.inc , apicall.inc, rss_parse.inc itd.
Stworzyłem takie cosik, jednakże nie jestem do tego przekonany.
$search - zmienna którą wykorzystuje na swojej stronie dla wyników wyszukiwania.
require_once 'apicall.inc';
$apicall ="http://www.bing.com/search?q=doda&format=rss";
$rss = fetch_rss($apicall);
foreach ($rss->items as $item ) {
$title = $item["title"];
$title = mb_convert_encoding($title, 'HTML-ENTITIES', "UTF-8");
$url = $item["link"];
$data = $item["pubdate"];
$description = $item["description"];
$description = mb_convert_encoding($description, 'HTML-ENTITIES', "UTF-8");
"$url", $matches);
$host = $matches[2];
preg_match("/[^\\/]+\.[^\.\/]+$/", $host, $matches); $baseurl = $matches[0];
$dane[] = array('title' => $title, 'url' => $url, 'description' => $description, 'data' => $data); $tpl->assign('dane', $dane);
}
Potem wyciągam dane i wstawiam je do szablonu smarty:
{foreach item=bing from=$dane name=foo}
{if $bing.url}
<a href="#" onclick="window.open('{$bing.url|escape|trim}');">{$bing.title|trim|lower|strip_tags:false|replace:'...':''}
</a>{/if}
Tyle co wyszperałem w manualach

I niby filtruje adres podany w zmiennej
$urlAle tylko 1 adres, nie umiem wykombinować by filtrował mi np.: 100 linków z pliku.txt

Proszę o pomoc.