[sword-devel] Verse references

Joachim Ansorg sword-devel@crosswire.org
Sun, 5 Mar 2000 18:57:49 +0000


Hi!

I thought the following way:

Find the references in the filters or the HTML widget and create a HTML link (
e.g. "<A HREF="ref://John 1:3">John 1:3</A>") and implement this in the
CHTMLWidget of BIbleTime (sending signal if a reference was pressed.

Reasonable?

--Joachim

> >>>>> "Wally" == Wally Brock <wbrock@owc.net> writes:
> 
>     > Hi Joachim, Verse references are like dates, the standards are
>     > different in different areas of the world.  I think the best
>     > approach would be to offer a choice of verse reference formats in
>     > the options dialog.
> 
> I guess (well, it's just a guess) they are different in different bibles
> (different source formats (GBF, ...)) but would be consistent within one
> text. So this should probably go into the HTML filter for the different
> formats to detect references and invent some tag (or use already defined
> thml tags) to tell the presenter where the reference points to. We then
> need to subclass out nice KHTML widget to process those extry tags.
> 
> Does this make sence?
> 
> 
>     > In Christ's Service
> 
>     > Wally
> 
>     > Joachim Ansorg wrote:
>     >> Hi!
>     >> 
>     >> I'm thinking how to implement verse refernces in the presenters
>     >> of the new upcoming BibleTime 0.3.
>     >> 
>     >> What is the format of verse references ?  I saw different things
>     >> like #John 1.2, {John 1,2} and chapter and verse divided by
>     >> different characters ( like , . : ).
>     >> 
>     >> Is there a general format or shuld we support all?
>     >> 
>     >> Thanks!  -- Joachim BibleTime - the bible study program for KDE
>     >> http://www.bibletime.de/ info@bibletime.de
> 
> 
> -- 
> 
> best regards,
> Torsten Uhlmann
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> TUhlmann@gmx.de
> TUhlmann@debis.com
> 
> http://www.tuhlmann.purespace.de
> http://www.bibletime.de
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Wise men still seek him!
-- 
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de