recipe-brainstorming: Difference between revisions
AndyMabbett (talk | contribs) (→Single foodstuffs: "sub-microformat-pattern") |
MonroAlmon (talk | contribs) (droneltsitr) |
||
Line 1: | Line 1: | ||
vichil | |||
= Recipe Brainstorming = | = Recipe Brainstorming = | ||
Line 19: | Line 20: | ||
===Root Class Name=== | ===Root Class Name=== | ||
To be decided. Likely | To be decided. Likely âhrecipeâ. | ||
===Property List=== | ===Property List=== | ||
Line 28: | Line 29: | ||
* Title - Required. | * Title - Required. | ||
* Summary | * Summary â A short introduction, accompanying statement about the recipe. Optional. | ||
* Author - An hCard for the author of the recipe. Optional. | * Author - An hCard for the author of the recipe. Optional. | ||
* Date Published - Optional | * Date Published - Optional | ||
* Photo[] - Accompanying image. Optional. | * Photo[] - Accompanying image. Optional. | ||
* Ingredient[] (Quantity [Optional], Name [Required], | * Ingredient[] (Quantity [Optional], Name [Required], âOptionalityâ [Optional], Preparation Notes [Optional]) - 1 or more required. | ||
* Method - The block of text containing the method of the recipe. Required. | * Method - The block of text containing the method of the recipe. Required. | ||
Ingredient > | Ingredient > âOptionalityâ. States that an ingredient is optional to the recipe. Its absence should imply that the ingredient is required. | ||
===Suggested fields for inclusion=== | ===Suggested fields for inclusion=== | ||
Line 42: | Line 43: | ||
* Tags - using rel-tag. | * Tags - using rel-tag. | ||
* Method > Steps or Method-Step[] as a child of Method. Imply ordered steps from an HTML list or explicitly mark-up ordered steps respectively. | * Method > Steps or Method-Step[] as a child of Method. Imply ordered steps from an HTML list or explicitly mark-up ordered steps respectively. | ||
* Yield | * Yield â Quantity produced by this recipe | ||
* Calories | * Calories â per serving. May be part of the [measure] microformat in future. | ||
===Known Issues=== | ===Known Issues=== | ||
Line 57: | Line 58: | ||
*Ingredients (each one a separate "item" rather than block text with count/amount/range/unit broken out too) | *Ingredients (each one a separate "item" rather than block text with count/amount/range/unit broken out too) | ||
**Some (e.g. meats, vegetables) could optionally be marked up with (elements of) the proposed [[species]] microformat. [[User:AndyMabbett|Andy Mabbett]] 06:41, 16 Nov 2006 (PST) | **Some (e.g. meats, vegetables) could optionally be marked up with (elements of) the proposed [[species]] microformat. [[User:AndyMabbett|Andy Mabbett]] 06:41, 16 Nov 2006 (PST) | ||
** Ingredient importance (e.g. Main, Required, Optional) should be listed as an attribute of each entry. [[User:AlexanderShusta| | ** Ingredient importance (e.g. Main, Required, Optional) should be listed as an attribute of each entry. [[User:AlexanderShusta|α]] | ||
**Units need separate microformat: see [[measure]] | **Units need separate microformat: see [[measure]] | ||
**Ingredient Preparation: such as diced, chopped, sliced, grated, minced, etc. [[User:SteveL|Steve Lewis]] 18:55, 11 Feb 2007 (PST) | **Ingredient Preparation: such as diced, chopped, sliced, grated, minced, etc. [[User:SteveL|Steve Lewis]] 18:55, 11 Feb 2007 (PST) | ||
Line 64: | Line 65: | ||
**Calories per serving [[User:JohnLeMasney| John LeMasney]] | **Calories per serving [[User:JohnLeMasney| John LeMasney]] | ||
**Calories per ounce [[User:JohnLeMasney| John LeMasney]] | **Calories per ounce [[User:JohnLeMasney| John LeMasney]] | ||
*Background Information - Optional section to encapsulate information that is useful but not necessarily required for a successful recipe. [[User:AlexanderShusta| | *Background Information - Optional section to encapsulate information that is useful but not necessarily required for a successful recipe. [[User:AlexanderShusta|α]] | ||
**Author (Person) ([[hcard]]?) | **Author (Person) ([[hcard]]?) | ||
**Submitter (Person) ([[hcard]]?) | **Submitter (Person) ([[hcard]]?) | ||
Line 76: | Line 77: | ||
**Steps (optional) | **Steps (optional) | ||
***Should be an ordered list [[User:AndyMabbett|Andy Mabbett]] 14:46, 16 Nov 2006 (PST) | ***Should be an ordered list [[User:AndyMabbett|Andy Mabbett]] 14:46, 16 Nov 2006 (PST) | ||
***Another vote for an ordered list, perhaps in the [[XOXO]] format. [[User:AlexanderShusta| | ***Another vote for an ordered list, perhaps in the [[XOXO]] format. [[User:AlexanderShusta|α]] | ||
*Photo (optional) [[User:IamCam|Cameron Perry]] | *Photo (optional) [[User:IamCam|Cameron Perry]] | ||
**Could be one per dish, or one for each (or for some of the) step(s). [[User:AndyMabbett|Andy Mabbett]] | **Could be one per dish, or one for each (or for some of the) step(s). [[User:AndyMabbett|Andy Mabbett]] | ||
Line 85: | Line 86: | ||
*Suitability (e.g. vegetarian, vegan, wheat-free, etc.). Possibly [[rel-tag]]. [[User:AndyMabbett|Andy Mabbett]] 14:57, 16 Nov 2006 (PST) | *Suitability (e.g. vegetarian, vegan, wheat-free, etc.). Possibly [[rel-tag]]. [[User:AndyMabbett|Andy Mabbett]] 14:57, 16 Nov 2006 (PST) | ||
*Ingredient Grouping - In baking you need to differentiate wet from dry ingredients. See also an [[recipe-examples|example recipe]] from [http://www.extratasty.com/recipe/46/cuba_libre extratasty.com] for useful grouping in cocktail mixing. [[SteveL|Steve Lewis]] 19:10, 11 Feb 2007 | *Ingredient Grouping - In baking you need to differentiate wet from dry ingredients. See also an [[recipe-examples|example recipe]] from [http://www.extratasty.com/recipe/46/cuba_libre extratasty.com] for useful grouping in cocktail mixing. [[SteveL|Steve Lewis]] 19:10, 11 Feb 2007 | ||
** Maybe this ingredient grouping can be used to express some alternative ingredients, like "mayonnaise or cream cheese". [[EstevaoSamuel| | ** Maybe this ingredient grouping can be used to express some alternative ingredients, like "mayonnaise or cream cheese". [[EstevaoSamuel|Estêvão Samuel Procópio]] 15:33, 16 Dez 2007 (PDT) | ||
* Number of dishes or similary - often it's mentioned how many dishes (or breads in baking, etc) the ingredients are for. [[User:WilleRaab|WilleRaab]] 16:57, 20 Jul 2007 (PDT) | * Number of dishes or similary - often it's mentioned how many dishes (or breads in baking, etc) the ingredients are for. [[User:WilleRaab|WilleRaab]] 16:57, 20 Jul 2007 (PDT) | ||
* Suitable for occations - what occations are the dish suitable for? [[User:WilleRaab|WilleRaab]] 16:57, 20 Jul 2007 (PDT) | * Suitable for occations - what occations are the dish suitable for? [[User:WilleRaab|WilleRaab]] 16:57, 20 Jul 2007 (PDT) |
Revision as of 09:09, 28 January 2008
vichil
Recipe Brainstorming
Towards a Recipe microformat. Please read the process before editing this page.
Format-In-Progress
This format-in-progress follows the restarting of Recipe development by Frances Berriman on 25th September 2007. Note that this Format-In-Progress section is intended to be edited to reflect the discussion that occurs on the microformats-new list, rather than being a free-form playground for schema.
- Editors
- Ben Ward (Yahoo!, Inc.)
- Frances Berriman (BBC)
Introduction
Recipe is based on examples and fields in existing formats.
The recipe microformat is designed for the mark-up of instructions for creating meals, drinks or food-based items.
Root Class Name
To be decided. Likely âhrecipeâ.
Property List
Recipe properties, with sub-properties listed in parentheses, like (this), plurality indicated by square brackets, like this[]. Note that the draft property names may change, but their function should remain.
Optional and required for each field is explicitly stated at this stage. Fields without have not been determined.
- Title - Required.
- Summary â A short introduction, accompanying statement about the recipe. Optional.
- Author - An hCard for the author of the recipe. Optional.
- Date Published - Optional
- Photo[] - Accompanying image. Optional.
- Ingredient[] (Quantity [Optional], Name [Required], âOptionalityâ [Optional], Preparation Notes [Optional]) - 1 or more required.
- Method - The block of text containing the method of the recipe. Required.
Ingredient > âOptionalityâ. States that an ingredient is optional to the recipe. Its absence should imply that the ingredient is required.
Suggested fields for inclusion
- License - using rel-licence attribution
- Tags - using rel-tag.
- Method > Steps or Method-Step[] as a child of Method. Imply ordered steps from an HTML list or explicitly mark-up ordered steps respectively.
- Yield â Quantity produced by this recipe
- Calories â per serving. May be part of the [measure] microformat in future.
Known Issues
- Mark-up of quantity would be enhanced by use of a [measure] microformat. However, such a format does not yet exist outside of brainstorming. It must be decided whether quantity is useful/parsable _enough_ without explicit mark-up of values and units.
RecipeML-based Brainstorm
Excerpted from Conor Bandon's Blog entry and derived from The RecipeML Spec:
- Recipe_Title
- Summary Description (one liner)
- Measurement System (U.S., Imperial etc)
- Ingredients (each one a separate "item" rather than block text with count/amount/range/unit broken out too)
- Some (e.g. meats, vegetables) could optionally be marked up with (elements of) the proposed species microformat. Andy Mabbett 06:41, 16 Nov 2006 (PST)
- Ingredient importance (e.g. Main, Required, Optional) should be listed as an attribute of each entry. α
- Units need separate microformat: see measure
- Ingredient Preparation: such as diced, chopped, sliced, grated, minced, etc. Steve Lewis 18:55, 11 Feb 2007 (PST)
- Preparation Time (overall time)
- Yield Quantity and Unit (4 pancakes or 5 servings)
- Calories per serving John LeMasney
- Calories per ounce John LeMasney
- Background Information - Optional section to encapsulate information that is useful but not necessarily required for a successful recipe. α
- Author (Person) (hcard?)
- Submitter (Person) (hcard?)
- Source (Book Title etc)
- could use the proposed citation microformat. Andy Mabbett 06:43, 16 Nov 2006 (PST)
- Date (Of Creation or Publication)
- Rights (Copyright or other)
- Meal Category (Starter, entree, dessert )
- Cuisine Category (Italian etc)
- Instructions (text, but can contain:)
- Steps (optional)
- Should be an ordered list Andy Mabbett 14:46, 16 Nov 2006 (PST)
- Another vote for an ordered list, perhaps in the XOXO format. α
- Steps (optional)
- Photo (optional) Cameron Perry
- Could be one per dish, or one for each (or for some of the) step(s). Andy Mabbett
Additional Suggestions
- Difficulty/Notes - Perhaps incorporation of hReview to describe difficulty (using rating) and general comments (review), as an optional field. Frances Berriman
- Suitability (e.g. vegetarian, vegan, wheat-free, etc.). Possibly rel-tag. Andy Mabbett 14:57, 16 Nov 2006 (PST)
- Ingredient Grouping - In baking you need to differentiate wet from dry ingredients. See also an example recipe from extratasty.com for useful grouping in cocktail mixing. Steve Lewis 19:10, 11 Feb 2007
- Maybe this ingredient grouping can be used to express some alternative ingredients, like "mayonnaise or cream cheese". Estêvão Samuel Procópio 15:33, 16 Dez 2007 (PDT)
- Number of dishes or similary - often it's mentioned how many dishes (or breads in baking, etc) the ingredients are for. WilleRaab 16:57, 20 Jul 2007 (PDT)
- Suitable for occations - what occations are the dish suitable for? WilleRaab 16:57, 20 Jul 2007 (PDT)
- Category - many sites categorize their recipes. WilleRaab 16:57, 20 Jul 2007 (PDT)
Note: Comments added "WilleRaab 16:57, 20 Jul 2007 (PDT)" are added after looking at http://tasteline.com, example: here.
Cookcamp brainstorming
At CookCamp in February 2007, Tantek moderated a fairly free form discussion of how to publish/share recipes. Here is a photo of the whiteboard:
To Do: OCR this and enter rough notes here...
Issues
Please do feel to add your comments below. If this section grows too large, please create a seperate recipe-issues section. Thanks!
Scope
- Is this intended for only food recipes, or also recipes for, say, glue, paint, dyes and other chemicals? Andy Mabbett 14:53, 16 Nov 2006 (PST)
- +1 Wondered the same. I'd like to see this extended as a general recipe for anything that can be created in a defined way/order, rather than just edible food.Frances Berriman
- Agreed. This format could apply to a set of methods and materials, including cooking, science experiments, craft making, building, etc. - essentially any how-to or tutorial. Cameron Perry
- However, now I view my addition of 'calories per serving' as suspect, ;) though I guess it could still apply, since it's just a unit of energy. John LeMasney
- Recipe for Nitroglycerine (not recommended by Weight Watchers) ? Andy Mabbett 10:43, 1 Feb 2007 (PST)
- The scope is determined by the recipe-examples research that is done, other musings are purely theoretical and thus discouraged. So far this means recipes means only food recipes. In addition, "recipe" in common vernacular applies primarily to food. Other uses are certainly outside the common 80/20 (note that 80/20 does note mean there are no non-food cases, merely that they are outside the 80). If you want to pursue other types of recipes, e.g. "chemical-recipes" - start that as a separate research effort per the process. Tantek 07:39, 15 Mar 2007 (PDT)
- Work is continuing on the recipe format now with the scope limited to food-based items only. Phae 08:44, 3 Oct 2007 (PDT)
- Is it possible to have special structure for the details of the operations in the cooking. For Eg. I invite you to have a look at the following Page [1]. Should it be possible to have special markup for the operations? Or is that going too far? Maybe we could keep this open ended so that it could be included when sites would actually be interested in including the same... Anyway the article makes for some interesting reading though it is from 1985 ;-) SudarshanP 06:46, 26 Jun 2007 (PDT)
- I think this could be considered out of scope. It's the sort of thing that would be detailed in the descriptive narrative, but I'm not sure there's evidence from the examples that this type of behaviour is common enough to warrant specific properties to hold it. Phae 08:44, 3 Oct 2007 (PDT)
Measure
open issue!
- Quantities play a key part in recipes, so do we feel the recipe format will rely on quantities so heavily that the measure microformat needs to be completed first, or do we feel it can exist without it and use of measure can be optional in the first version? Phae 08:44, 3 Oct 2007 (PDT)
Single foodstuffs
If "method" is made optional, this could be used for marking up individual foodstuffs in prose. for example, "I like to eat cheese for supper." would become:
I like to eat <span class="hRecipe"><span class="ingredient">cheese</span></span> for supper.
or simply (if the proposed "sub-microformat-pattern" is adopted):
I like to eat <span class="hRecipe-ingredient">cheese</span> for supper.
- Andy Mabbett 08:16, 5 Jan 2008 (PST)