[sword-devel] OSIS markup best practice: sanity check
Peter Von Kaehne
refdoc at gmx.net
Wed Sep 30 04:12:05 MST 2015
Hi Matej,
Couple of points:
1) The idea to have specific modules or av11ns in the reference is not new and is IIRC part of the OSIS specification as an option. As an option it makes sense in following circumstances:
a) commentaries, general books and devotionals which try to link to a specific module
b) Bible texts which try to link to a source text module (i.e. Greek/hebrew)
Former would make huge sense in a lot of places (and updates of such moduiles should really incorporate this), latter would need to be done by the actual publisher, unless we deal with a public domain text So, if you try and create a module from a Bible text, I do not see the benefit or necessity - unless (b) applies.
2) parser for references - what exactly are you trying to do? We have a few utilities etc which go this way and there is some equipment within the engine.
Peter
> Gesendet: Mittwoch, 30. September 2015 um 11:52 Uhr
> Von: "Matěj Cepl" <mcepl at cepl.eu>
> An: gpl.programs.info at gmail.com, "SWORD Developers' Collaboration Forum" <sword-devel at crosswire.org>
> Betreff: Re: [sword-devel] OSIS markup best practice: sanity check
>
> On 02/05/14 09:36, John Austin wrote:
> > - Scripture reference tags will all specify target modules using
> > osisRefs like this: "ESV:Matt.1.1" (and it may be that the specified
> > module is not always installed, thus its av11n unknowable).
>
> After a long time I found this old email, and given I am just in the
> process of writing a parser for notes generating <reference> elements, I
> wonder whether the format of the reference has changed, or whether when
> using intra-bible references I can still use the old one (i.e., without
> the module name in the front)?
>
> Is "<reference osisRef="John.3.16">Gospel message</reference>" still a
> good reference or do I have to use '<reference
> osisRef="CzeCSP:John.3.16">' even inside CzeCSP module?
>
> Best,
>
> Matěj
>
> --
> http://www.ceplovi.cz/matej/, Jabber: mcepl at ceplovi.cz
> GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
>
> Two things fill the heart with renewed and increasing awe and
> reverence the more often and the more steadily that they are
> meditated on: the starry skies above me and the moral law inside
> me.
> -- Immanuel Kant: Critique of Practical Reason
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list