|
From: Patrick L. <pa...@la...> - 2001-11-12 21:15:08
|
Guys, Before there was the Tsaphan project I had another project called JScripture which allows verses to be downloaded from the Net. BAsically it would parse verses (aka screen scrape;) retrieved from biblegateway.com. The verses are then stored locally to a serialized Java object. Well now with the Tsaphan project the verses are no longer stored in serialized objects but directly to disk in the database. So here's my problem: JScripture supported all versions NIV, NASB, KJV, NKJV, etc and Tsaphan supports only the NASB. I would like to use the JScripture parsing algo to grab the verses and store them to a database so that the data can be offered in the tsaphan project. So basically there will be hacking involved. Instead of the verses being stored to a Java object, which only another jscripture client can read, we want to store that data into the database. The hack is to redirect the "local-cache" feature of JScripture and dump the data to the db. If anybody is interested in this hack please let me know! This is a good oppurtunity for the Java guys to contribute! You can download the jscripture jar from http://sourceforge.net/project/showfiles.php?group_id=15887 Click on the latest vesion and look at the notes and changelog for directions. The source for the GospelComReader (I think I grabbed verses from gospelcom.net) is at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jscripture/jscripture/src/main/org/lacson/utils/GospelComReader.java?rev=1.2&content-type=text/vnd.viewcvs-markup (try to piece this very long URL since most email clients break this up) The class was originally written in Jan 30, 2001 so a lot has happened since then! but it still works! -P |