mvnForum Homepage


Posted by salavine1 at Apr 11, 2009 2:32:08 PM
OSIS Compliant Daily Devotional Help
Hello All,
I installed PBible and like it so I thought that I would create our quarterly daily devotional into an installable book. I have spent 3 days now reading over documentation and building examples to try importing. I would like someone to review what I have so far and tell me what I have done wrong. I can import, but nothing shows up. I have tested in The Sword Project and PBible with the same results. I believe the the CONF file is correct but the XML file needs some work.

Any help or suggestions in this would be greatly appreciated. Once I understand what I'm doing I will start a Tutorial that might help others to create their own. Since there appears to be very little documentation regarding Daily Devotionals.

*PROCESS*
1-Created folder structure listed below.
2-Used XML2GBS.exe to create 3 files idx,dat, bdt (no idea what the 3rd file .bdt is for ).
3-Moved files to idx & dat to the folder listed below.
3-Moved the CONF file the folder listed below.
4-Zipped up the mods.d and & modules folders.
5-Installed the book.
6-Uninstall the book.

*FOLDER STRUCTURE*
\mods.d\test1.conf
\modules\lexdict\rawld\devotionals\test1\text1.dat
\modules\lexdict\rawld\devotionals\test1\text1.idx

*CONF FILE*
[test1]
DataPath=./modules/lexdict/rawld/devotionals/test1/test1
ModDrv=RawLD
SourceType=OSIS
Lang=en
Feature=DailyDevotion
Category=Daily Devotional
Description=Quarterly
About=This is the Adult Quarterly for 2QT 2009
DistributionLicense=Public Domain
LCSH=Devotional calendars.
TextSource=http://www.google.com/
SwordVersionDate=2009-04-11

*XML FILE*
<?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
http://www.bibltechnolgologies.net/OSIS/osisCore.2.1.xsd">
<osisText osisIDWork="KJV" osisRefWork="defaultReferenceScheme" xml:lang="en">
<header>
<work osisWork="KJV">
<title>Adult Daily Devotional</title>
<identifier type="OSIS">Bible.en</identifier>
<refSystem>Bible</refSystem>
</work>
<work osisWork="KJV">
<type type="OSIS">Bible</type>
<refSystem>Bible</refSystem>
</work>
</header>
<date>04.11</date>
<p><div osisID="04.11">This is a test for April 11th</div></p>
<date>04.12</date>
<p><div osisID="04.12">This is a test for April 12th</div></p>
<date>04.13</date>
<p><div osisID="04.13">This is a test for April 13th</div></p>
<date>04.14</date>
<p><div osisID="04.14">This is a test for April 13th</div></p>
<date>04.15</date>
<p><div osisID="04.15">This is a test for April 15th</div></p>
<date>04.16</date>
<p><div osisID="04.16">This is a test for April 16th</div></p>
<date>04.17</date>
<p><div osisID="04.17">This is a test for April 17th</div></p>
<date>04.18</date>
<p><div osisID="04.18">This is a test for April 18th</div></p>
</osisText>
</osis>