[uf-new] Measurement brainstorming (was: Measure & currency)
andy at pigsonthewing.org.uk
Fri Oct 5 04:44:10 PDT 2007
On Fri, October 5, 2007 11:20, Chris Newell wrote:
>> a new "measurement" microformat straw-man on the wiki:
> I guess you may have been through this but my first thought is why not
> separate unit-code and value?
Please read Taylor Cowan's original comments:
> The reasoning being:
> - Programmers hate parsing strings (particularly if you have to deal with
> a number of different formats and field orders) and parsing strings is
> notorious for causing implementation interoperability problems.
Microformats put the burden, where possible, on parsers, not publishers,
in order to make life as easy as possible for publishers.
> - Users may want to style the unit-code differently from the numerical
> value and the separation would make this easier.
They are not prevented from doing so by the current proposal.
> - Users wouldn't have to remember rules about the format of the string.
> Straw man #2 could be:
> <span class="hmeasure">
> <span class="units">[unit-code]</span>
> <span class="value">[number]</span>
That's already there, as an option, under "issues".
** via webmail **
More information about the microformats-new