[sword-devel] Trying to make my first module
Mon, 24 Nov 2003 17:12:54 -0700 (MST)
As the Module Making guide says (and the utility name implies), xml2gbs is
for GenBook modules. You're probably generating a valid GenBook, but your
.conf file is trying to access a Bible, with effect being that it cannot
The vaguely-named osis2mod is what you'll need to convert OSIS documents
into Sword Bibles.
On Thu, 20 Nov 2003, Tim Meneely wrote:
> I've tried this several times (on and off!) over several months, and have yet
> to produce a module which works. I've got the "Module Making" guide printed
> in front of me, I've tried to make things as simple as possible, and I'm
> I'm trying to convert OSIS into a text module. After I install and start
> Sword (Windows, although all my utilities are run in RH9) I see a tab for my
> trial version, but there's no text in it.
> For today's try I used the Sample OSIS Document from page 4 of the "Getting
> Started with OSIS" guide (pasted in below) and a simple conf file (also
> pasted in below). On my Red Hat box I ran xml2gbs -f0 osisdemo.xml osisdemo
> I copied my osisdemo.conf file to the same mods.d folder used by pre-created
> modules and the produce of xml2gbs (osisdemo.bdt, dat, and idx) to
> Sword shows me a blank for 1 John 1.
> Help, anyone?
> My osisdemo.conf file:
> History_1.0=first attempt
> Category=Sample texts
> Description=TKM OSIS Attempt
> About=This is an attempt to import something, anything, into Sword
> LCSH=Bible. English.
> DistributionLicense=Public Domain
> My osisdemo.xml file:
> <?xml version="1.0" encoding="UTF-8"?>
> <osis xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> <osisText osisIDWork="CEV" osisRefWork="Bible" lang="en">
> <work osisWork="CEV">
> <title>Contemporary English Version</title>
> <identifier type="ISBN">1585160555</identifier>
> <rights type="copyright">Copyright 1995, 2003
> American Bible Society</rights>
> <scope osisRef="John.1.1"/>
> <work osisWork="Bible">
> <div type="book" osisID="John">
> <chapter osisID="John.1">
> <title>Chapter 1</title>
> <v osisID="John.1.1">In the beginning was the
> one who is called the Word. The Word was with
> God and was truly God.</v>
> sword-devel mailing list