[sword-devel] OSIS milestones and the attribute n ?

David Haslam dfhmch at googlemail.com
Sat Nov 12 13:47:07 MST 2011


"No, it is quite possible without any changes to the engine.

When a verse is retrieved from the module it is by address in the file. The
trick is to know that one is getting the next adjacent verse with the same
address (keeping going until the address changes) and munging the verse
number output of the first verse in the range and not getting the text for
subsequent verses. In an html parallel view it would also be used to set the
rowspan for the cell. 

There is support in the SWORD engine to ask whether the next verse is a
linked verse. "

Commenting on this explanation....

It's of particular interest to note that the SWORD utilities that produce
output from a module (mod2osis, mod2imp, diatheke) don't actually manage to
achieve this functionality. Rather they replicate the verse text for the
linked verses for every verse reference within the verse range.

You can imagine how unsuitable this can be. 
It's bad enough for two linked verses, but for a much larger number .....
e.g. One of the Myanmar Bibles translations (the Falam version) links
Numbers 7:12-83. Is this a record?


View this message in context: http://sword-dev.350566.n4.nabble.com/OSIS-milestones-and-the-attribute-n-tp4034128p4035237.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

More information about the sword-devel mailing list