[sword-devel] Sword, PHP, and PostNuke
Wed, 8 Jan 2003 17:17:35 -0800 (PST)
pnBible (what I'm calling my project) should run on
any PostNuke site. Both pnBible and PostNuke are
totally written in PHP and use MySQL for data storage
and retrieval, so they should work on any server that
has these things.
I've already published version 0.30 of pnBible to a
subdomain of mine, http://pn.e-cdf.com. But it
requires Sword developer(s) to take Sword modules
through mod2vpl and then run them through a PHP script
I wrote to convert them to something that's easier to
insert into a MySQL database. My goal right now is to
re-write pnBible so these steps aren't needed. This
will allow PostNuke web admins to download Sword
modules directly from the Sword web site and upload
them right to their web sites for (relatively)
It sounds like you need the same information I do.
PostNuke or not, any PHP script that can display
verses would have to know where to go in the NT or OT
files to find them. I'll be glad to share whatever I
come up with.
Do you know any specifics about the formats of the
*.bks, *.chs, and *.vss files?
That's great if you want to help test pnBible. Do you
have a PostNuke site? How much do you know about
I need people to translate pnBible too, so even if you
don't do PostNuke, you might still be able to help.
--- Daniel Adams <infoChi@infomagic.net> wrote:
> I just sent out my e-mail asking about PHP and
> being able to
> display a verse. This PostNuke thing you are
> developing, what platform,
> and would you possibly want help with it? I don't
> have the greatest
> knowledge of the sword source code strategy, but C++
> which it is written
> in, I actually have a lot of expierence with. Also
> do you need help
> testing it?
> By the Grace of God,
> Dan Adams - infoChi@infomagic.net
> 1 Peter 4:10 (NIV)- Each one should use whatever
> gift he has received
> to serve others, faithfully administering God's
> grace in its various
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com] On Behalf
> Of Curtis Farnham
> Sent: Wednesday, January 08, 2003 5:24 PM
> To: firstname.lastname@example.org
> Subject: Re: [sword-devel] Sword, PHP, and PostNuke
> Thanks for trying to help, Joachim!
> I looked into SWIG, but it's over my head. My
> programming experience has been limited to web
> scripting languages and a litle FORTRAN. Besides, I
> think SWIG may be overkill.
> Maybe I am wrong about SWIG, but from what I gather,
> using it would either require becoming intimately
> familiar with the Sword source code (and I don't
> know the language it's written in), or requiring
> all servers on which my module is used have Sword
> installed. Both of these are impractical at best.
> Please let me re-phrase my original request:
> What I envision is for PostNuke site administrators
> simply download Sword text modules to their web
> and use an installation routine that reads those
> modules, determines what books, chapters, and verses
> they contain, and inserts the data into a MySQL
> (Or, just uses the Sword text modules as flat files
> instead of doing the database thing.)
> Regardless of what the project ultimately does with
> the data in the NT and OT files, it needs to be able
> to read *.bks, *.chs, and *.vss files. Otherwise,
> I'll have to limit this project to only those texts
> which match the KJV book-chapter-verse format. I
> *could* do this, but I really don't want to.
> So, I am looking for help with either of the
> A. Obtaining PHP code that can read *.bks, *.chs,
> *.vss files,
> B. understanding the specifics of these files so I
> develop this portion of the code myself. Again, I
> don't understand C and C++ (or whatever language
> is written in). I do have an intermediate knowledge
> of PHP, and I am familiar with basic coding
> and techiques.
> sword-devel mailing list
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.