[uf-new] Currency brainstorming

Guillaume Lebleu gl at brixlogic.com
Sat Sep 29 10:31:31 PDT 2007


Taylor Cowan wrote:
> Pretending to forget all that we've know up till now about microformats, what if we just wanted a way for web page designers to make their currency amounts unambiguous with respect to currency denomination and amount?
>
> "one hundred bucks"
> <abbr class="currency" title="USD100">one hundred bucks</abbr>
>
> $100 (CAD)
> <abbr class="currency" title="CAD100">$100</abbr>
>
> 10 cents
> <abbr class="currency" title="USD0.10">ten cents</abbr>
>
>          compare:  <span class="hmoney">10 <abbr class="unit" title="cent"><abbr 
> class="currency" title="USD">cents</abbr></abbr></span>
>
> man Yen
> <abbr class="currency" title="JPY10,000">man Yen</abbr>
>
> So within the title, we've got ISO###.##
>
> Then later on we wanted to apply one of those amounts to the "price" of an hlisting:
>
> <abbr class="currency price" title="USD100">one hundred bucks</abbr>
>
>   
Thank you Taylor.

I added your suggestion to currency-braistorming page [1].

I would probably suggest that "currency" be renamed to "hmoney" since 
what you are marking up is the whole currency/money amount, not just the 
currency.

So we would end up with the following

<abbr class="hmoney" title="CAD100">$100</abbr>

which is indeed very simple, and I believe also not incompatible with a 
more detailed hmoney (with currency, unit, etc.) markup, as has been 
suggested so far.

Guillaume

[1] http://microformats.org/wiki/currency-brainstorming#Taylor_Cowan


More information about the microformats-new mailing list