[uf-new] nutrition-facts in XHTML

Martin McEvoy martin at weborganics.co.uk
Tue Aug 4 04:46:03 PDT 2009


Hello Toby,

Toby Inkster wrote:
>> <p class="hmeasure">
>>   span class="type">Vitamin C</span>
>>   <span class="num">15</span>
>>   <span class="unit">mg</span>.
>> </p>
>>     
>
> This is indeed a good application of hmeasure. 

Thanks
> However...
>
>   
oh oh .....
>>   <span class="tolerance">100%</span> of the recommended
>>   <a title="Recommended Dietary Allowance" rel="glossary"
>> href="http://en.wikipedia.org/wiki/Dietary_Reference_Intake">RDA</a>
>>     
>
> That's not what tolerance is for - tolerance is more for recording the
> possible error in a measurement (e.g. plus or minus 5%). This doesn't seem
> to be used very much, which is why the current hmeasure draft mentions it
> as an at-risk feature.
>   

Ah My bad :)  perhaps "tolerance" should be removed if it isn't used?
> hMeasure also contains an optional "item" property much like the property
> of the same name in hReview. It records what the measurement is actually
> measuring. i.e. what is the thing that contains 15mg of Vitamin C.
>
> e.g.
>
> <p class="hmeasure">
>   <span class="item">100 mL of Orange Juice</span> contains
>   <span class="num">15</span> <span class="unit">mg</span> of
>   <span class="type">Vitamin C</span>.
> </p>
>   

Much better thanks for clearing that up.

Best wishes

-- 
Martin McEvoy
http://weborganics.co.uk/



More information about the microformats-new mailing list