From Christian.Haeringer at e-7.com Wed Jul 22 02:20:44 2009 From: Christian.Haeringer at e-7.com (Haeringer, Christian) Date: Wed Jul 22 02:21:29 2009 Subject: [uf-new] nutrition-facts in XHTML Message-ID: <872C1143DE5BA248BDE3734E66CDDF6E38CFD984@ham1wmail1.ham.e-7.local> Hey everybody, I am looking for a possibility to publish and embed nutrition-facts in XHTML. 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. Thus, I would like to propose a new microformat for nutrition-facts. 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. Thank you for any help or recommendations! Kind regards Christian Haeringer From martin at weborganics.co.uk Wed Jul 22 07:53:56 2009 From: martin at weborganics.co.uk (Martin McEvoy) Date: Wed Jul 22 07:54:02 2009 Subject: [uf-new] nutrition-facts in XHTML In-Reply-To: <872C1143DE5BA248BDE3734E66CDDF6E38CFD984@ham1wmail1.ham.e-7.local> References: <872C1143DE5BA248BDE3734E66CDDF6E38CFD984@ham1wmail1.ham.e-7.local> Message-ID: <4A672804.8090609@weborganics.co.uk> 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:

span class="type">Vitamin C 15 mg.

a little more expanded version may be: Vitamin C: 60 mg is 100% of the recommended RDA > 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/ From leidl at tk.informatik.tu-darmstadt.de Thu Jul 23 00:50:53 2009 From: leidl at tk.informatik.tu-darmstadt.de (Martin Leidl) Date: Thu Jul 23 00:53:12 2009 Subject: [uf-new] nutrition-facts in XHTML In-Reply-To: <872C1143DE5BA248BDE3734E66CDDF6E38CFD984@ham1wmail1.ham.e-7.local> References: <872C1143DE5BA248BDE3734E66CDDF6E38CFD984@ham1wmail1.ham.e-7.local> Message-ID: Hi Christian, I agree that this is a great idea. Do you already plan to give information like "suitable for vegetarians" / "suitable for vegans" ? Or should this information be outsourced to a tag? This really could be helpful for a bunch of people.... Best regards martin From thomas at stray.net Thu Jul 23 01:33:42 2009 From: thomas at stray.net (thomas) Date: Thu Jul 23 01:44:28 2009 Subject: [uf-new] nutrition-facts in XHTML In-Reply-To: <4A672804.8090609@weborganics.co.uk> References: <872C1143DE5BA248BDE3734E66CDDF6E38CFD984@ham1wmail1.ham.e-7.local> <4A672804.8090609@weborganics.co.uk> Message-ID: 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: > >

> span class="type">Vitamin C > 15 > mg. >

