W3C home > Mailing lists > Public > public-digipub-ig@w3.org > April 2016

HTML-Note and bibliographies

From: Shane McCarron <shane@spec-ops.io>
Date: Mon, 25 Apr 2016 12:07:58 -0500
Message-ID: <CAJdbnOAisC30JT0Gav3abPLc+CbRmzeOz91AmV4kuTtjFBz6+g@mail.gmail.com>
To: public-digipub-ig@w3.org
There was a question in the meeting today about whether a bibliography
could be supported via this spec.  My answer was that it could.  I was
wrong because:

   - A "note" always has a "type"
   - A "type" maps to the display value type ala the HTML "ol" element; i,
   I, 1, a, or A [1]
   - A "note" always has a "value" that is a number (just like the HTML
   "ol" element

But I like the *idea* of being able to do bibliographic references using
the same mechanism.  I can envision supporting this by changing the model
such that:

   - If "type" is empty for a note, then prefer its title attribute for
   display value
   - If there is no title attribute or the contents are empty, then use its
   "value" in decimal form for the display value

Does this sound okay?

[1] http://spec-ops.github.io/html-note/index.html#note-types

Shane McCarron
Projects Manager, Spec-Ops
Received on Monday, 25 April 2016 17:08:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:36:26 UTC