[sword-devel] Web Interface - Scripture Markup
Don A. Elbourne Jr.
sword-devel@crosswire.org
Wed, 26 Mar 2003 15:49:01 -0600
I think the idea of adding an id to each verse is a good one. One thing to
remember though is that IDs can not begin with a numeric value.
Programmatically prepending the abbreviated book name would probably be the
best bet.
I think the trick you reference from ALA might work with IDs, I have not
tested it yet, but I don't think it would be desirable to do so. The
functionality is dependant upon the browser being fully CSS2 compliant. This
would leave non-CSS2 compliant browsers without any versification numbers.
Not a good thing. We do not want any essential content dependant upon the
css.
BTW, speaking of print style sheets, I think it would be a good idea to have
one included with this project. It could be very basic. There would be no
need for the two side columns to be printed and so we could just use
display:none for them and fill the page with the main content.
by grace alone,
Don A. Elbourne Jr.
http://elbourne.org
----- Original Message -----
From: "David Cary" <d.cary@ieee.org>
To: <sword-devel@crosswire.org>
Sent: Tuesday, March 25, 2003 4:28 PM
Subject: Re: [sword-devel] Web Interface - Scripture Markup
>
> Dear Don A. Elbourne Jr.,
>
> That looks like a perfectly adequate structure. Naturally I would like to
> add <... id="6:29" > anchors to each verse so I can make a link jump right
> to the 29th verse.
>
> Going to Print http://www.alistapart.com/stories/goingtoprint/ has a
nifty
> way to make every link visible, without having 2 copies of each URI. I
> wonder if it's possible to use this trick to make the verse numbers
visible
> as well as embedded in anchors, without having 2 copies of each verse
number.
>
> Many other people also re-invent their own special tags that they then
> document as "basically marking a paragraph", rather than using the <p>
tag.
> I fail to see why.
>
> Occasionally I see text that cannot be placed into a strict hierarchy
> (there's overlapping sections, paragraphs, and verses). For example, 2
> Thessalonians 2 in my (paper) Ryrie Study Bible looks something like this:
>
> ---
> B Its Relation to the Apostasy,
> 2:3a
>
> 3Don't let anyone deceive you in
> any way, for [that day will not
> come] until the rebellion occurs
>
> C Its Relation to the Man of
> Lawlessness, 2:3b-4
>
> and the man of lawlessness is
> revealed, ....
> ---
> which shows commentary breaking into the middle of a verse in the middle
of
> a paragraph (in the middle of a sentence, even).
> (Parenthetical note:
> I wonder -- does the commentary even belong in the same (source) file as
> the biblical text ?
> Does it make any sense to put commentary in a separate file, and try to
> apply the same commentary file to a KJV file on Sunday (blending into a
> single XHTML file to display) and a WEB file on Monday ?
> )
>
> Paragraph breaks in the middle of a verse seem to be extremely rare,
> but I see one at the end of 1 Timothy 6:
> ---
> G Towards One's Trust,
> 6:20-21
>
> 20Timothy, guard what has been
> entrusted to your care. Turn
> away from godless chatter and
> the opposing ideas of what is
> falsely called knowledge, 21 which
> some have professed and in so doing
> have wandered from the faith.
> Grace be with you.
> ---
>
>
> >From: "Don A. Elbourne Jr." <delbourne@cox.net>
> >To: <sword-devel@crosswire.org>
> >Subject: [sword-devel] Web Interface - Scripture Markup
> >Date: Thu, 27 Feb 2003 10:52:44 -0600
> >
> >I have some ideas on how the scripture mark-up for the web project should
be
> >implemented, but I'm not sure I have all the basis covered. I'd like some
> >input from those who are familiar with the needs. Basically what I
believe
> >we should do is semantically mark-up the verses and allow CSS to handle
ALL
> >of the display. This way we do not have to worry with font sizes color,
and
> >all that jazz at this time. This is what I am thinking, something like:
> >
> ><h2>Chapter 1</h2>
> ><div class="section">
> > <span class="verse">
> > <span class="versenum">1</span>
> > The text of the verse one.
> > </span>
> > <span class="versenum">2</span>
> > The text of the verse two.
> > </span>
> > <span class="versenum">3</span>
> > The text of the verse three.
> > </span>
> ></div>
> >
> >The class names are negotiable.
> >The "section" div is equivalent to the paragraph for translations that
> >divide into paragraphs. Some translations then have actual "sections"
placed
> >in by the editors/translators. Do we have modules with this information?
If
> >so, we will probably need an extra class for that.
> >
> >We could also markup each word with its Strongs number and a link.
> >
> >by grace alone,
> >
> >Don A. Elbourne Jr.
> >http://elbourne.org
>
>
> --
> David Cary
>
> _______________________________________________
> sword-devel mailing list
> sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel