Notices


Reply
Thread Tools
Posts: 60 | Thanked: 7 times | Joined on Jan 2008
#71
Crosswire.org seems to definitely be down. I've tried over a 3-day period, from two different computer/ISP and continue to get a very long wait followed by 404 errors from web browsers, and ftp to crosswire.org returned "Unknown host". The site DOES respond to Pings.

A question re: manual installation. Is this done by the swordutils.py program in the /usr/share/rapier directory? If so it looks like I just need to change dataPath to point to my local directory where I have placed the Sword files. Is that correct or am I oversimplifying the process? (What I want to do is to "install" the converted Sword files I have on my desktop Linux machine.)

Walt
 
Posts: 111 | Thanked: 31 times | Joined on May 2007
#72
Originally Posted by walts View Post
A question re: manual installation. Is this done by the swordutils.py program in the /usr/share/rapier directory? If so it looks like I just need to change dataPath to point to my local directory where I have placed the Sword files. Is that correct or am I oversimplifying the process? (What I want to do is to "install" the converted Sword files I have on my desktop Linux machine.)
Not exactly: the swordutil.py file is not supposed to be used manually.

What i meant was to donwload the module.zip file with whatever tool you want, and then to unzip it in your data_path (as shown with "gconftool-2 -g /apps/osso/rapier/data_path").
 
Posts: 60 | Thanked: 7 times | Joined on Jan 2008
#73
What i meant was to donwload the module.zip file with whatever tool you want, and then to unzip it in your data_path (as shown with "gconftool-2 -g /apps/osso/rapier/data_path").
That's in effect what I've done. Remember these are the NIV files I've processed through the old shell scripts, and they are clearly text format while the Rapier files are apparantly encoded in some way. When I open my files in Rapier, all I get is a list of chapter numbers in parentheses. I am assuming there is some critical processing stem I'm missing.

With the crosswire site inaccessible I can't look, but do you know if there is a set of instructions on "importing" a self-made module into Sword?

Walt
 
Posts: 111 | Thanked: 31 times | Joined on May 2007
#74
Hello.

If i unzip KJV.zip, it contain the following:

./mods.d/kjv.conf
./modules
./modules/texts
./modules/texts/ztext
./modules/texts/ztext/kjv
./modules/texts/ztext/kjv/nt.bzv
./modules/texts/ztext/kjv/nt.bzz
./modules/texts/ztext/kjv/nt.bzs
./modules/texts/ztext/kjv/ot.bzz
./modules/texts/ztext/kjv/ot.bzv
./modules/texts/ztext/kjv/ot.bzs
./modules/texts/ztext/kjv/kjvpref.rtf

Now, when the "create your NIV sword module" scripts were still available on the web, i builded such a module , and it contains:

./mods.d/niv.conf
./modules/texts/rawtext/niv
./modules/texts/rawtext/niv/lucene
./modules/texts/rawtext/niv/lucene/_qng.cfs
./modules/texts/rawtext/niv/lucene/deletable
./modules/texts/rawtext/niv/lucene/segments
./modules/texts/rawtext/niv/ot
./modules/texts/rawtext/niv/nt.vss
./modules/texts/rawtext/niv/nt
./modules/texts/rawtext/niv/ot.vss

All i know is, compressed text are not supposed to be located in the same place as rawtext, but i do not know more than that.

Good luck .
 

The Following User Says Thank You to pamadio For This Useful Post:
Posts: 60 | Thanked: 7 times | Joined on Jan 2008
#75
That helps. I had the niv text in the ztext folder. I moved it and changed niv.conf accordingly:
Code:
[NIV]
DataPath=./modules/texts/rawtext/niv/
ModDrv=RawText
SourceType=ThML
GlobalOptionFilter=ThMLFootnotes
GlobalOptionFilter=ThMLScripref
GlobalOptionFilter=ThMLHeadings
Lang=en
Version=1.0
Description=New International Version
About=NIV from Bible Gateway.
LCSH=Bible. English.
DistributionLicense=Unknown

My file structure looks the same as yours, except that I don't have a deletables or _qng.cfs files in /lucene.

Unfortunately, I still get just verse numbers in parentheses when I open a book! I'll keep on groping. Thanks for your help!

Walt
 
Posts: 60 | Thanked: 7 times | Joined on Jan 2008
#76
I also noted that my *.vss files are empty. If they are supposed to be indexes, that might be the problem. It looks like either imp2vss or vpl2mod creates these, but so far I can't find any more information. Do you have any info about the se programs?

Walt
 
Posts: 111 | Thanked: 31 times | Joined on May 2007
#77
I am afraid i know nothing about them.

The crosswire site seems to be available again, there seems to be a forum dedicated to module making:

http://www.crosswire.org/forums/mvnf...hreads?forum=9

May be there s more information over there ?
 
Posts: 60 | Thanked: 7 times | Joined on Jan 2008
#78
crossfire is still giving me trouble. I'll keep trying and will report bck what I find.

Thanks!

Walt
 
Posts: 4 | Thanked: 1 time | Joined on Aug 2008
#79
Has anyone been able to import a .bbl file into Rapier? Any suggestions on a pc desktop program maybe that can convert a .bbl module to a rapier-friendly format?
 
Posts: 4 | Thanked: 1 time | Joined on Aug 2008
#80
For anyone who cares, I was able to finally convert .bbl files into sword modules using the following process:
  1. Rename the .bbl file to .mdb
  2. Open with Access (if database locked with a password, google is your helper). Don't worry about any of the warnings you may get about old versions of Access
  3. Open the "Bible" table
  4. Export this file as an Excel 97-03 file
  5. Use your excel-fu to format this file into a vpl file that looks like the example below. This file should have exactly 31102 files.
  6. At this point I had to remove all bbl markup for italics or red text (using find/replace in my text editor) as I couldn't figure out how to change the markup into something Rapier would recognize
  7. Save this formatted text as a text file (or .vpl, it doesnt matter)
  8. Use the vpl2mod utility from http://crosswire.org/ftpmirror/pub/sword/utils/win32/
  9. Run the vpl2mod utility using the following command line:
    vpl2mod <inputfile.vpl> <outputpath> 1 (that 1 at the end is important)
  10. Create your own .conf file (see my example below)
  11. And if all that works, you simply can place these files into the directory you've specified in Rapier. Ta-da!

It sounds like a lot of work, but actually following the above process only takes a couple minutes for each .bbl file you have. You could definitely use other sources for the text and follow the above instructions from step 8.

Sample .vpl file (more info)
Genesis 1:1 In the beginning God created the heavens and the earth.
Genesis 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.


Sample .conf file (more info)

[VERSION]
DataPath=./modules/texts/text/VERSION/
ModDrv=RawText
BlockType=BOOK
SourceType=GBF
Lang=en
GlobalOptionFilter=
SwordVersionDate=2006-10-25
Version=
Description=
About=
TextSource=
DistributionLicense=
LCSH=Bible. English.
 

The Following User Says Thank You to sv7nsson For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:28.