Difference between revisions of "DevTools:Modules"
(Added a description of the [name] "directive".) |
(Added missing values to enums, simplified html) |
||
Line 18: | Line 18: | ||
<table width="100%" border="1"> | <table width="100%" border="1"> | ||
<tr> | <tr> | ||
− | < | + | <th width="26%">Element</th> |
− | + | <th width="63%">Values (type or enumerated)</th> | |
− | + | <th width="11%">Default Value</th> | |
− | < | ||
− | |||
− | |||
− | < | ||
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | < | + | <th colspan="3">Required Elements</th> |
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>DataPath</td> |
− | + | <td><relative system path></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>Description</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>ModDrv</td> |
− | + | <td>RawText<br/>zText<br/>RawCom<br/>RawCom4<br/>zCom<br/>HREFCom<br/>RawFiles<br/>RawLD<br/>RawLD4<br/>zLD<br/>RawGenBook</td> | |
− | < | + | <td> </td> |
− | |||
− | |||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | < | + | <th colspan="3">Elements required for proper module access</th> |
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>CipherKey</td> |
− | + | <td><string> (typically in a format matching the pattern: /[0-9]{4}[A-Za-z]{4}[0-9]{4}[A-Za-z]{4}/</td> | |
− | + | <td> </td> | |
− | <td | ||
− | |||
− | <td | ||
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>BlockType</td> |
− | + | <td>BOOK<br/>CHAPTER<br/>VERSE</td> | |
− | < | + | <td>CHAPTER</td> |
− | |||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>CompressType</td> |
− | + | <td>ZIP<br/>LZSS</td> | |
− | < | + | <td>LZSS</td> |
− | |||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>BlockCount</td> |
− | <td | + | <td><integer></td> |
− | <td | + | <td>200</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | < | + | <th colspan="3">Elements required for proper rendering</th> |
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>GlobalOptionFilter</td> |
− | + | <td> | |
− | < | + | GBFStrongs<br/>GBFFootnotes<br/>GBFScripref<br/>GBFMorph<br/>GBFHeadings<br/> |
− | + | ThMLStrongs<br/>ThMLFootnotes<br/>ThMLScripref<br/>ThMLMorph<br/>ThMLHeadings<br/>ThMLVariants<br/>ThMLLemma<br/> | |
− | ThMLStrongs | + | UTF8Cantillation<br/>UTF8GreekAccents<br/>UTF8HebrewVowels<br/> |
− | + | OSISStrongs<br/>OSISFootnotes<br/>OSISScripref<br/>OSISMorph<br/>OSISHeadings<br/>OSISRedLetterWords | |
− | <td | + | </td> |
+ | <td> </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>Direction</td> |
− | + | <td>RtoL, LtoR</td> | |
− | + | <td>LtoR</td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>SourceType</td> |
− | + | <td>Plaintext<br/>GBF<br/>ThML<br/>OSIS</td> | |
− | < | + | <td>Plaintext</td> |
− | |||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>Encoding</td> |
− | + | <td>UTF-8<br/>Latin-1</td> | |
− | + | <td>Latin-1</td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>DisplayLevel</td> |
− | <td | + | <td><integer></td> |
− | <td | + | <td>1</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>Font</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>OSISqToTick</td> |
− | + | <td>true/false</td> | |
− | + | <td>true</td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | < | + | <th colspan="3">elements to indicate features</th> |
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>Feature</td> |
− | + | <td>StrongsNumbers<br/>GreekDef<br/>HebrewDef<br/>GreekParse<br/>HebrewParse<br/>DailyDevotion<br/>Glossary</td> | |
− | < | + | <td> </td> |
− | |||
− | |||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>GlossaryFrom</td> |
− | + | <td><OSIS:Lang identifier></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>GlossaryTo</td> |
− | + | <td><OSIS:Lang identifier></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | < | + | <th colspan="3">General informatic and installer elements</th> |
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>About</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>Version</td> |
− | + | <td><version string></td> | |
− | + | <td>1.0</td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>History_x.x</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>MinimumVersion</td> |
− | + | <td><version string></td> | |
− | + | <td>1.5.1a</td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>Category</td> |
− | + | <td>Daily Devotional<br/>Glossaries<br/>Cults / Unorthodox / Questionable Material<br/>Essays</td> | |
− | + | <td> </td> | |
− | |||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>LCSH</td> |
− | + | <td><tree/string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>Lang</td> |
− | + | <td><OSIS:Lang identifier></td> | |
− | + | <td>en</td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>InstallSize</td> |
− | + | <td><integer (indicating bytes)></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>SwordVersionDate</td> |
− | + | <td><ISO date string (yyyy-mm-dd)></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>Obsoletes</td> |
− | + | <td><name of module></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | < | + | <th colspan="3">Copyright & Licensing related elements</th> |
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>CopyrightHolder</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>CopyrightDate</td> |
− | + | <td><integer (indicating year)></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>CopyrightNotes</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>CopyrightContactName</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>CopyrightContactAddress</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>CopyrightContactEmail</td> |
− | + | <td><string></td> | |
− | </td> | + | <td> </td> |
− | <td | + | </tr> |
− | <td | + | <tr> |
+ | <td>ShortPromo</td> | ||
+ | <td><string></td> | ||
+ | <td> </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>ShortCopyright</td> | ||
+ | <td><string></td> | ||
+ | <td> </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>DistributionLicense</td> |
− | + | <td>Public Domain<br/>Copyrighted<br/>Copyrighted; Permission to distribute granted to CrossWire<br/>Copyrighted; Free non-commercial distribution</td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>DistributionSource</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>DistributionNotes</td> |
− | + | <td><string></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td | + | <td>TextSource</td> |
− | + | <td><string, probably a URL></td> | |
− | + | <td> </td> | |
− | <td | ||
− | <td | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
=Things that should move elsewhere= | =Things that should move elsewhere= |
Revision as of 18:32, 6 September 2007
Module Repositories
List of known Module Repositories
Module Development
OSIS Book Name Abbreviations
.conf File Layout
The conf file tell the Sword engine how to treat installed module files, etc. which kind of markup they contain, and so forth.
Each conf file begins with [name]. This must be on the first line, and start the first line. It can only contain A-Z, a-z and 0-9. It should be a short, well known abbreviation.
Below is a listing of the possible directives in that file. Each of these directives of the form key=value.
Element | Values (type or enumerated) | Default Value |
---|---|---|
Required Elements | ||
DataPath | <relative system path> | |
Description | <string> | |
ModDrv | RawText zText RawCom RawCom4 zCom HREFCom RawFiles RawLD RawLD4 zLD RawGenBook |
|
Elements required for proper module access | ||
CipherKey | <string> (typically in a format matching the pattern: /[0-9]{4}[A-Za-z]{4}[0-9]{4}[A-Za-z]{4}/ | |
BlockType | BOOK CHAPTER VERSE |
CHAPTER |
CompressType | ZIP LZSS |
LZSS |
BlockCount | <integer> | 200 |
Elements required for proper rendering | ||
GlobalOptionFilter |
GBFStrongs |
|
Direction | RtoL, LtoR | LtoR |
SourceType | Plaintext GBF ThML OSIS |
Plaintext |
Encoding | UTF-8 Latin-1 |
Latin-1 |
DisplayLevel | <integer> | 1 |
Font | <string> | |
OSISqToTick | true/false | true |
elements to indicate features | ||
Feature | StrongsNumbers GreekDef HebrewDef GreekParse HebrewParse DailyDevotion Glossary |
|
GlossaryFrom | <OSIS:Lang identifier> | |
GlossaryTo | <OSIS:Lang identifier> | |
General informatic and installer elements | ||
About | <string> | |
Version | <version string> | 1.0 |
History_x.x | <string> | |
MinimumVersion | <version string> | 1.5.1a |
Category | Daily Devotional Glossaries Cults / Unorthodox / Questionable Material Essays |
|
LCSH | <tree/string> | |
Lang | <OSIS:Lang identifier> | en |
InstallSize | <integer (indicating bytes)> | |
SwordVersionDate | <ISO date string (yyyy-mm-dd)> | |
Obsoletes | <name of module> | |
Copyright & Licensing related elements | ||
CopyrightHolder | <string> | |
CopyrightDate | <integer (indicating year)> | |
CopyrightNotes | <string> | |
CopyrightContactName | <string> | |
CopyrightContactAddress | <string> | |
CopyrightContactEmail | <string> | |
ShortPromo | <string> | |
ShortCopyright | <string> | |
DistributionLicense | Public Domain Copyrighted Copyrighted; Permission to distribute granted to CrossWire Copyrighted; Free non-commercial distribution |
|
DistributionSource | <string> | |
DistributionNotes | <string> | |
TextSource | <string, probably a URL> |
Things that should move elsewhere
Module Requests
Here is a place to request modules you would like to be made. If the Copyright holder has been contacted, the permissions granted or not can be put here.
Bible Versions
Permission has been granted and the module is available as "TurNTB" in beta Refdoc 18:04, 29 August 2007 (MDT)
Books
English
Devotionals
Lexicons
New Modules
List of modules that are being developed
General Book
English
Portuguese
Brazilian
SBB denied permissions, someone from Brasília intends to try again.
SBT has been contacted, anticipating answer.
IBB has left the door open to a future favourable answer. Need to follow up with request for permissions on Versão Revisada and its Almeida Século XXI successor.
Corrigida low-quality copies are available, we need to evaluate if it is worthwhile to move forward: old translation, not too good, OCR will be troublesome.
Tradução Brazileira copy obtained, working library contacts to find a book scanner.
For all these, please ask for further information at sword-devel.
Iberian
Permissions were obtained on a number of texts from SBP, as per post at sword-devel.