Zipped modules

From CrossWire Bible Society
Jump to: navigation, search

This is a zipped archive of a module in the file and directory layout used in the local module directory.

To create a zipped module of an uncompressed GenBook do this:

cd ~ftp/pub/sword
zip -r -D zip/mybook.zip mods.d/mybook.conf modules/genbook/rawgenbooks/mybook

-r finds all files under the specified directory
-D only include files in the zip

JSWORD

JSword front-ends require (for the moment at least) having zipped modules available. We distribute them through our webserver.

xulsword

A new Windows file extension has been allocated for xulsword zipped modules, such that drag & drop of a file with extension .xsm installs the module automatically. xulsword was developed for countries with monitored Internet access very much in mind. At present, this feature is used only for the newer modules (version 3.0) that are fully compatible with SWORD. See also Official and Affiliated Module Repositories#Institute_for_Bible_Translation.

Other programmes and uses

Several user programmes can also import directly zipped modules e.g. in order to be helpful for people who have no direct access to the Internet or who live in countries with monitored access to the Internet to be able to download (and possibly distribute) zipped modules.