Ideascube catalog : Build library.xml file from ZIM and Index
Currently the Ideascube catalog works as fallowing :
- Add a remote catalog
- Download a ZIP file containing a ZIM and Index directory in Ideascube cache folder
- Unzip everything, move ZIM and Index to Kiwix folder and build an library.xml file
In the KoomBook context we won't have enough space to stock the ideascube cache folder and the kiwix folder, this represent twice the space for a unique ZIM project...Furthermore this is taking a lot of time to download everything from kiwix server each time.
We set up an Ideascube cache server with all the ZIM and Index pre-loaded. We copy each time we need the ZIM and Index on the KoomBook hard drive. However we have to build manually the library.xml file which is not really efficient.
What we could do :
- Ideascube catalog scan a specific folder for a ZIM file and an Index directory
- Build a library.xml file from those file and folder
- Ideascube catalog do this for each ZIM project
This will prevent from unpacking the cache folder directly on the KoomBook which take a lot of time and resources.