del.icio.us Javascript Linkrolls

August 5th, 2005 by bill · 3 Comments

 

del.icio.us now provides linkrolls via javascript.

All you have to do to use it is copy the following script to your editor (it’s all one line, so remove any line breaks):

<script type="text/javascript"
src="http://del.icio.us/feeds/js/techrageo.us/tech?tags;
extended;count=14;title=my%20del.icio.us;
bullet=%C2%BB;icon;sort=alpha"></script>

Then adjust the querystring to your needs as follows

  • Modify “techrageo.us” to whoever’s del.icio.us links you want to monitor
  • Modify “tech” to filter by a certain tag, combine them with “+” as in “tech+diy”, or remove the “/tech” altogether to not filter by tags.
  • extended — include “extended” if you want to see the extended text for each link
  • tags — include “tags” if you want to see the tags for each link
  • count — include “count” if you want some number of links displayed besides the default (20, I believe)
  • title — include “title” if you want del.icio.us to add a title, or simply remove the title portion of the querystring
  • bullet — include “bullet” and set it to a character if you want a bullet displayed before each link
  • icon — include “icon” if you want the del.icio.us icon to appear, or remove it for no icon.
  • sort — include “sort=alpha” if you want the links to be sorted alphabetically. If the sort key is not included, the default is to list the links chronologically.
  • Drop the resulting script into your web code where you want the links to appear
  • del.icio.us delivers the link feed inline

Kind of snazzy.

Tags: Javascript · Programming · Tips · Web design

 

3 responses so far ↓

  • 1 techrageo.us links » Blog Archive » del.icio.us linkrolls // Sep 8, 2005 at 2:21 am

    [...] http://techrageo.us/2005/08/05/delicious-javascript-linkrolls/ use javascript to embed del.icio.us linkrolls [...]

  • 2 c()ry // Jan 28, 2006 at 4:06 pm

    Hey — I was wondering if you knew about a tag I could insert into this bit of code that will organzie my del.icio.us links in “letter-count” order… would you know?

  • 3 bill // Jan 30, 2006 at 8:30 am

    Ordering is done with the sort= key, but the only options are alpha and the default, which is chronologically. (I’m guessing that, by letter-count you mean you want “b” listed before “aaa”, etc.) Sorry. I’ll update the post to include sort.

Leave a Comment