Database Reference
In-Depth Information
</rank>
...
Delicious
Despite its uncertain future, the Delicious service collects some of the most useful information
on URLs I've found. The API returns the top 10 tags for any URL, together with a count of how
many times each tag has been used ( Figure 1-2 ) .
Figure1-2.Delicious tags
You don't need a key to use the API, and it supports JSONP callbacks, allowing you to access
it even within completely browser-based applications. Here's some PHP sample code on github ,
but the short version is you call to http://feeds.delicious.com/v2/json/urlinfo/data?hash = with the
MD5 hash of the URL appended, and you get back a JSON string containing the tags:
md5 -s http://petewarden.typepad.com/
MD5 ("http://petewarden.typepad.com/") = 7527287d9d937c59a3250ef3a60671f3
curl "http://feeds.delicious.com/v2/json/urlinfo/data?\
hash=7527287d9d937c59a3250ef3a60671f3"
[{
"hash":"7527287d9d937c59a3250ef3a60671f3",
"title":"PeteSearch",
"url":"http:\/\/petewarden.typepad.com\/",
"total_posts":78,
"top_tags":{"analytics":29,"blog":28,"data":26,"facebook":20,
Search WWH ::




Custom Search