channel->item->link)
{
while($ga<=$nbnews-1)
{
$link = str_replace("&","&", $rss->channel->item[$ga]->link);
$title = $rss->channel->item[$ga++]->title;
//$title = str_replace("& ","&", $title);
//$title = str_replace("’","'", $title);
//$title = str_replace("…","...", $title);
echo "\t\t".utf8_decode($title)."
\n";
}
}
else
{
while($ga<=$nbnews-1)
{
$link = str_replace("&","&", $rss->item[$ga]->link);
$title = $rss->item[$ga++]->title;
//$title = str_replace("& ","&", $title);
//$title = str_replace("’","'", $title);
//$title = str_replace("…","...", $title);
echo "\t\t".utf8_decode($title)."
\n";
}
}
}
else
echo "Fichier source introuvable ou corrompu ($source)
";
?>