Re: [sword-devel] About database sql

2017-08-13 Thread ref...@gmx.net
I guess this comes down to having a reliable algorithm to calculate lectionary position from current date. And do this presumably for any number of different liturgical calendars. As far as sword goes, this is not in the library so far and any workaround currently would be an annual reissueing of

Re: [sword-devel] About database sql

2017-08-12 Thread Cyrille
Yes ! It's DBD, but the folder named dbd this why I did the mistake. Thanks. Le 12/08/2017 à 12:02, DM Smith a écrit : > Try DBD not dbd. I think it is case sensitive. Using the [NAME] at the top of > the conf. > > DM > >> On Aug 12, 2017, at 6:58 AM, Cyrille wrote: >> >> >> >> Le 12/08/2017 à 1

Re: [sword-devel] About database sql

2017-08-12 Thread DM Smith
Try DBD not dbd. I think it is case sensitive. Using the [NAME] at the top of the conf. DM > On Aug 12, 2017, at 6:58 AM, Cyrille wrote: > > > > Le 12/08/2017 à 11:03, David Haslam a écrit : >> Sword utilities generally assume the current directory is the sword path. > I use now "mod2imp dbd

Re: [sword-devel] About database sql

2017-08-12 Thread Cyrille
Le 12/08/2017 à 11:03, David Haslam a écrit : > Sword utilities generally assume the current directory is the sword path. I use now "mod2imp dbd" no result, but dbd is in /usr/share/sword/modules... In the good place!! Need I the administrator rights to execute mod2imp? I tested with a bible modu

Re: [sword-devel] About database sql

2017-08-12 Thread David Haslam
Sword utilities generally assume the current directory is the sword path. (I have a symbolic link to the folder where the utils are stored in my PC.) The command line argument for mod2imp is just the module name (case-sensitive). You don't need to use the option -r OSIS, as you wish to see the c

Re: [sword-devel] About database sql

2017-08-12 Thread Cyrille
You wrote BDB, but I think you want to write DBD? Ok, I tested mod2osis without success. Now with mod2imp if I run: mod2imp .sword/modules/lexdict/zld/devotionals/dbd/dbd.ztx -r OSIS It gives me the return: mod2imp: Couldn't find module: .sword/modules/lexdict/zld/devotionals/dbd/dbd.ztx I use ..

Re: [sword-devel] About database sql

2017-08-12 Thread David Haslam
You'd probably gain enough knowledge by installing BDB and running *mod2imp* on it with the output directed to a file. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/About-database-sql-tp4657393p4657415.html Sent from the SWORD Dev mailing list archive at Nabble.c

Re: [sword-devel] About database sql

2017-08-11 Thread Cyrille
Is it possible to download an osis devotional template (ex DBD)? Le 08/08/2017 à 02:40, Michael H a écrit : > Yes, that's an interesting question.. This isn't about just the Julian > calendar, The liturgical calendar is based on the first Sunday after > the first full moon after the spring equinox

Re: [sword-devel] About database sql

2017-08-08 Thread Cyrille
I think the osis proposition can be the best... If I can download a example it will be nice! Le 08/08/2017 à 16:18, David Haslam a écrit : > OSIS can indeed be used as the SourceType for Daily Devotionals (as an > alternative to TEI). > > Two example (of English DD) modules are *SME* and *DBD*. >

Re: [sword-devel] About database sql

2017-08-08 Thread David Haslam
Cyrille, OSIS can indeed be used as the SourceType for Daily Devotionals (as an alternative to TEI). Two example (of English DD) modules are *SME* and *DBD*. Both of these are Zip compressed with ModDrv=zLD. cf. Many of the other DD modules have SourceType=ThML and are not compressed. Is it r

Re: [sword-devel] About database sql

2017-08-08 Thread Cyrille
Le 07/08/2017 à 22:03, Dominique Corbex a écrit : > On Mon, 7 Aug 2017 16:51:53 +0100 > Cyrille wrote: > >> The problem is it changes all years... Any proposition? > Why not make a Devotional file by year, I mean Lectionnaire-2017, > Lectionnaire-2018? > Each one with its 365/366 entries? It's

Re: [sword-devel] About database sql

2017-08-07 Thread Michael H
Yes, that's an interesting question.. This isn't about just the Julian calendar, The liturgical calendar is based on the first Sunday after the first full moon after the spring equinox (also known as Easter.) This calendar is used to some degree by almost all modern daily reading plans, not just Ca

Re: [sword-devel] About database sql

2017-08-07 Thread Dominique Corbex
On Mon, 7 Aug 2017 16:51:53 +0100 Cyrille wrote: > The problem is it changes all years... Any proposition? Why not make a Devotional file by year, I mean Lectionnaire-2017, Lectionnaire-2018? Each one with its 365/366 entries? Dominique -- domcox

Re: [sword-devel] About database sql

2017-08-07 Thread ref...@gmx.net
What do you mean? The software chooses the correct entry for each day, based on the system date. PeterSent from my mobile. Please forgive shortness, typos and weird autocorrects. Original Message Subject: Re: [sword-devel] About database sqlFrom: Cyrille To: sword-devel@crosswire.or

Re: [sword-devel] About database sql

2017-08-07 Thread Cyrille
Thank you! The problem is it changes all years... Any proposition? Le 07/08/2017 à 16:45, Dominique Corbex a écrit : > On Mon, 7 Aug 2017 16:16:45 +0100 > Cyrille wrote: > >> Osis is used for Daily Devotional? > Hi Cyrille! > > A Daily Devotional is actually a Dictionary, a special dictionary as

Re: [sword-devel] About database sql

2017-08-07 Thread Dominique Corbex
On Mon, 7 Aug 2017 16:16:45 +0100 Cyrille wrote: > Osis is used for Daily Devotional? Hi Cyrille! A Daily Devotional is actually a Dictionary, a special dictionary as you must encode the key as "mm.dd", such as "01.01" for January 1st and "12.31" for December 31st. You have the choice between

Re: [sword-devel] About database sql

2017-08-07 Thread David Haslam
Hi Cyrille, The .sql database within the .xz attachment is encrypted, so we cannot examine its contents without the key. If you do manage to obtain the key from your friend, you might wish to try opening the .sql file using the free utility called *DB Browser for SQLlite* available from http://sq

[sword-devel] About database sql

2017-08-07 Thread Cyrille
Hi, I have a friend who wrote a database with the bible text of the catholic liturgical calendar. It's very interesting for use Catholics, he wrote it for mysword. I would like to know how to use it with sword and frontend. And if it's not possible how to write a liturgical calendar? Thank you for