[sword-devel] importing modules into a relational database
Mon, 25 Mar 2002 00:44:49 -0700
Thanks a lot Chris and Troy. I will just use my GBF parser to get modules
into my database. It is good to know that other modules can be converted
back to GBF. Is there any loss that happens with this conversion? Info in
a sword module perhaps that isnt supported in GBF?
Also, Diatheke looks cool, I guess it would be possible to have PHP query
that to get data for a website. I can't wait to try this out. Any thoughts
about speed... MySQL vs. Diatheke?
----- Original Message -----
From: "Chris Little" <email@example.com>
Sent: Sunday, March 24, 2002 3:07 PM
Subject: RE: [sword-devel] importing modules into a relational database
> > -----Original Message-----
> > From: firstname.lastname@example.org
> > [mailto:email@example.com] On Behalf Of Troy A.
> > Griffitts
> > Sent: Sunday, March 24, 2002 12:21 PM
> > To: firstname.lastname@example.org
> > Subject: Re: [sword-devel] importing modules into a
> > relational database
> > n8 wrote:
> > >
> > > I am also working on importing modules into a relational database
> > > (MySQL) for a web based project. It will be using a Flash MX front
> > > end.
> > >
> > > I am now writing / debugging a PHP class that parses the
> > GBF format (
> > > http://ebible.org/bible/gbf.htm ) into my database. I
> > decided to use this
> > > format, because I couldn't understand how I would parse the Sword
> > > module format without any chapter / verse information.
> > Plus I really
> > > only need the WEB and KJV to start with.
> > :) Well, you can use sword/utilities/mod2vpl to get any of
> > our modules outputted with verse info, if you need others.
> > You really shouldn't look at the actual data files, as they
> > are very different depending on the driver that handles them.
> Or you can use Diaspora, which can export our modules to GBF.
> > >
> > > Anyway, I am happy to share this class if it would be of any help.
> > >
> > > Also, Troy, what is this soap server you speak of... can
> > you point me
> > > to some information?
> > Chris will have to give the info and state of the soap stuff.
> It's in CVS in apps/console/diatheke/soap. Basically you need to get
> diatheke (the console version) running, then you can use sapouni.cgi.
> (soapatheke.pl in the same directory is a SOAP client for testing your
> SOAP server.)