[sword-devel] Headers in OSIS Bible & Included Additions

gordion at o2active.cz gordion at o2active.cz
Tue Jan 26 23:29:45 MST 2016


Hello,
 
I apologise if this mailing list is not appropriate for my 2 questions:
 
Question #1:


I want to create my own sword module (for my private purpose only - license reason) for the bible, but I do not understand correctly how to code four header types (title tags) - see images http://i.imgur.com/PBac4S5.png and http://i.imgur.com/BMl6Ipe.png
 
(in HTML meaning) H1 ("Pocatek") and H2 ("STVORITEL A STVORENI" ev. "TAJEMSTVI A DIV STVORENI") are headers that cover more chapters
 
H3 ("Vse pro cloveka") is a header for few verses, H4 ("Buh tvori slovem...") is "description" of H4. But as you can see sometimes H3 misses (Gen 1:1).
 
I suppose that the basic code should look like this (this code originates from http://crosswire.org/wiki/OSIS_Bibles):
 
<div type="bookGroup">
	<title>Old Testament</title>
	<div type="book" osisID="Gen" canonical="true">
<title type="main" short="Genesis">PRVNI MOJZISOVA - GENESIS</title>
 <TITLE TYPE="?H1?">Pocatek</TITLE>
 <TITLE TYPE="?H2?">STVORITEL A STVORENI</TITLE>
 <TITLE TYPE="?H4?">Buh je stvoritel</TITLE>
<chapter osisID="Gen.1" chapterTitle="CHAPTER 1.">
<verse sID="Gen.1.1" osisID="Gen.1.1"/>In the beginning ...
 <verse eID="Gen.1.1"/>
 <verse sID="Gen.1.2" osisID="Gen.1.2"/>And the earth was without form ...
 <verse eID="Gen.1.2"/>
 <TITLE TYPE="?H2?">TAJEMSTVI A DIV STVORENI</TITLE>

 <TITLE TYPE="?H3?">Vse pro cloveka</TITLE>

 <TITLE TYPE="?H4?">Buh tvori slovem</TITLE>

<verse sID="Gen.1.3" osisID="Gen.1.3"/>And God said...
<verse eID="Gen.1.3"/>

...
 </chapter>
	</div>
</div>



Can you, please, direct me how to encode these four titles?


Question #2:


I want to include deutherocanonical "Additions to Esther" directly into the "Esther" book. I see three ways:
1. insert the Addition as "included chapter" - with special verse numbers, different from Esther "envelope"
2. insert the Addition as the free text paragraph (no verse numbers, only text with the title "BEGINNING OF THE DEUTHEROCANONICAL TEXT" and the trailer "END OF THE DEUTHEROCANONICAL TEXT")
3. create these Additions as special books and at Esther insert only link


What is the recommended way? What is the corresponding OSIS code?


Thank you very much (and I hope you understand my horrible English)


Best Regards


Ivo Dostal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20160127/706923a1/attachment.html>


More information about the sword-devel mailing list