[sword-devel] How to make commentary module

Marjan Šavli marjan.savli at gmail.com
Sun Jan 9 10:49:49 EST 2022


Hi!

Trying to make commentary module.
XML validates.
Osis2mod makes module.
In Xiphos or Andbible or Bishop there is "TEST" module.
But none commentary for Gen1, ..., Gen 6. as it is in test.xml.

Prepared also skeleton for whole Bible (Download link
<https://wetransfer.com/downloads/d1d032a09dfeb12203a6def92a09f7e620220109154839/e6cfdbaaa7840773056ebf7c59e4307220220109154904/dfbb95>
- 7 days). But problem is the same.

Can you give me a hint what I am doing wrong?

Best regards,

Marjan


====test.xml==========
<?xml version="1.0" encoding="UTF-8" ?>
<osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="
http://www.bibletechnologies.net/2003/OSIS/namespace
M:/SloKJVA/xml_test/osisCore.2.1.1.xsd">

  <osisText osisIDWork="TEST" osisRefWork="Commentary" xml:lang="en"
canonical="true">
            <header>
                <work osisWork="TEST">
                    <title>TEST</title>
                    <type type="OSIS">Commentary</type>
                    <identifier type="OSIS">TEST_ID</identifier>
                    <rights type="x-copyright">Licenca: CC BY-NC-ND
4.0</rights>
                    <scope></scope>
                    <refSystem>Commentary</refSystem>
                </work>
            </header>

    <div type="bookGroup">
      <div type="book" osisID="Gen">
        <chapter osisID="Gen.01">
               <div type="section" annotateType="commentary"
annotateRef="Gen.1.1"><p>Blah blah...</p>
         </div><div type="section" annotateType="commentary"
annotateRef="Gen.1.2"><p>Blah blah...</p>
         </div><div type="section" annotateType="commentary"
annotateRef="Gen.1.3"><p>Blah blah...</p>
         </div><div type="section" annotateType="commentary"
annotateRef="Gen.1.4"><p>Blah blah...</p>
         </div><div type="section" annotateType="commentary"
annotateRef="Gen.1.5"><p>Blah blah...</p>
         </div><div type="section" annotateType="commentary"
annotateRef="Gen.1.6"><p>Blah blah...</p>
         </div>
        </chapter>
      </div>
    </div>
  </osisText>
</osis>
=============


=====test.conf====
[TEST]

Description=Test
DataPath=./modules/comments/zcom/test
Encoding=UTF-8
ModDrv=zCom
BlockType=CHAPTER
SourceType=OSIS
CompressType=ZIP

GlobalOptionFilter=UTF8GreekAccents
GlobalOptionFilter=OSISHeadings
GlobalOptionFilter=OSISScripref

TextSource=https://test.net
DistributionLicense=Public Domain

Category=Commentaries
OSISVersion=2.1.1
MinimumVersion=1.5.9
About=test
Lang=en
LCSH=Bible--Commentaries.
SwordVersionDate=2022-01-08
InstallSize=2000
Version=1.0
History_1.0=Just Initial Release for testing
================


======Making module======
C:\temp\sword\osis2mod.exe C:\temp\sword\sword\modules\comments\zcom\test
C:\temp\sword\test_sword.xml -v KJVA -z
You are running osis2mod: $Rev: 3431 $
SUCCESS: C:\temp\sword\osis2mod.exe: has finished its work and will now rest
=============


=============
Directory of c:\Temp\sword\sword\modules\comments\zcom\test
09. 01. 2022  16:22                 0 nt.bzs
09. 01. 2022  16:22            82.460 nt.bzv
09. 01. 2022  16:22                 0 nt.bzz
09. 01. 2022  16:22                24 ot.bzs
09. 01. 2022  16:22           300.280 ot.bzv
09. 01. 2022  16:22             2.398 ot.bzz
=============
Directory of c:\Temp\sword\sword\mods.d
09. 01. 2022  15:03               537 test.conf
===============
-------------- naslednji del --------------
HTML priponka je pre�i��ena...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20220109/ce2e3816/attachment-0001.html>


More information about the sword-devel mailing list