Oct 31, 2005

Jots2Delicious.py

I put together a script today for Will to move his Jots bookmarks to del.icio.us. Getting them out of Jots using the XML-RPC API is easy peasy. Getting them into del.icio.us via its REST API took a bit more work, to get the date formatting and unicode issues straightened out.

Anyhow, here's the resulting script: jots2delicious.py. It requires delicious-py. It might barf if you have your default encoding for Python set to ASCII. You might also want to increase the timeout interval in delicious-py. It is 20 seconds by default, and if you have a bunch of bookmarks, it seems pretty likely that you'll exceed that at one point or another, at which point you'll have to start the script over again. Otherwise, it seems to work.

permalink | | 2005.10.31-20:52.00