There and Back Again

del.icio.us hacking

I’ve been working on a long term solution for my AJAX resource lists, i wasted a couple hours trying out del.icio.us and Spurl. del.icio.us is great except it doesn’t allow for a large comment which is the whole point of my resource list. Spurl has a large comment section but the interface for tagging isn’t as nice as del.icio.us and its feeds don’t give you all the tags for each item which is a deal breaker for me.

So I went on a bit of a hacking using del.icio.us as my base. I added a half screen scraped post screen extending the form and having it post to my server so I could store the data in my database. I then use the api to add the entry to del.icio.us.

This way I get the neat javascript tricks for editing without anywork, and my base list is in del.icio.us so the minimal info is readily available. Plus it gives me feeds with no work.

I already have basic posting working and I hacked up a quick view page, which should be ready to replace the articles page on my blog with just a little more work.

The only other large piece to do support editing, I think i’ll follow the same half screen scraped model. At some point I might stop the screen scraping and just use a greasemonkey script to add in my extra text area and change the form action, but I won’t worry about that until someting in my current hack breaks.

I think this approach turned out working really well, I’m actually the master source for my content, and since its in my db creating special views is cake, plus I get all the normal del.icio.us benefits.

(Oh and HTTP_Request is a great class)

2 thoughts on “del.icio.us hacking

  1. Scott Carlson

    Have you looked at the Delicious Extension for firefox? I would think it would be pretty easy to extend it to call your extra URL in addition to the standard Delicious calls.

    Good luck

  2. Joshua Eichorn Post author

    I have looked at the extension but I didn’t really like it. The default del.icio.us interface with the javascript tagging is nice enough that I don’t really want to bother with something else.