[sword-devel] STEP modules

Trandahl, Steve sword-devel@crosswire.org
Fri, 17 Nov 2000 05:09:33 -0800

	I am still interested.  The RTF parsing might actually be a good
thing to work on since I don't think I'll have to compile all of SWORD.  I
did do some research on the verse indexing in STEP.  I don't think it was
that complicated.  I have some very simple c programs that are probably
similar to your stepdump.  One of them might parse the index file.  I can
email you what I've got, or I could try to set up cvs on my system.

	Let me know what I can do to help.


-----Original Message-----
From: Troy A. Griffitts [mailto:scribe@crosswire.org]
Sent: Friday, November 17, 2000 6:55 AM
To: sword-devel@crosswire.org; kbrannen@gte.net;
Subject: Re: [sword-devel] STEP modules

Steve, Kevin, and anyone else interested,

	There is a simple utility: stepdump that I just committed to cvs.
should dump any STEP compatible module.  It is NOT Bible text specific
so isn't everything we need for the STEPText module driver, but it is,
at least, a start.

	If anyone can save me some time, please point out in the docs where
might find info on Bible specific modules.

Steve, if you feel ambitious... :) and still want to help.  The really
tough part of this project will be the RTF parsing (at least in my
opinion).  SWORD handles different markups by providing real-time
filters.  Traditionally, 2 are needed: the first to strip all tags away
(mostly used when searching), and the second for rendering.  Once we
finish the new 2 phase filter engine, only a STEPPlain (strip filter)
and STEPThML (or whatever we decide as an intermediate markup) will be
needed.  But for now, we know that we, at least, need at STEPPlain
filter class.  This should merely strip all markup from the text and
output 'Plain' text.  If you want to try, you can see some other filter
examples in sword/modules/filters/

OR....  If you know anything about the Bible reference lookup indexing
of a STEP Bible module, let's work together on that.


>         I'm sorry that I haven't made more progress on the STEP modules.
> I've been planning on "getting around" to starting up again, but things
> pretty busy at work.  I upgraded my Debian Linux box to 2.2, and finally
> sound working so I can listen to music while I write.
>         The next step is probably related to you're proposal.  I need to
> figure out what to do with the decompressed RTF text to make the STEP
> modules compatible with the regular modules.  Obviously, if RTF output is
> needed, that's no problem.  However, I suspect that the output needs to be
> something else, but I don't know what that is.  I'm somewhat daunted at
> task at the moment, because I've never programmed in Linux, Gnome/GTK, or
> KDE/Qt, and I don't have a good understanding of how SWORD works, either.
> However, I would like to very much.  I am somewhat more familiar with
> C++, but as far as I can tell, none of the SWORD modules are written using
> that.
>         So... I would like to remain involved, and any help and direction
> you (and the other SWORD developers) are able to provide will be greatly
> appreciated.

> P.S. Thanks for the CDs.  I'm going to see if anyone at church is
> in SWORD.