Le sam 19/06/10 21:22, "Tommi Mäkitalo" tommi@tntnet.org a écrit:
The user has to tell the zimwriter, what he wants to do. I can keep on adding additional options to the zimwriter and also add features to the zimwriter. Zimwriter will get bigger and bigger and gets more and more options. My idea is to move the functionality to write a zim file to a library - libzimwriter and write separate programs for each source implementation.
Ok
So to write a zimfile from the database, the user has to use zimwriterdb. To create a fulltextindex we use zimindexer. To merge zimfiles we have zimmerge. All of them are quite simple programs, which just interface to the libzimwriter.
Ok
As an additional benefit we reduce the dependency from tntdb. Only zimwriterdb needs tntdb. All other tools do not.
The only problem I see is that I have to break the current command line interface. I feel that the price is cheap.
Ok, please keep us informed about the details, that I can keep my toolchain up to date.
Thank you Emmanuel