> > a little more expanded version may be: > > > Vitamin C: > 60 > mg is > 100% of the recommended > RDA > > >> 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@microformats.org > http://microformats.org/mailman/listinfo/microformats-new From bas at digitalnomad.de Thu Jul 23 02:10:02 2009 From: bas at digitalnomad.de (Bas Zapf) Date: Thu Jul 23 02:10:10 2009 Subject: [uf-new] nutrition-facts in XHTML In-Reply-To: References: <872C1143DE5BA248BDE3734E66CDDF6E38CFD984@ham1wmail1.ham.e-7.local> Message-ID: Hi everybody, I agree, nutrition-facts as a microformat is a great idea. When it comes to special diets, I think an additional tag/format is necessary - keeping in mind the principle of simplicity. Think about all the variations like "lacto-ovo vegetarianism", "lacto vegetarianism", "pesco-vegetarianism" etc. This could be too much to consider for a simple format that is supposed to store nutritions. Of couse both should be able to be integrated and combined in hRecipe or hProduct. Kind regards, Bas. On Thu, Jul 23, 2009 at 9:50 AM, Martin Leidl wrote: > > Hi Christian, > > I agree that this is a great idea. > > Do you already plan to give information like "suitable for vegetarians" / ?"suitable for vegans" ?? Or should this information be outsourced to a tag? > This really could be helpful for a bunch of people.... > > Best regards > martin > _______________________________________________ > microformats-new mailing list > microformats-new@microformats.org > http://microformats.org/mailman/listinfo/microformats-new From Christian.Haeringer at e-7.com Thu Jul 23 03:26:02 2009 From: Christian.Haeringer at e-7.com (Haeringer, Christian) Date: Thu Jul 23 03:43:27 2009 Subject: AW: [uf-new] nutrition-facts in XHTML In-Reply-To: References: <872C1143DE5BA248BDE3734E66CDDF6E38CFD984@ham1wmail1.ham.e-7.local> , Message-ID: <872C1143DE5BA248BDE3734E66CDDF6E38CFD985@ham1wmail1.ham.e-7.local> Hi everybody, thanks for your opinions. I have added a typical example to the measure examples page: http://microformats.org/wiki/measure-examples#Bendicks_nutritional_info In fact most of the requirement are covered with hmeasure. Additional requirements are the possibility to mark up a reference value like ?per 100g? or ?per portion? and like Thomas mentioned a root element like "nutrition". What are the next steps to go? What do you think about it? Looking forward to your feedback. Best regards Christian ________________________________________ Von: microformats-new-bounces@microformats.org [microformats-new-bounces@microformats.org] im Auftrag von Bas Zapf [bas@digitalnomad.de] Gesendet: Donnerstag, 23. Juli 2009 11:10 An: For discussion of new microformats. Betreff: Re: [uf-new] nutrition-facts in XHTML Hi everybody, I agree, nutrition-facts as a microformat is a great idea. When it comes to special diets, I think an additional tag/format is necessary - keeping in mind the principle of simplicity. Think about all the variations like "lacto-ovo vegetarianism", "lacto vegetarianism", "pesco-vegetarianism" etc. This could be too much to consider for a simple format that is supposed to store nutritions. Of couse both should be able to be integrated and combined in hRecipe or hProduct. Kind regards, Bas. On Thu, Jul 23, 2009 at 9:50 AM, Martin Leidl wrote: > > Hi Christian, > > I agree that this is a great idea. > > Do you already plan to give information like "suitable for vegetarians" / "suitable for vegans" ? Or should this information be outsourced to a tag? > This really could be helpful for a bunch of people.... > > Best regards > martin > _______________________________________________ > microformats-new mailing list > microformats-new@microformats.org > http://microformats.org/mailman/listinfo/microformats-new _______________________________________________ microformats-new mailing list microformats-new@microformats.org http://microformats.org/mailman/listinfo/microformats-new From ajaswa at gmail.com Thu Jul 23 07:42:41 2009 From: ajaswa at gmail.com (Andrew Jaswa) Date: Thu Jul 23 07:42:46 2009 Subject: [uf-new] nutrition-facts in XHTML In-Reply-To: <872C1143DE5BA248BDE3734E66CDDF6E38CFD985@ham1wmail1.ham.e-7.local> References: <872C1143DE5BA248BDE3734E66CDDF6E38CFD984@ham1wmail1.ham.e-7.local> <872C1143DE5BA248BDE3734E66CDDF6E38CFD985@ham1wmail1.ham.e-7.local> Message-ID: <1e76a9d60907230742m6e9ebab4m9324d8207cb0f37f@mail.gmail.com> Christian, All, Check out Jonathon Cihlar's Nutrition Template ( http://www.jonathoncihlar.com/index.php?Post=nutritiontemplate ). It's not 100% semantic and it's more for presentation but its something to take a look at. Andrew ============= Andrew Jaswa andrewjaswa.com On Thu, Jul 23, 2009 at 4:26 AM, Haeringer, Christian wrote: > Hi everybody, > thanks for your opinions. > I have added a typical example to the measure examples page: http://microformats.org/wiki/measure-examples#Bendicks_nutritional_info > In fact most of the requirement are covered with hmeasure. > Additional requirements are the possibility to mark up a reference value like ?per 100g? or ?per portion? and like Thomas mentioned a root element like "nutrition". > What are the next steps to go? What do you think about it? > Looking forward to your feedback. > Best regards > Christian > > > ________________________________________ > Von: microformats-new-bounces@microformats.org [microformats-new-bounces@microformats.org] im Auftrag von Bas Zapf [bas@digitalnomad.de] > Gesendet: Donnerstag, 23. Juli 2009 11:10 > An: For discussion of new microformats. > Betreff: Re: [uf-new] nutrition-facts in XHTML > > Hi everybody, > > I agree, nutrition-facts as a microformat is a great idea. > > When it comes to special diets, I think an additional tag/format is > necessary - keeping in mind the principle of simplicity. Think about > all the variations like "lacto-ovo vegetarianism", "lacto > vegetarianism", "pesco-vegetarianism" etc. This could be too much to > consider for a simple format that is supposed to store nutritions. > > Of couse both should be able to be integrated and combined in hRecipe > or hProduct. > > Kind regards, > Bas. > > On Thu, Jul 23, 2009 at 9:50 AM, Martin Leidl > wrote: >> >> Hi Christian, >> >> I agree that this is a great idea. >> >> Do you already plan to give information like "suitable for vegetarians" / ?"suitable for vegans" ?? Or should this information be outsourced to a tag? >> This really could be helpful for a bunch of people.... >> >> Best regards >> martin >> _______________________________________________ >> microformats-new mailing list >> microformats-new@microformats.org >> http://microformats.org/mailman/listinfo/microformats-new > > _______________________________________________ > microformats-new mailing list > microformats-new@microformats.org > http://microformats.org/mailman/listinfo/microformats-new > > _______________________________________________ > microformats-new mailing list > microformats-new@microformats.org > http://microformats.org/mailman/listinfo/microformats-new >