Hi everyone.
Here's what I did to make it work. Please let me know if you get the results you expected. All the steps mentioned previously are basically correct. I have modified them where they are wrong.
Instructions
* Download the flashcard status file from
http://kanji.koohii.com/status/export This can be accessed on RevTK from Manage->Export Flashcards (on the left)->Click "Export Flashcards" button
* Open Anki and install the plugin "Import progress from Koohii" using the Anki shared plugin download feature. File->Download->Shared Plugin... (search for koohii)
* Restart Anki.
* Disable automatic synchronisation with the remote server if it is enabled. This done by going to Settings/Preferences menu, select Network tab and uncheck 'Sync on open' and 'Sync on close'.
* Then go to the Saving tab and uncheck 'Save on close'.
* Open any deck that has cards adhering to the Heisig model. (
Here I actually downloaded a fresh copy and suspended all the cards I haven't learned yet.)
From here on read through to the end of the post before executing these steps.
* Open the import menu File->Import
* Change 'Type of file:' to 'Progress from Koohii (*.txt)'
* For 'File to Import:', select the rtk_flashcards.txt (
I will get to this now, see after instructions) file you downloaded from kanji.koohii.com with the Export Flashcards function
* Click 'Import'. Anki will freeze for a little while. After a couple of seconds, you will be able to see the result of the import in the status window.
* Examine the result. If it isn't what you expect, close the deck and discard the changes. Your deck will remain unmodified.
* If the result is OK, then save the deck.
* If you disabled synchronisation and autosave in the steps above, re-enable them.
--------
Right, so the file one gets from RevTK is actually called
rtk_flashcards.csv. The problem with this file is that it's in the wrong format for the plugin. I guess the plugin is out of date. First, rename the file to
rtk_flashcards.txt.
Open it with a text editor and you will note lines as follows :
1,"一","one",2010-01-10 06:40:53,2010-01-19,3,0,2
2,"二","two",2010-01-10 06:40:53,2010-01-19,3,0,2
Which correspond to these fields :
framenum,kanji,keyword,lastreview,expiredate,leitnerbox,failurecount,successcount
The plugin expects these fields :
framenum lastreview expiredate leitnerbox failurecount successcount
Yes, there are less fields and they are tab separated.
I modified each line in my file to look like this :
1,2010-01-10,2010-01-19,3,0,2
So for all lines you have to remove the
kanji and keyword field and then also the
space and the time after the first date. I then changed the python script (the plugin) so that it uses a comma (,) as a delimiter and not a tab. You can skip changing the script but then you must do a search and replace on your file (rtk_flashcards.txt) and replace all commas (,) with a tab character.
I realise I could probably fix the script and re-upload it, but I haven't bothered figuring out what that entails as fixing my file was a simple regular expression "search and replace".