Library

From Kiwix
Revision as of 15:45, 21 December 2011 by Kelson (talk | contribs)
Jump to navigation Jump to search

The content manager or library is a software solution responsible to deal with available content offline&online. This is a c++ class which deals with one or many XML library files. In the library, there are books, which are for example ZIM files. Each book may have a lot of details about the ZIM file like title, number of page, size, infos about how to download it, corresponding index paht, etc.

Use cases

Simple installed instance

User has installed kiwix, so no local content. Kiwix has to snychronize with the online version(s) of the library and propose to download new books. Downloaded content should be "marked as local" and not proposed anymore to download. Newly index book should also now where are the search index directories.

Simple portable instance

User has a portable version of Kiwix with a local library. Reopening this local instance of kiwix should always display the same things also if the user use this kiwix instance to download new content. New content and indexed content should be saved in the profile, but never take the priority on the local library.

Local & installed instances

By running the local instance, this should work like a local instance only scenario. By running the installed instance, this should ignore the local instance.