del.icio.us BlogBadge API PHP implementation

Niall Kennedy wrote on his blog that The Yahoo Developer Network provided a short preview of the soon to be released del.icio.us webbadge. From this preview you could see an endpoint and a parameter, so Niall tried and it worked for everyone. That inspired me to make this fast PHP implementation of it, using the Zend framework JSON library. If you're interested, have a look at the code.

"; if ($output[0] != "") { echo "

del.icio.us data for ".$output[0]['url']."

"; echo "
"; echo "
Total posts:
".$output[0]['total_posts']."
"; echo "
 
 
"; echo "
Top Tags
 
"; foreach ($output[0]['top_tags'] as $tag => $count) { echo "
$tag:
$count
"; } echo "
"; } else { echo "No data for $url"; } echo "

Check another URL

"; } else { echo "

Check del.icio.us data for URL

"; } ?>