From: Kevin O. <ke...@tu...> - 2004-04-07 16:40:53
|
Hi Vaclav, In regards to the ".book" format, I just thought of a simpler solution that meets my needs. =) Just update the book loading code to try and guess the content format (i.e. if it has extension .html or .htm, it's probably HTML. =) and load the file. It will also check for a fulltext index, and if it exists, automatically turn on indexing. Then, make it so that this book loading code is run whenever a file is passed in from the command line, which will give me the CD loading behavior I need. I'll also write code so that it will work when a file is dropped on it on Mac. (BTW, if the format can't be guessed, it will prompt the user to choose. But for things like ".htm" or ".html", I think it's quite reasonable to assume its HTML. =) I can probably also do a little trick with Resource Files on Mac to ensure that the index.html file for my EClass is associated directly with Documancer. If you're fine with this, I'll go ahead and write the code for it and submit a patch. Also, I see you added in the version checking code as well. Thanks! Kevin |