Tab Clutter del.icio.us Dump (Using Ruby)

In honor of cleaning out the tab clutter brought on by Crash Recovery, here is a del.icio.us dump of a bunch of tabs that I posted and cleared out this evening:

I used Rubylicious to download and display the links. I’m a Pythonic kinda guy, so Ruby synax still throws me, but I’m excited that I can throw together a list of links in just a few lines of (ugly) Ruby:


#!/usr/bin/ruby
# a hack that loads the gem path stuff correctly on my Ubuntu box
require 'rubygems'
require 'rubilicious'
r = Rubilicious.new('your_username', 'your_password')
puts '<ul>'
# Get 40 entries and write them as an unordered list
recent_links = r.recent(nil, 40).map { |post| puts '<li><a href="' +
post['href'] + '">' + post['description'] + '</a>: ' +
post['extended'] + '</li>'}
puts '</ul>'

I still have a lot of Ruby syntax to learn, but aside from syntax errors in my head, Ruby has been awesome. I’ve still only done some basic tinkering with Ruby and Rails, but I hope to have time to do more in the future.

8 Responses to “Tab Clutter del.icio.us Dump (Using Ruby)”


  1. 1 dwlt May 25th, 2005 at 5:44 am

    Even better, why not grab blogclient and post it automagically!

  1. 1 Bonerz Trackback on Jan 9th, 2007 at 1:59 pm
  2. 2 Italy Trackback on Jan 9th, 2007 at 11:46 pm
  3. 3 Topnado Trackback on Jan 10th, 2007 at 1:29 am
  4. 4 Top Trackback on Jan 10th, 2007 at 2:56 am
  5. 5 Yoper Trackback on Jan 10th, 2007 at 4:40 am
  6. 6 Warren Trackback on Aug 10th, 2009 at 3:34 am
  7. 7 Jovany Trackback on Aug 10th, 2009 at 3:58 am

Leave a Reply