matthiku / cSpot

c-SPOT - the church-Services Planning Online Tool
5 stars 4 forks source link

Provide option to use server-based bible versions #184

Closed matthiku closed 7 years ago

matthiku commented 7 years ago

Issues:

Description

Currently, we are getting bible texts either via the bibles.org API or by "scraping" it from biblehub.com.

However, in the case of the NIV, some churches do not want the 2011 version of hte NIV, which is now the only online available version. In the past, some people have purchased a digital copy of the NIV 1984 and they want to continue to use that.

This request is to make bibles that are available in digital form, also available in c-SPOT. By that we also will become independant of other, online sources for bible texts.

Easyslides (formerly Easislides) used to save bibles in the MS Access format (.mdb) with the following fields:

Implementation:

We will add 3 tables to our database:

This way it will be relatively easy to import the MDB files into our mysql backend database:

  1. Open the mdb file in MS Access
  2. Open the table in Design view and insert a new field (column) as the first field
  3. Insert the same number (like 5) in all fields of this column. This number must then be matched with the version name in the table bibleversions!
  4. Export the file as text file (csv)
  5. Open the csv file in a text editor and remove all lines that do not contain bible text - however, use the lines containing the bible books to id mapping to fill the "biblebooks" table!
  6. Import the csv file into the bibles table
matthiku commented 7 years ago

A few issues remain ... (items 4*)