[sword-devel] Help!

Greg Hellings greg.hellings at gmail.com
Wed Nov 16 22:21:58 MST 2005


Shane,

That depends on what kind of "raw text" you have. If it is just straight
text that is on one "verse per line" you can use the program vpl2mod
(already installed if you build from source on Linux). If each verse is more
than one line long you would have to use the "import format" - before each
verse you enter a like as such:
$$$Genesis 1:1
In the beginning God created the heavens and the earth.
$$$Genesis 1:2
And the earth was without form and void, and...

So on and so forth. That tool would use the imp2vs program (again, also
intsalled when you build from source on Linux). Each, or at least most, of
these tools are available in Windows forms if you need them. Beyond that,
you also need to create a .conf file to put into the mods.d folder. It
sounds like you might already know how to do this if you were just copying
over from another module. That is probably one of the easier ways to do it,
but you can find a description on the website at
http://www.crosswire.org/sword/develop/swordmodule/ - section 2.1 will be
helpful for the conf file. The rest of it can be helpful for the rest of
your work also, but goes into more detail about other types of modules and
items like that.

--Greg H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/sword-devel/attachments/20051117/ef3d7352/attachment.html


More information about the sword-devel mailing list