Thoughts of a geek

22 October 2006


Filed under: Computers — qwandor @ 4:33 pm

Yesterday, I wrote a script called Scrobbrel. If you give it a username, it will show some information about that user, including all their friends. This is useful because it allows you to browse through friends more quickly than using directly (which tends to be painfully slow).

Also, it uses XFN to represent all relationships (both friends and links to other pages about the user), allowing relationship information to be processed by tools like Rubhub and XFN Graph. Unfortunately, a bug in Rubhub prevents it from following relative URLs correctly, so it doesn’t work yet. Phil McCluskey (the creator of Rubhub) assures me that this bug will be fixed eventually. XFN graph doesn’t work properly either; if anyone can work out why I’d be grateful to find out.

On the topic of XFN, rel-lint is a useful bookmarklet. It lists all XFN links on a page, as well as other rel attribute based formats (such as rel-tag). Try it on this blog, or my website.

For those who are interested, Scrobbrel is written in Ruby (not Rails), and uses the Audioscrobbler webservices. REXML makes XML parsing really easy.

Comments and suggestions are most welcome.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: