[jsword-devel] bible modules

Alan Rouse jsword-devel@crosswire.org
Mon, 10 Nov 2003 18:57:10 -0500


I have an ancient DOS version of WordSearch (NIV).  I would love to convert that Bible so that I can read it with one of the sword ui's.  

Conveniently, my version of WordSearch permits me to export the entire (or individual NT and OT, or any other range) as a plain text file. Each verse is on a single line, with the reference at the beginning of the line... like

GEN 1:1 In the beginning God created the heavens and the earth. 
GEN 1:2 Now the earth was* formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over the waters. 
* Or possibly became 
GEN 1:3 And God said, "Let there be light," and there was light. 

I can export it with or without the notes...

I'm a competent java programmer so I think I should be able to pull this off, given a little information.  It should not be hard to convert this to something like GBF (using the ASV module as a pattern), and drop them into a texts/rawtext/niv directory just like the ASV (and create a corresponding conf file in the appropriate directory.  However, there is that little matter of those index files. 

Surely there already exists code to generate index files.  Can someone point me to the details I'm lacking so I can accomplish this?

Thanks!