[uf-discuss] First version of Currency proposal

Scott Reynen scott at randomchaos.com
Wed Oct 11 11:51:56 PDT 2006

On Oct 11, 2006, at 1:18 PM, Guillaume Lebleu wrote:

> My intention is to have 2 class names, one for the currency (ex.  
> U.S. currency), and one for the unit within that currency (ex.  
> Dollar, Cent). "unit" is optional, b/c most currencies have a  
> default unit (Dollar in the case of the U.S. currency).
> I have added more details to the proposal on this. See: http:// 
> microformats.org/wiki/currency-proposal

I'm not sure the example of this really works:

<span class="money"><span class="amount">99</span><abbr class="unit">¢ 
</abbr><abbr class="currency" title="USD"></abbr></span>

Specifically, I don't think it makes sense to have the first <abbr>  
tag with no title, and the second <abbr> with no content.  It looks  
like you're trying to communicate three different pieces of  
information when only two are really being published.  Can we just  
treat everything as the default unit and adjust the machine-readable  
values accordingly?  E.g.:

<span class="money"><abbr class="amount" title="0.99">99</abbr><abbr  
class="currency" title="USD">¢</abbr></span>

Is there a currency example in which this wouldn't work?


More information about the microformats-discuss mailing list