[uf-new] nutrition-facts in XHTML
thomas
thomas at stray.net
Thu Jul 23 01:33:42 PDT 2009
Hi Christian,
I too think this is a great idea! As the editor of hRecipe I advanced
the "nutrition" property as a part of hRecipe but that was mainly
because I saw the need for this property. I never thought that it
should necessarily be part of hRecipe. In fact I do think too that it
would make more sense as a vocabulary on it's own (but I was to lame
to start the effort...). As you rightly point out a lot of products do
(and have to) publish nutritional information. Recipes otoh only
contain nutritional information when they are published by the big
recipe sites on the web. These publish most of the recipes on the web
but are only a small fraction of the recipe publishing sites. All in
all the "nutrition" property does make great sense in hRecipe but it
is neither an exclusive nor a central part of it.
Of course I would be glad if you could adopt the property "nutrition"
without changing the name since that would save me from the
embarrassement of having to change the property set of hRecipe :-)
Ciao,
Thomas
Am 22.07.2009 um 16:53 schrieb Martin McEvoy:
> Hello Christian Welcome to the List
>
> Haeringer, Christian wrote:
>> Hey everybody,
>>
>> I am looking for a possibility to publish and embed nutrition-facts
>> in XHTML.
>>
>
> Great Idea!
>> There is already an element called "nutrition" in the hRecipe draft
>> specification. It would be useful to create a new elemental format
>> for it. Like this could be integrated in compounds like hProduct.
>>
>
> I agree, but first you should look at the Measure proposal http://microformats.org/wiki/measure
> .
>
> I believe much of what you are requiring is "possible" with hmeasure
> I suspect, but I am not an expert but some examples of how it could
> be used in your case are:
>
> A basic example:
>
> <p class="hmeasure">
> span class="type">Vitamin C</span>
> <span class="num">15</span>
> <span class="unit">mg</span>.
> </p>
>
> a little more expanded version may be:
>
> <span class="hmeasure">
> <span class="type">Vitamin C</span>:
> <span class="num">60</span>
> <span class="unit">mg</span> is
> <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>
> </span>
>
>> Thus, I would like to propose a new microformat for nutrition-facts.
>>
>
> Maybe you could first add your examples to this page:
>
> http://microformats.org/wiki/measure-examples
>
> First it will allow other developers to see more clearly what your
> needs are and also you will start to discover reoccurring patterns
> specific to nutritional measures, If there are (which I am sure
> there is) specific problems with-in the Nutritional facts domain
> then perhaps you can start proposing expanding the measure schema
> with the newly discovered elements on this page:
>
> http://microformats.org/wiki/measure-brainstorming
>
>> There is a group of nutrition-facts, called the “Big 8” (the energy
>> value, the amount of protein, carbohydrate, sugar, fat, saturated
>> fatty acids, dietary fibre and sodium), which is often published
>> with many products due to a Council Directive of the European
>> Union. For this reason there are countless examples for this type
>> of data.
>>
>
> Nice opening statement by the way ;)
>
>
> Best wishes
>
> --
> Martin McEvoy
> http://weborganics.co.uk/
>
> _______________________________________________
> microformats-new mailing list
> microformats-new at microformats.org
> http://microformats.org/mailman/listinfo/microformats-new
More information about the microformats-new
mailing list