Somehow I want to parse the entire document, locate any bible references (for instance: Genesis, gen, ge 1:1) and turn it into the proper Logos notation:
bible.1.22.1-1.22.19.
Note that i don't yet know what that string means, but I have to convert bible refs into it using XSLT to read the whole document and compile a list into
<passage ref="bible.1.22.1-1.22.19"/>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bible.80.1.3 means James 1:3. “the apocryphal books take up numbers 40-60. The OT and NT books are easy to work out (OT 1-39, NT 61-87. If you need to know the numbers of the apocryphal books, the easiest way is to bring up an apocrypha, navigate to one of the books, and copy it's URL to the clipboard. You can extract the reference from there.”
(source: Mark Barnes, how to interpret a reference - Logos Bible Software Forums. http://community.logos.com/forums/t/13844.aspx)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Somehow I want to parse the entire document, locate any bible references (for instance: Genesis, gen, ge 1:1) and turn it into the proper Logos notation:
bible.1.22.1-1.22.19.
Note that i don't yet know what that string means, but I have to convert bible refs into it using XSLT to read the whole document and compile a list into
<passage ref="bible.1.22.1-1.22.19"/>
Here are a few websites which may help in this endeavor:
Religion::Bible::Regex::Reference - search.cpan.org http://search.cpan.org/~holmlund/Religion-Bible-Regex-Reference-v0.9/lib/Religion/Bible/Regex/Reference.pm
Turning Scripture References into Bible Text Pop-ups with Drupal | Salt Websites http://nl.saltwebsites.com/node/26
Sams teach yourself regular ... - Google Books http://books.google.com/books?id=Xrd6z2NMNawC&dq=regular+expression+bible+references&printsec=frontcover&source=in&hl=en&ei=JHyjS8e5Ho2MNtWFgb0I&sa=X&oi=book_result&ct=result&resnum=13&ved=0CDkQ6AEwDA#v=onepage&q=&f=false
http://www.regular-expressions.info/
http://www.regexlib.com/Search.aspx?k=bible
Bible.80.1.3 means James 1:3. “the apocryphal books take up numbers 40-60. The OT and NT books are easy to work out (OT 1-39, NT 61-87. If you need to know the numbers of the apocryphal books, the easiest way is to bring up an apocrypha, navigate to one of the books, and copy it's URL to the clipboard. You can extract the reference from there.”
(source: Mark Barnes, how to interpret a reference - Logos Bible Software Forums. http://community.logos.com/forums/t/13844.aspx)