Difference between revisions of "Creating and Maintaining a Module Repository"

From CrossWire Bible Society
Jump to: navigation, search
(Layout of a Module repository)
(Layout of a Module repository)
Line 7: Line 7:
 
Several front ends (particularly for small devices) do require modules in a different format though, as a zipped file.
 
Several front ends (particularly for small devices) do require modules in a different format though, as a zipped file.
  
'''mods.d.tar.gz''' is a [http://en.wikipedia.org/wiki/Gzip gzipped] file.== Zipped files ==
+
'''mods.d.tar.gz''' is a [http://en.wikipedia.org/wiki/Gzip gzipped] file.
 +
 
 +
== Zipped files ==
  
 
Some of the smaller devices running a sword frontend do not have a network enabled module manager. Users of these devices need to download their modules as zipped files and unzip them in the right place - e.g. a SD card.
 
Some of the smaller devices running a sword frontend do not have a network enabled module manager. Users of these devices need to download their modules as zipped files and unzip them in the right place - e.g. a SD card.

Revision as of 10:45, 29 November 2008

Layout of a Module repository

A module repository is an echo of the mods.d and modules area as found under any Sword module area on your system (e.g. ~/.sword) plus mods.d.tar.gz, as created by:

tar czvf mods.d.tar.gz mods.d/*

Several front ends (particularly for small devices) do require modules in a different format though, as a zipped file.

mods.d.tar.gz is a gzipped file.

Zipped files

Some of the smaller devices running a sword frontend do not have a network enabled module manager. Users of these devices need to download their modules as zipped files and unzip them in the right place - e.g. a SD card.

It is also helpful for people who have no access to direct internet connections or live in countries with supervised access to the internet to be able to download (and possibly distribute) zipped modules.

These come in three formats

  • rawzip
  • zip for MS Windows
  • zip for Mac OSX