[jsword-devel] Best way of keying verses in a separate database

Martin Denham mjdenham at gmail.com
Mon Jul 2 06:15:12 MST 2012


Hi Chris,

I have no answers.  I am still using pre-av11n code in AB but the second
question you raised in your initial e-mail is troubling me: "is there a way
to translate from one versification to another".

A simple example scenario is a user reading a bible with one versification
wishing to view associated commentary having a different versification.  So
for example a Kazakh user reading Psalm 50 in a SynodalP bible wishing to
view MHC would be shown the wrong chapter if there is no mapping between
versifications because (I am told) most Psalms in SynodalP are offset by 1.

Sorry, I have no answers but hopefully somebody does.

btw I understand from DM that JSword av11n implementation was delayed a few
weeks by other unrelated issues, so DM is still working on it.

Martin


On 1 July 2012 16:15, Chris Burrell <chris at burrell.me.uk> wrote:

> Hi
>
> Any ideas on this? The only way I can think of is to lookup the OSIS ID in
> one version and hope it's present in a different version. Will this work
> for Books of different languages?
> Chris
>
>
> On 8 June 2012 17:25, Chris Burrell <chris at burrell.me.uk> wrote:
>
>> Hi all
>>
>> I used to be using the getOrdinal()  on the verse range to key a set of
>> references in my database against particular resources. Now that it's
>> deprecated, what's the best way. I'm happy to assume that my database will
>> be keyed in a particular known version (e.g. KJV). I need a way to key this
>> in numerical form to allow me to do intersection of ranges, etc.
>>
>> Should getOrdinal be re-instated? Also, is there a way to translate from
>> one versification to another? So if the user is looking at version x, I'd
>> like to translate what he's looking at to the version stored in the
>> database.
>>
>> Any ideas?
>>
>> Chris
>>
>>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20120702/a406696d/attachment.html>


More information about the jsword-devel mailing list