entry))
{
parseAtom($doc);
}
function parseAtom($xml)
{
//echo "".$xml->author->name."";
echo " Latest 419
Spam News";
echo "
";
$cnt = count($xml->entry);
// for($i=0; $i<$cnt; $i++)
echo "
";
for($i=0; $i<5; $i++)
{
$urlAtt = $xml->entry[$i]->link[2]->attributes();
$url = $urlAtt['href'];
$title = $xml->entry[$i]->title;
$desc = strip_tags($xml->entry[$i]->summary);
echo "- ";
echo ''.$title.'';
echo "
";
//echo "
";
//echo $desc;
}
echo "
";
}
?>