mvnForum Homepage

Posted by JenPark at Oct 2, 2013 3:48:12 AM
Creating own Daily Devotional module - stuck on one date
Hello, I'm from Korea and trying to create a new module for daily devotions in my language. I am totally new to computer language (except some little childhood playing with html and javascripts..) and got a lot of help from the wiki guide and some tips from this forum.

It seems that not many people are creating their own daily devotionals so it was difficult to collect necessary information, but anyway I did make a sample file consisting of one month data. I do not have data for a whole year since I am using a bible-reading chart from my own church which comes out on a monthly basis.

I used Notepad++ to create a .imp file which basically goes like this:
(I did use Korean in the text parts like the one for 10.2)

<p> QT: <reference osisRef="Acts.12.1-Acts.12.25"> ACTS 12:1-25</reference></p>
<p>Daily: <reference osisRef="Jer.39-Jer.41"> JER 39-41장</reference></p>
<p>Proverbs: <reference osisRef="Prov.1">PROV 1장</reference></p>
<p>Psalms: <reference osisRef="Ps.121">PS 121편</reference></p>

<p>조용한시간: <reference osisRef="Acts.13.1-Acts.13.12">사도행전13:1-12</reference></p>
<p>매일 성경읽기 본문: <reference osisRef="Jer.42-Jer.44">예레미야서 42-44장</reference></p>
<p>잠언: <reference osisRef="Prov.2">잠언 2장</reference></p>
<p>시편: <reference osisRef="Ps.122">시편 122편</reference></p>

...and such

This is how I made the .conf file:

[QT_MS Church]
Description= Daily Devotionals for Moksan in RNKSV
Category=Daily Devotional
DistributionLicense=Copyrighted; Free non-commercial distribution
About= Daily Devotionals for Moksan Babtist Church Members
LCSH=Devotional calendars.

I put the file moksan.imp inside the folder 'bin' and started importing.

For importing I tried a variety of commands and all of them didn't work except this one:

c:\program files\crosswire\xiphos\bin> imp2ld moksan.imp

This command made two files (.dat & .idx) in the 'bin' folder and I moved these into the folder path I made accordingly. (into the 'moksan' folder.)


the .conf file was put into this folder: ./mods.d

I zipped the ./mods.d folder and the ./modules folder together and uploaded to my iphone.

The link and text to today showed up smoothly, but when I tried to change the date the date would change but the links wouldn't budge. Can anybody fix this problem?

p.s.) I tried adding and deleting the index files made through Xiphos (though I don't know what this index means or is for) but same results..

please help me!! I don't know anything about programming and just followed similar guides for biblical texts so possibly I messed up with folder paths but I couldn't find the correct guides anywhere!!