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

Chris Burrell chris at burrell.me.uk
Sun Jul 1 08:15:31 MST 2012


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?

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20120701/4c239a4e/attachment.html>

More information about the jsword-devel mailing list