mvnForum Homepage


Posted by john0 at Aug 7, 2012 4:38:06 PM
Re: OSIS Compliant Daily Devotional Help
I'm trying to create a reading plan for sword and am having a great deal of trouble finding a simple example of how the source files are to be formatted. Does anyone have a link to an example of a OSIS formatted devotional, or a working snippet?

From what I've been able to glean, I have this:
devtest.imp
$$$01.01
<p><div osisID="01.01">This is a test Jan 1:
<reference osisRef="Genesis.1.1">Genesis 1:1</reference>
</div></p>
$$$01.02
<p><div osisID="01.02">January 2</div></p>
$$$08.08
<p><div osisID="08.09">August 8</div></p>


devtest.conf
[DEVTEST]
DataPath=./modules/lexdict/rawld/devotionals/devtest/devtest
ModDrv=RawLD
SourceType=OSIS
Lang=en
Description=Test
Feature=DailyDevotion
Categoy=Daily Devotional
About= Johns test devotion


commands
imp2ld devtest.imp
cp devtest.conf ~/.sword/mods.d/
cp devtest.* ~/.sword/modules/lexdict/rawld/devotionals/devtest/


But this just doesn't work. The devotion in Xiphos comes up with no text. When I go to view it in a new window (as a lexicon??) it gives 10 entries all the same, with some of the xml as the key, and

01.02
January 2
08.08
August 8

as the text for all of them.

Clearly I have the wrong format, but could someone please point me to an example of what is the correct format???

Thanks