http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D"http://bbc.co.uk/"and%20xpath%3D"/html/head/link[@rel%3D'icon']%20|%20/html/head/link[@rel%3D'ICON']%20|%20/html/head/link[@rel%3D'shortcut%20icon']%20|%20/html/head/link[@rel%3D'SHORTCUT%20ICON']"&format=json&callback=grab
WORDPRESS CODE
if (!empty($comment->comment_author_url)) {$url = preg_replace('/^http:\/\//', '', $comment->comment_author_url); if ($url != "") { $imgurl = "http://www.google.com/s2/favicons?domain=" . $url; echo '<img src="' . $imgurl . '" width="16" height="16" />'; }}
ALTRE OPZIONI
Nessun commento:
Posta un commento