[uf-new] Currency: symbols and units (Was: microformat granularity:
currency and measure)
Scott Reynen
scott at makedatamakesense.com
Thu Jul 19 15:30:31 PDT 2007
On Jul 19, 2007, at 3:49 PM, Guillaume Lebleu wrote:
>> How would you mark those up?
Good question.
> Here is a try, using the "value" class name:
>
> <span class="money"><abbr class="unit" title="cent">¢</abbr><span
> class="value">2.1</span> <span class="currency">USD</span></span>
I would suggest this:
<span class="money">¢<abbr title="0.021" class="amount">2.1</abbr>
<span class="currency">USD</span></span>
I also don't see much value in "unit" as I think it would be simpler
to standardize on a single unit for each currency (i.e. the primary
unit defined for the given currency in ISO 4217) and use the abbr
design pattern as above where necessary.
--
Scott Reynen
MakeDataMakeSense.com
More information about the microformats-new
mailing list