items, 0, 5);
if (!empty($items)) {
foreach ($items as $item) {
$content = str_replace(“&”, “&”, $item[‘atom_content’]);
$xml = simplexml_load_string($content);
$thumbnailurl = (string) $xml->attributes()->thumbnailurl;
echo ‘
‘ . $item[‘title’] . ‘
‘;
}
}
?>