List Info

Thread: Re: Hcalendar in bbc.co.uk/programmes




Re: Hcalendar in bbc.co.uk/programmes
user name
2007-12-14 08:06:37
Ciaran McNulty wrote:
> On Dec 13, 2007 3:19 PM, Benjamin Hawkes-Lewis
> <bhawkeslewisgooglemail.com> wrote:
>> Robert O'Rourke wrote:
>> 1. 16:03 isn't an abbreviation for 12 September
2007. That's
>> /additional/ information. So that should be a SPAN
not an ABBR.
> 
> I'd disagree with this.  16:03 in the context of your
original page
> *will* refer to 16:03 on a specific day (I'm finding it
hard to think
> of a non-contrived example where it wouldn't) - it's
just abbreviated
> to 16:03. A human would gather that information from
context but it's
> more explicit in the machine-readable version.

The expansions of normal abbreviations are intended for
confused humans, 
not (just) baffled machines. You can throw normal
abbreviations into 
www.acronymfinder.com and generally one of the results will
be 
applicable in context. If you throw 16:03 into
www.acronymfinder.com, 
you will not get back 12 September 2007. That is, normal
abbreviations 
(Mr., Dr., ibid., etc.) are no more dependent on context
than ordinary 
words.

What you're really saying is that ABBR should be used to
make /contexts/ 
explicit in the TITLE attribute, for the benefit of
machines. I think 
that's a radical deviation from expanding an abbreviation
for the 
benefit of humans and machines.

Given the HTML 4.01 specification:

http://www.w3.org/TR/html401/struct/text.html#h-9.2.1

http://www.w3.org/TR/html401/struct/global.html#adef-t
itle

I think all of the following would be misuses of ABBR and
TITLE:

| Combien d'œufs ai-je vendre? J'ai vendu <abbr
title="quarante-cinq">
| 45</abbr> aujourd'hui.

| Combien d'œufs ai-je vendre? J'ai vendu <abbr
title="45
| œufs">45</abbr> aujourd'hui.

| Combien d'œufs ai-je vendre? J'ai vendu <abbr
title="45
| eggs">45</abbr> aujourd'hui.

| Combien d'œufs ai-je vendre? J'ai vendu <abbr
title="30+15">
| 45</abbr> aujourd'hui.

| Combien d'œufs ai-je vendre? J'ai vendu <abbr
|
title="sales:a464Z37;q45dt2007122007">45</ab
br>
| aujourd'hui.

"16:03" could be re-expressed as "3 minutes
past 4pm". It's not obvious 
that "16:03" is an /abbreviation/ of "3
minutes past 4pm". For one 
thing, the 12-hour clock is not an expansion of the 24-hour
clock: they 
are equivalents. For another thing, I'd say it's more of a
common 
symbolic representation. "4" wouldn't normally be
called an abbreviation 
of "four": it's just a symbol. (Some symbols are
also arguably 
abbreviations, at least in origin, like cm, but this
wouldn't generally 
be said of 4.)

