Updated: Wed, 2006-09-20 17:08
The jBrowse FAQ
Over the years, a fair few questions have been asked about jBrowse. jBrowse is no longer under active development, but it is under active use, so I am collecting a few common questions here.Why no Opera/Mozilla/Firefox version?
This is by far the most commonly asked question about jBrowse. The answer is: it's too difficult. I agree that having jBrowse only in IE is a huge pain. I use Opera myself. But implementing jBrowse in Firefox (which is the second most widely used browser and the best understood one for plugins) is unbelievably hard. Challenge 1: there's no ruby tag in Firefox (as far as I know, at the time of writing). So there goes half of jBrowse's functionality right there. Challenge 2: XUL. Firefox uses a very very complex system called XUL. How complex? Well, jBrowse consists of some source code. That's it; a bit of C++ code that implements a documented interface defined by Microsoft. Making source code is easy, especially when it basically gets given the root node of an HTML document and then simply has to manipulate that document and hand it back. That's all jBrowse does. The simplest possible XUL application is probably about as complex as the WHOLE of jBrowse, and contains more separate files and requires more knowledge to create. I don't know if that says a bad thing about Firefox or not, but life is simply too short to create a version of jBrowse for it; I'd rather wait and see if IE7 is good enough to use, which by now I think it is.How can I update the dictionary?
jBrowse comes with a rather old version of the EDICT dictionary file, compiled by Jim Breen and his minions. For speed (not that it makes that much difference in fact) jBrowse's copy of the file is in UTF-16, as opposed to the UTF-8 that the original was in. To update the file, therefore:- Go to the EDICT site and get a new copy of EDICT. Don't get the gigantic XML version. jBrowse can't parse it and it's a painfully inefficient format anyway.
- Convert your file to UTF-16, using the handy tool of your choice, such as Microsoft Notepad or vim.
- Save it over the existing dictionary file, which will be called edict_ucs2.txt
- Restart jBrowse and make it re-load its dictionary. The new words will be there.