[sword-devel] Diatheke documentation

nathan lumi.n8 at gmail.com
Mon Feb 21 18:03:17 MST 2005


Thanks for the info Chris.

I looked over the sword web project but I am really integrating
scripture tools into other PHP applications so I decided to stick with
Diatheke for now...   I

Today however i discovered the Swig php bindings.   I saw some
examples in perl.  Has anyone used this with php yet?   Do i have to
install swig on my server or is it enough to have sword installed... 
Do I just include some files and have the sword classes available to
me... any info is appreciated.  I'm running debian stable by the way.

Thanks again,
-=nathan



On Sun, 20 Feb 2005 21:29:25 -0600, Chris Little <chrislit at crosswire.org> wrote:
> 
> 
> nathan wrote:
> > This is looking like some pretty incredible software.  Good work to
> > everyone who is involved.
> >
> > Question: I am having trouble finding information about how to fully
> > use all the features of Sword through Diatheke.  Is there some place
> > that I am missing?  :-)
> 
> No, there's no documentation on Diatheke beyond what is printed when it
> executes without arguments. I would say it is no longer supported
> software, in that it isn't being developed any longer.
> 
> > Specifically, what can I do with these flags:
> > [-t script] [-v variant#(-1=all|0|1)]
> 
> [-t script] allows you to do transliteration. I don't remember which
> options are allowed, but it should definitely allow "Latin" as an
> option, and possibly "Latin-1".
> 
> -v allows you to pick which set of variants are displayed, for modules
> that include variant readings.
> 
> > Also, what features of Sword are not available through the command
> > line interface, anything worth me learning a little about c++ for?  I
> > kind of get the code, because i have been doing php for so long.  I am
> > building a web interface currently and Diatheke is working really
> > well.
> 
> Diatheke can't handle GenBooks at all. It could be added, but it
> wouldn't make sense to use with a command-line interface. For web
> interfaces, we recommend our OSIS Web Tool instead (see
> http://www.crosswire.org/study/).
> 
> --Chris
> 
> _______________________________________________
> sword-devel mailing list
> sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
>


More information about the sword-devel mailing list