--
Benjamin Hawkes-Lewis
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Precise Expansion Patterns (was: Re: Hcalendar in bbc.co.uk/programmes)
country flaguser name
United Kingdom
2007-12-14 13:21:54
On 14 Dec 2007, at 14:06, Benjamin Hawkes-Lewis wrote:
> I think all of the following would be misuses of ABBR
and TITLE:
>
> | Combien d'œufs ai-je vendre? J'ai vendu <abbr
title="quarante-cinq">
> | 45</abbr> aujourd'hui.
>
> | Combien d'œufs ai-je vendre? J'ai vendu <abbr
title="45
> | œufs">45</abbr> aujourd'hui.
>
> | Combien d'œufs ai-je vendre? J'ai vendu <abbr
title="45
> | eggs">45</abbr> aujourd'hui.
>
> | Combien d'œufs ai-je vendre? J'ai vendu <abbr
title="30+15">
> | 45</abbr> aujourd'hui.
>
> | Combien d'œufs ai-je vendre? J'ai vendu <abbr
> |
title="sales:a464Z37;q45dt2007122007">45</ab
br>
> | aujourd'hui.
>
> "16:03" could be re-expressed as "3
minutes past 4pm". It's not  
> obvious that "16:03" is an /abbreviation/ of
"3 minutes past 4pm".  
> For one thing, the 12-hour clock is not an expansion of
the 24-hour  
> clock: they are equivalents. For another thing, I'd say
it's more  
> of a common symbolic representation. "4"
wouldn't normally be  
> called an abbreviation of "four": it's just a
symbol. (Some symbols  
> are also arguably abbreviations, at least in origin,
like cm, but  
> this wouldn't generally be said of 4.)

Agreed. I'll repost something I put into the GEO thread last
week.  
It's quoting directly from the HTML4 specification. This
doesn't  
actually need to have any concern with accessibility, or
assistive  
technology tools. Frankly, the difficulty in getting solid
tests from  
such tools makes that line of argument less attractive in
itself. But  
what has to be a fundamental baseline in our implementation
of  
optimisation patterns in microformats is the HTML
specification we  
are building on top of. We *do not* have the authority to
disobey the  
spec. We may interpret it _more strictly_ perhaps, but we
may not  
_relax_ any of the definitions it provides. Otherwise we
have no leg  
to stand on regarding the effect our code has on _any_
consuming tool.

I said this:
> > “The content of the ABBR and ACRONYM elements
specifies the  
> abbreviated expression itself, as it
> > would normally appear in running text. The title
attribute of  
> these elements may be used to provide
> > the full or expanded form of the expression.”
>

For emphasis again:
> > “as it would normally appear in running text.”

I know there are lots of concerns about the effect of the
ABBR  
pattern on assistive technology tools. I know there are
reports of  
problems and negative impact on user experience. Getting
evidence is  
proving hard because the sheer number of variables in a real
 
assistive technology user's configuration is much larger
than for  
visual desktop browsers. It actually doesn't matter, because
the ABBR  
pattern is being mis-used at a more fundamental level.

First, some happy news. Here's the ABBR pattern being used
validly  
and correctly in hCard:

> <abbr class="country" title="United
Kingdom">UK</abbr>


There is an argument that the ISO timestamp format is an
expansion  
of  a human formatted date (‘Thursday, September 23rd’). I
personally  
disagree, but it was accepted at the time. But since then,
the use of  
the pattern has expanded without the same concern for the
HTML spec.

‘One hour ago’ is NOT ever an abbreviation of a timestamp.
‘last  
week’ IS NOT an abbreviation of a timestamp. ‘bond’ IS NOT
an  
abbreviation of a set of co-ordinates and ‘3:23’ IS NOT an 

abbreviation of the string ‘PT3M23S’ (hAudio). In all of
those cases  
they are ‘alternative representations’, or ‘expansions’ or
perhaps  
‘precisions’. They ARE NOT abbreviations and they are in
clear  
conflict with the HTML spec which states the TITLE attribute
of ABBR  
must be ‘the abbreviated expression itself, as it would
normally  
appear in running text’. Sorry, but the ball got dropped on
this, and  
people have been treating the ABBR-pattern as a handy
pattern first  
and HTML second. That is the wrong way around.

So we have a problem. We now have multiple use cases where
it is  
necessary for publishers to include precise machine data
alongside  
human legible descriptions. They are rarely real
abbreviations.

I am going to ask that we better define the problem. That we
follow  
up the demand for a better pattern (regardless of whether
your  
personal motivation is following the spec or assistive
technology).  
I'd like to ask that people stop jumping straight in with
ideas for  
alternative mark-up, ways of kludging the existing practice
into  
different elements or attributes. Follow the process. We
need to  
fully define the problem: We need a list of which
microformat  
properties _require_ the facility for precise
representations. They  
don't all need it, maybe we just need something that certain
 
properties may opt into, rather than something that covers
all  
microformats properties. That's what we need to determine.
From  
there, we can move on how to integrate the data back into
mark-up.

Thank you,

Ben
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )