Export your Yojimbo database to a Tiddlywiki!
July 31st, 2008

The moment Yojimbo was released I grabbed a copy. I have used it daily ever since. Yojimbo is a very nice tool for quickly collecting bits of textual data in a searchable, taggable, and secure manner. But it has its limitations. Most notably—it only runs on Mac OS X. But it also suffers from a lack of export features
As I have move my life over to linux (and open source software in general) I have been in search of a suitable alternative. My favorite, thus far, has been the simple Tiddlywiki. Incollector is a close runner up, but it fails the cross-platform test (it only runs on Windows and Linux, not the Mac OS.)
When I first discovered Incollector I wrote this AppleScript to export my entire Yojimbo library into Incollectors xml format. In this way I am able to import my entire Yojimbo library (less pdfs) into Incollector.
But that was not enough, so I tweaked it to export my Yojimbo library to a Tiddlywiki. Anyone interested can grab the script here.
It is by no means perfect, but it gets the job done. The AppleScript copies the exported data to your clipboard. After running the script you must paste the resulting data into a new text file. Simply open up TextEdit and create a new plain text document and paste the data into it. Save it as a fresh new html Tiddlywiki file. Presto, you now have all your Yojimbo bookmarks, webarchives, passwords, notes, and serial numbers in a Tiddlywiki
If you would like your Yojimbo data to be part of a pre-existing Tiddlywiki then you can import its tiddlers like so:
- Open the Tiddlywiki you want to import into
- Go to backstage->import
- Select the Tiddlywiki that you saved earlier, containing your Yojimbo exports
- Choose all the tiddlers that you wish to import
- Click “done” at the bottom when it completes
The usual caveats apply. I have only tested this on my computer running Leopard and Yojimbo 1.5.1, so there are no guarantees it will work on your system. The AppleScript will save all secured Yojimbo data as plain text (i.e. unsecured.) If you wish to hide your secure data then comment out the appropriate lines of the AppleScript (see comments in the script for instructions.)
I use TrueCrypt, running on a flash drive, to securely access my Yojimbo Tiddlywiki from any computer, be it Mac, Windows, or Linux.
August 1st, 2008 at 8:54 am
Have you seen Wixi? I don’t use it myself, but it claims to be like a desktop wiki. .debs for Ubuntu are available on getdeb.net.
(though personally, I just like tomboy for my needs)
August 6th, 2008 at 10:07 pm
hi,
i tried this script and eventually got the following error:
“The variable ‘i’ is not defined.”
this was after a few minutes of “processing,” which i could tell because the CPU usage of yojimbo was consistently around 50%.
any ideas what happened? running the latest version of yojimbo on 10.5.4.
thanks!
August 7th, 2008 at 11:08 am
Hello Andrew,
Let me look into it. This initial script is, admittedly, hacked together to work with my Yojimbo library and the errors I encountered, and does not contain error-detection for every possible error. Should be fairly easy to fix.
August 8th, 2008 at 2:28 am
thanks! you have my e-mail, so i do hope to hear from you.
September 4th, 2008 at 10:22 am
Hi
I got the same “The variable ‘i’ is not defined.” Has is been possible to fix this error?
Cheers