measure-brainstorming

From Microformats Wiki
Revision as of 17:50, 17 April 2007 by AanEbx (talk | contribs)
Jump to navigation Jump to search

Measure Microformat Brainstorming

This page collects ideas on how to use semantic XHTML to represent unambiguously measures.

Guillaume Lebleu

Basic example with elementary unit using the abbr pattern and the UNECE code (see measure-formats)

<span class="length">5 <abbr class="unit" title="FOT">Feet</abbr></span>

Optional "value" could be useful in some cases, for instance when the value is provided in plain text:

<span class="length"><abbr class="value" title="5">Five</abbr> <abbr class="unit" title="FOT">Feet</abbr></span>


Andy Mabbett

Converter Extension

This Firefox extension may be of interest. Note, though, that it's been criticised for having a "nag" screen: Converter AndyMabbett 15:32, 3 Oct 2006 (PDT)

This is the author of that extension. I don't want to go much into this, but I just want to clarify this briefly. The part with the nag screen is wrong on two counts: (1) that dialog isn't there anymore, and (2) even if it was there, you only needed to read a paragraph and click a button to make it go away forever -- but you don't have to take my word for it, install it for yourselves and see. Andy's report is accurate however -- the extension was criticized for that dialog (that's what you get from your free extension's users when you ask for 15 seconds of their time in return for hundreds of hours of your time). --BogdanStancescu 09:35, 9 Oct 2006 (PDT)

HTML Entities

  • For squared and cubic values, the HTML entities