[sword-devel] diatheke

Chris Little sword-devel@crosswire.org
Mon, 9 Jul 2001 14:21:02 -0700


I'm "officially" releasing diatheke 4.0 now.  For those who don't know,
diatheke is the command-line interface front end I started writing years
ago.  It's the brains behind the cgi interface to Sword and the ActiveX
interface to Sword.  It's got myriad improvements and should now fully
support everything new from Sword 1.5.2 (with a couple extra things from
1.5.3-pre tossed in as well).  Linux & Win32 binaries and source are
available at http://www.crosswire.org/sword/diatheke.

I'm planning a 4.0.1 release shortly since I think I know of a way to
fix the only bug I'm aware of, which is that localized book names aren't
output in UTF-8 so they get mangled.

ActiveDiatheke 1.2 is also posted at the above site.  It's fairly stable
now, though there are a couple more features I want to add in time.

The CGI is working very nicely now, aside from the localized book names
bug.  You can see it in action at http://bible.gotJesus.org.  (Can your
favorite web Bible do this? --
http://bible.gotjesus.org/cgi-bin/diatheke.pl?verse=gen+1%3A1-3&strongs=
on&footnotes=on&morph=on&headings=on&AKJV=on&AraSVD=on&KJV=on&RNKJV=on&J
apSNKI=on&Korean=on&LXXM=on&BHS=on&MHC=on)

I'll get Troy to add the CGI to CrossWire as soon as I can get
Diatheke/TCL, which is running on the eggdrop in #sword, updated to the
new command line syntax of diatheke 4.0.

I think the next version of the CGI will make use of sockets connecting
to a version of diatheke running as a Bible daemon so that some stuff
like the manager classes don't need to get constructed over and over
again on every call.  It might also yield a telnet-accessible Sword
interface.  Fun stuff.

--Chris