[uf-discuss] Currency microformat
Andy Mabbett
andy at pigsonthewing.org.uk
Thu Jul 20 11:04:44 PDT 2006
In message <4C8415E1-2630-4345-973E-00C1F82A5A29 at ben-ward.co.uk>, Ben
Ward <lists at ben-ward.co.uk> writes
>The problem of having the ‘USD’ inside a class attribute is that this
>hides the data from humans.
For "$50", the context may make the currency apparent (to a human, at
least).
[...]
><span class="number"><abbr class="unit currency" title="GBP">£</
>abbr>50</span>
Again, if "£" is an abbreviation, then its title is "pounds sterling";
though note that:
£5
is pronounced as:
five pounds sterling
and not:
pounds sterling five
in the same way that:
$5
is pronounced as:
five dollars
and not
dollars five
><span class="number">25<span class="unit">cm</span></span>
I'd certainly like to be able to mark up, say:
<length type="inches">2"</length>
and:
<duration type="seconds">2"</duration>
in such a way as to show that 2" and 2" are not necessarily the same.
Once again, context will usually make the usage clear, for humans.
(using water HTML entity instead of a quote mark, of course)
--
Andy Mabbett
Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>
Free Our Data: <http://www.freeourdata.org.uk>
More information about the microformats-discuss
mailing list