[sword-devel] Sword, PHP, and PostNuke

sword-devel@crosswire.org sword-devel@crosswire.org
Tue, 07 Jan 2003 17:44:45 +0100


Hi!

There are SWIG (www.swig.org) bindings of Sword. PHP is also supported
by Swig, so you can try this.

The SWIG bindings are in the bindings/swig dir of the source code
package.

If you need help getting started let me know.

Joachim

Curtis Farnham <cdfmail@yahoo.com> schrieb am 07.01.2003, 16:22:37:
> Hello all!
> 
> I joined the Sword Project about a week ago because I
> want to write a module for the PostNuke CMS
> (http://www.postnuke.com) that uses Sword modules and
> provides Bible text searching and lookup capabilities.
> 
> I wrote a PostNuke module already
> (http://pn.e-cdf.com) that works with Sword texts, but
> the only way I found to do it was to use mod2vpl and a
> PHP script I wrote to first convert texts to YAEBTF
> (Yet Another Electronic Bible Text Format ;-)  ). 
> It's a type of CSV, actually.  But before I go any
> farther, I want to bring up the question here.
> 
> Has anybody ported the Sword API (or parts of it) to
> PHP?  It'd be really nice if I could just provide the
> PostNuke module written around a PHP-ported Sword and
> tell people to go to the Sword site and get whatever
> texts they'd like.
> 
> At a bare minimum, I need help getting/developing PHP
> code that properly interprets bks, chs, and vss files.
>  I don't know C/C++, so my attempts at manually
> interpreting the Sword code were unproductive.  If
> somebody can at least help me with the bks, chs, and
> vss files, I can probably handle it from there.
> 
> Thanks!
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> _______________________________________________
> sword-devel mailing list
> sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel