|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 3 |
|
| Author |
|
|
Regular Joined: Oct 14, 2009 Post Count: 10 Status: Offline |
Hello, I'm very new to OSIS in general and am working on converting a commentary so that it can eventually be a Sword module. I found a template for the KJV Bible and that hs been helpful to a point, but it seems that a commentary would be handled quite differently. Thanks in advance, John |
||
|
|
Developer Joined: Sep 17, 2003 Post Count: 209 Status: Offline |
I'm afraid we don't have any example commentaries in OSIS. I'm sure you've already spotted http://www.crosswire.org/wiki/OSIS_Commentaries, but as it shows, the fundamental difference between Bibles and commentaries is that Bibles use something like: <verse osisID="Gen.1.1">Blah blah...</verse> to contain the entries, while commentaries use something like: <div type="section" annotateType="commentary" annotateRef="Gen.1.1"><p>Blah blah...</p></div> The contents of these containers can be essentially the same. What makes commentaries significantly different from Bibles is that the basic Bible element (<verse>) takes an osisID to indicate its reference while a commentary's basic element (<div>) takes an annotateRef. OsisIDs must be either single verses or lists of verses, but annotateRefs can be single verses, verse ranges, or lists of verses or ranges. This gives the annotateRef a lot more versatility. It's also possible (in OSIS, though Sword couldn't currently take advantage of this) to have multiple <div>s carry annotateRefs that point to the same verse. |
||
|
|
Regular Joined: Oct 14, 2009 Post Count: 10 Status: Offline |
Thanks! |
||
|
|
|
|
Current timezone is GMT May 22, 2013 6:33:32 AM |