Import del.icio.us bookmarks to Yojimbo

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

    perl ~/Desktop/delicious2yojimbo.pl

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.

tell application “Yojimbo”
make new bookmark item with properties {name:”DESCRIPTION”, location:”HREF”, comments:”TAG”}
end tell

Comments 7

  1. Manton Reece wrote:

    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.)

    Posted 31 Jan 2007 at 1:45 pm
  2. marcus wrote:

    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)

    Posted 03 Feb 2007 at 3:03 pm
  3. sciencegirl wrote:

    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. :(

    Posted 24 Mar 2008 at 7:02 am
  4. CT wrote:

    Is it possible to modify the “date modified” to reflect when the link was added to Delicious?

    Posted 21 Apr 2008 at 7:41 pm
  5. svarga.su wrote:

    svarga.su
    ?????? ?? ??? ?????? ???????, ??? ???? ???? - ??? ?? ?????, ?? «??????? ?? ??????», ?? ???????? ???????? ? ?? ?????????? ???????. ???, ?????? ?????, ???? ?????????: ???? - ??? ? ???? - ??????. ????? svarga.su

    Posted 29 Apr 2009 at 6:31 am
  6. Ben Kerney wrote:

    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

    Posted 16 May 2009 at 12:20 am
  7. webdesign wrote:

    Great script works perfect!!

    Posted 28 May 2009 at 6:39 am

Trackbacks & Pingbacks 1

  1. From » Delicious Bookmarks in Yojimbo importieren und gleichzeitig publizieren « Macs in Media Deutsch Archiv on 25 Jan 2009 at 3:29 pm

    [...] 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 [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *