Page Actions
Wiki Actions
User Actions
Submit This Story

Delicious Feeds

I have bunch of bookmarks in delicious. Thanks to my irc botLOL. Check them out:

curl -s "http://feeds.delicious.com/v2/rss/methuselar?count=5"

more friendly by python

curl -s "http://feeds.delicious.com/v2/json/methuselar?count=5" | python -m json.tool | less -R

So the many feeds Delicious provides

One can save all his BMs to local:

curl -u 'username' https://api.del.icio.us/v1/posts/all | sed 's/^.*href=//g;s/>.*$//g;s/"//g' | awk '{print $1}' | grep 'http' > bookmarks.txt

Note taken from delicious

Feeds at del.icio.us all share the following base URL prefix:

* http://feeds.delicious.com/v2/{format}/

The placeholder {format} specifies the output format for the feed, which currently includes the values rss and json.

All feed formats accept the following query-string parameters:

  • ?count={1..100} = Limit the results to the given number, between 1 and 100 (default 15)

For RSS format feeds, Delicious performs user-agent detection and, for certain news readers, includes enhanced HTML content in items while minimizing the amount of machine-readable metadata. This feature can be intentionally switched on or disabled with the following URL query-string parameters:

  • ?plain = Disable enhanced item HTML content.
  • ?fancy = Enable enhanced item HTML content.

To help enable JSON-based mashups, there are a few URL query-string parameters to tweak the JSON output:

  • ?callback={js call} = Allows the inclusion of a wrapper function call around the JSON data. The value is filtered by a whitelist consisting of these characters:
0-9 a-z A-Z ()[],._-+=/|\~?!#$^*: '"

The following feed URL patterns use these placeholders:

  • {format} = replaced with either “rss” or “json”
  • {username} = replaced with a user's login name on delicious
  • {tag[+tag+…+tag]} = replaced with a tag or an intersection of tags.
  • {url md5} = is intended for the MD5 hash of a URL
  • {key} = a security key for the feed, which can be found via the page associated with the feed (eg. inbox, network or bookmarks). Allows visibilty to otherwise private data.

And, finally, here are URL patterns for feeds at Delicious:

Discussion

Enter your comment
 
 
blog/2010/04/delicious_feeds.txt · Last modified: 2010/04/15 19:40 by MeaCulpa     Back to top
Recent changes RSS feed Creative Commons License Powered by PHP Driven by DokuWiki