Hi all, I'm the "other guy" who's helping Eduard out with the PostNuke/Sword/Bible module. We're calling it "pnBible". I wrote the part that imports the raw Sword modules into the database.
Thanks for all your comments! I was asking about the formats of the vss, chs, and bks files back around the 1st of the year. At that time, I was trying to develop PHP code that would interpret these files in preparation for writing my version of the pnBible PostNuke module. One or more of you commented that the majority of Sword texts follow the King James versification, and I could probably get away with writing code that already "knows" that versification and just reads in the text lines. I decided to go ahead with that idea, since it was better than nothing at all. I just began investigating OSIS recently, and I am anxious to finish writing a script that will handle Sword modules in this format. (In fact, I began the script several days ago. Currently, it just reads a block of text and organizes it into arrays and sub-arrays for content, tags, and tag attributes.) I've gone to the OSIS site listed on the Sword homepage and looked at the sample OSIS markup. But I haven't seen any Sword modules that use OSIS yet. Am I looking in the wrong place? Where can I find them? Many of you have suggested using SWIG bindings, but as far as I can tell, it won't do what Eduard and I want: to make something *completely* in PHP. We can't depend upon server admins to have the Sword libraries installed. Nor will it be well liked if our pnBible depends upon a CGI script being installed. The idea is a PostNuke module written *entirely* in PHP that can read Sword modules and convert them into database tables in order to perform fast searching and lookup. Am I missing something? Will SWIG actually translate the Sword library into PHP, or will it simply create the "bridge" so PHP scripts can use the Sword library? God bless, Curtis (a.k.a. "curtisdf") --- Martin Gruner <[EMAIL PROTECTED]> wrote: > Sword is not used in this project. Only the text > files from Sword are > converted. > > Martin > > Am Montag, 3. März 2003 10:27 schrieb Eduard > Wustenveld: > > Hello, > > > > I am currently working on a project (together with > another guy) to include > > a Bible in a postnuke site. > > First I started working on this project by my self > and used a script that > > created sql files from the sword modules. Now with > the new guy the module > > can use the RAW text files from sword and write > them into a mysql table so > > the postnuke module can search within the bible > texts. > > > > The module is currently in developing proces and > version 0.5 bèta will be > > released within a few weeks on > http://onlinebible.sourceforge.net/ > > > > Just wanted to let you all know that Sword can > almost be used in a > > Postnuke/PHP environment, when the postnuke module > is finished we will be > > working on a stand-alone module for all websites > that want to use a Bible. > > So the API of Sword is not used, only the RAW text > files are used to get > > the Bible into a database. > > > > Regards, > > Eduard Wustenveld > > _______________________________________________ > sword-devel mailing list > [EMAIL PROTECTED] > http://www.crosswire.org/mailman/listinfo/sword-devel __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ _______________________________________________ sword-devel mailing list [EMAIL PROTECTED] http://www.crosswire.org/mailman/listinfo/sword-devel