Import del.icio.us bookmarks to Yojimbo
By marcus • Sep 16th, 2006 • Category: geek •
I just started using Yojimbo, which is a information organizer application for Mac OS X. You can store bookmarks, notes, passwords, serial numbers, document, snippets, whatever bits of info you gather. It seems to be a pretty nice app, simple and easy to use. I wanted to import my del.icio.us bookmarks so I can give the app a bit more testing, since I couldn’t find an importer to do it, I wrote this simple perl script: delicious2yojimbo.pl
How to Import del.icio.us bookmarks to YoJimbo
- Step 1: Download your del.icio.us bookmarks to your desktop.
Use this url: https://api.del.icio.us/v1/posts/all?user=YOURNAME changing YOURNAME to your del.icio.us username. Login using your del.icio.us username/password. Save the XML file to your desktop called: all.xml
Step 2: Download delicious2yojimbo.pl
Download the script to your desktop.
Step 3: Run the script
Run the script via the command-line using Terminal/X11
Update Yojimbo Using Applescript
The key to the script is using AppleScript to tell Yojimbo to create the bookmarks. If you want something a bit nicer, and have a little more talent than me creating Apple apps here’s what you need. I’m a Unix/Web guy and only really know those interfaces. Plus this was only a one-time import so this was sufficient for my needs.
make new bookmark item with properties {name:”DESCRIPTION”, location:”HREF”, comments:”TAG”}
end tell

Thanks, nice script! I’ve tweaked my copy to use Yojimbo tags instead of the comments field. Here is the relevant change:
$as_cmd .= “set the_item to make new bookmark item with properties {name:\”$desc\”, location:\”$href\”, comments:\”\”} \n”;
$as_cmd .= “add tags (words of \”$tag\”) to the_item \n”;
(This may require a more recent version of Yojimbo than you originally wrote the script for.)
Thanks Manton.
I’ve updated the script with this change and gave you a credit at the top.
(plus I updated my verison of Yojimbo)
Hmm. Didn’t work for me. Seems like a super-easy and simple process, but after getting both the all.xml file and the script itself onto the desktop and running perl ~/Desktop/delicious2yojimbo.pl in terminal, it says, “Imported 0 bookmarks.” I have hundreds – maybe a thousand – bookmarks in del.icio.us, so I’m confused. :(
Is it possible to modify the “date modified” to reflect when the link was added to Delicious?
[...] importieren. Nachdem ich mehrere Lösungen ausprobiert habe, konnte ich nur mit Hilfe des Perl-Skripts von Marcus Kazmierczak Erfolge erzielen. Nachdem man das Skript von seiner Site heruntergeladen hat, muss man noch [...]
For some reason the script was failing on a current dump of Delicious bookmarks. Rather than find the bug, I ported it to Ruby quick-like. Here’s the gist: http://gist.github.com/112620
Great script works perfect!!
Oh it great way will save time.