Difference between revisions of "Zipped modules"

From CrossWire Bible Society
Jump to: navigation, search
(Corrected the command to create a zip to exclude directories)
(xulsword)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Some of the smaller devices running a sword front-end might not not have a network enabled module manager or network use might be slow and expensive. Users of these devices need to download their modules as zipped files and unzip them in the right place - e.g. a SD card.
+
This is a zipped archive of a module in the file and directory layout used in the local module directory.  
 
 
JSword front-ends also require (for the moment at least) having zipped modules available.
 
 
 
It is also 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. This is a zipped archive of a module in the file and directory layout used in the local module directory. Note: only include files in the zip.
 
  
 
To create a zipped module of an uncompressed GenBook do this:
 
To create a zipped module of an uncompressed GenBook do this:
  
 
  cd ~ftp/pub/sword
 
  cd ~ftp/pub/sword
  zip -r zip/mybook.zip mods.d/mybook.conf modules/genbook/rawgenbooks/mybook/*
+
  zip -r -D zip/mybook.zip mods.d/mybook.conf modules/genbook/rawgenbooks/mybook
  
If the module contains subdirectories:
+
-r finds all files under the specified directory<br/>
 +
-D only include files in the zip
  
cd ~ftp/pub/sword
+
== JSWORD ==
zip -r zip/mybook.zip mods.d/mybook.conf $(find modules/genbook/rawgenbooks/mybook -type f)
+
JSword front-ends require (for the moment at least) having zipped modules available. We distribute them through our webserver.  
  
 
== xulsword ==
 
== 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 [[Module Repositories#Institute_for_Bible_Translation]].
+
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.  
  
 
[[Category:Modules|Zipped modules]]
 
[[Category:Modules|Zipped modules]]

Latest revision as of 15:36, 10 January 2018

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.