I implemented the output to Kobo format into Penelope, my dictionary-converter tool.
Source code: http://code.google.com/p/penelope-dictionary-converter/
Note that you will probably need Python 2.6+ (not Python 3.x) to run it.
$ python penelope.py --output-kobo -p bar -f en -t it
Create English-to-Italian dictionary in Kobo format (dicthtml-en-it.zip), from StarDict files bar.*
$ python penelope.py --xml --output-kobo -p bar -f en -t en
Create English dictionary in Kobo format (dicthtml.zip), from XML file bar.xml
NOTE 1: probably the management of 11.html entries is not completely correct right now. At the moment every key NOT starting as [a-z][a-z] (when lowercased) will go to 11.html. Better ideas?
NOTE 2: you will need to modify MARISA_BUILD_PATH
, pointing it to the directory containing a working build of MARISA.