recipe-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
Line 314: Line 314:


'''Special Note'''*
'''Special Note'''*
[http://www.apple.com/downloads/macosx/home_learning/macgourmet.html MacGourmet] is software which allows creation, import (of other recipes and recipe formats), export of recipes, Publishing of recipes to MovableType, Blogger, TypePad, and Blojsom weblogs. Categorization and search features. It would be good to see how these recipes are formatted. MacGourmet - 'iTunes for recipes' and can create/export shopping lists for the recipes (including to PDA, iPod, etc.),  Demo available at link.
[http://www.apple.com/downloads/macosx/home_learning/macgourmet.html MacGourmet] is software which allows creation, import (of other recipes and recipe formats), export of recipes, Publishing of recipes to MovableType, Blogger, TypePad, and Blojsom weblogs. Categorization and search features. It would be good to see how these recipes are formatted. MacGourmet - 'iTunes for recipes' and can create/export shopping lists for the recipes (including to PDA, iPod, etc.),  Demo available at link. Also see wiki page [[recipe-formats#MacGourmet]]


==== BigOven: Angel Hair with Tomatoes, Basil And Arugula recipe ====
==== BigOven: Angel Hair with Tomatoes, Basil And Arugula recipe ====

Revision as of 18:01, 26 October 2007

Recipe Examples

Per the microformats process this is an examples page documenting existing real world examples of actual tasty recipes published on the Web. Next steps are to research recipe-formats and then (only after that), proceed with recipe-brainstorming. Only URLs to actual recipes please.

Please read both process and examples before editing this page.

Contributors

Recipe Lists

Recipes Examples

Individuals

Hamburger

Wikibooks Cookbook:Hamburger

Composed of

  • Summary
    • Categories
    • Servings
    • Time
    • Rating
    • Energy
    • Image
  • Recipe
    • Description (text)
    • Ingredients (required/optional)
    • Procedure (OL)
    • Suggestions (text)
    • Notes, tips and variations (UL)
    • Categories

Lentil Stew

Neriman’s Mercimek - Yummy Lentils

  • Appears to be a simple BBEdit 5.0 conversion of a plain text file into HTML 3.2
  • Uses <br><br> to delimit sections
  • Composed of:
    • author of recipe
    • title of recipe, with English translation
    • top level structure of time/instructions, with ingredients noted as necessary for each step
    • serving suggestion(s) (serve with ...)

Mocha Brownie Cake

Mocha Brownie Cake

  • Composed of
    • title of recipe / food item (looks like a heading)
    • sequence of larger tasks (separated by subheadings), each of which has
      • list of ingredients (uses <ul>) for a particular component of the dish
      • preparation instructions for those ingredients
      • OR a instructions for assembling components of the dish
    • contributing baker - perhaps someone who has modified the recipe?
    • source - citation of where recipe originally came from

A Moroccan-ish Casserole

Simon Wheatley

  • Structured semantic XHTML based, as well as possible, on hcard/review type principles
  • Composed of:
    • title
    • description
    • number of servings (quantity)
    • prep time
    • cooking time
    • approval rating (from hreview)
    • ingredients
    • preparation steps

May expand to include: variation suggestions

Fruit Salad

fruit salad (Mark Pilgrim)

Extremely detailed instructions.

  • Composed of (at least)
    • title of recipe
    • description
    • number of servings (quantity)
    • shopping instructions
    • ingredients
    • ingredients to avoid
    • preparation steps
    • left-over preservation instructions


Perfect Flank Steak

John C. "CSS is a series of tubes" Dvorak

  • Composed of
    • title of recipe
    • description
    • ingredients
    • preparation steps
    • suggested accompaniments

Veggie Chicken Enchiladas

Veggie Chicken Enchiladas Veggie Chicken Enchiladas XML

  • Attempts to use XOXO as a recipe microformat
  • Composed of
    • ingredients
    • instructions
    • servings
    • prep time
    • serving suggestions
    • cook's tips
    • variations
    • time saving tips

Spaghetti primavera

Spaghetti-primavera

  • Written as prose
  • Contains:
    • introduction - containing source of original recipe book inspiration
    • ingredients (in paragraph, comma separated)
    • instructions (paragraph)
    • observation (creates a lot of washing up!)

Services

cookingwithbooze.org

  • Cooking with Booze is a cookbook and associated free-access website. All the recipes are marked up in a combination of XOXO and microformat:
  • Composed of
    • title of recipe (as a heading)
    • note/introduction
    • unordered list of ingredients
    • ordered list of instructions
  • More information about the microformat
  • You can also download the whole recipe list as a dataset for your own experiments, in the form as a tagged XML file as output by InDesign. [1]
  • Any questions: http://shorttermmemoryloss.com

allrecipes.com - Sachertorte

Sachertorte (allrecipes.com)

  • Composed of
    • title of recipe (as a heading)
    • name of the submitter
    • description of the food item (e.g: "Elegant chocolate cake.")
    • optional photo
    • servings count
    • sequence of ingredients (uses <ul>)
    • sequence of preperation instructions (uses <ol>)


BBC Food - Marzipanned fruit cake

Marzipanned fruit cake BBC Food Recipes

  • Composed of (all B&BR markup)
    • title of recipe
    • name of submitter/source
    • servings count/quanity
    • preparation time
    • cooking time
    • image
    • suitable for vegetarians icon
    • description of recipe
    • ingredients list
    • method steps
    • notes

cooking.com - Jamaican Chicken Stew Recipe

Jamaican Chicken Stew Recipe (cooking.com)

  • Consists of
    • Recipe Title (<font><b> used for header)
      • Source (Magazine, book, title, etc. with a link.)
      • Serving Size
    • Photo area
      • Recipe Email, Save, Print options
      • Photo
    • Recipe Ingredients (heading uses <b> <br>, each ingredient in separate <td>, ingredient keywords linked to a glossary)
    • Recipe Method (no <p> used, uses <td>, <font> and <br>)
      • Copyright reprint info appears at end of prep info.
    • Nutrition Facts (<font><b> used for header)
      • Serving size info repeated
      • Nutritional elements per serving (each item and value are in separate <td>)

Notes: No meaningful markup used. Recipes use <table> for all layout/presentation. <b>, <br>, and nested <font> used throughout. Line images separate sections of recipe.

cuzza.com - Chicken Jalfrezi Recipe

Chicken Jalfrezi Recipe (cuzza.com)

  • Consists of
    • Recipe Title (<h2>)
      • Subheading/summary description (<h3>)
      • Teaser text with photo (<div class="teaser"><div class="mainImg">)
    • Method steps (each step in a <div class="step"> with an image and text)
    • Number of servings (<h5>)
    • Ingredients list (in a definition list; quantities and units not marked up separately; some ingredients link to an explanatory page)
    • "Chef's notes". Explanatory notes offering advice and alternatives.

epicurious.com - Moroccan Braised Beef

Moroccan Braised Beef (epicurious.com)

  • Composed of
    • Recipe Intro Area
      • Photo (uses <p>)
      • Recipe Title (uses <h1>)
      • Quick intro description (No <p>)
    • Ingredients * (uses <br>)
    • Preparation *
      • Preparation instructions (some recipes offer Cooks' notes: - surrounded by *b* tagset, and uses <br> )
      • Serving size
      • Origin (span class = source, magazine title)
      • Copyright info (span class = copyright: publication date and location if available)
    • Your notes * (user/visitor may add/submit notes to appear on their printed copy)
    • Reviews * (fork ratings, 1-4)

Notes: Images are the secondary headings * (class = hdr) , no sub heading markup. Recipes do not use use <li> and use <br> instead of <p> often.

extratasty.com - Cuba Libre

Cuba Libre (extratasty.com)

  • Composed of
    • title of recipe
    • name of the submitter
    • sequence of ingredients
    • preperation instructions (continuous text)
    • Recipe rating (US school grad system)


recipesource.com - Cranberry Cherry Relish

CRANBERRY CHERRY RELISH (recipesource.com)

  • Consists of
    • Exported info (if from mastercook, mealmaster)
    • Title (in uppercase)
    • Recipe by: (source, author info)
    • Serving size: Preparation Time:
    • Categories:
    • Ingredients ( displayed in columns: Amount : Measure : Ingredient -- Preparation Method )
    • Cooking Instructions

Note: Recipe is in text format using <pre> inside a <td>.

www.cooker.net - Muffins Zucca e Radicchio

Muffins Zucca e Radicchio (cooker.net)

  • Consists of:
    • Yield
    • Unordered list of ingredients
    • Preparations
    • Photographs
    • Feedback
    • Classification (category recipe features in)

asianfoodgrocer.com - Asian Rice Salad

Asian Rice Salad (AsianFoodGrocer.com)

  • Consists of:
    • Title
    • Yield
    • Blurb
    • Ingredients (3 column table)
    • Instructions (numbered but not an ordered list)
    • Author or Source Credit

b and br markup, no headings. Ingredients displayed in table, one ingredient per row - 3 columns: first for quantity or measurement number, second for measure type if there is one (c, ts, tb, etc.), third column for the ingredient type.

Good Living: Sydney Morning Herald - Asparagus and herb frittata

Asparagus and herb frittata (smh.com.au/news/recipes/ Sydney Morning Herald: Recipes)

Note: An article about Asparagus contains this recipe.

  • Article Title (h1 markup)
    • Author
    • Date
    • Article content
      • Recipe Title (h3 markup)
        • Ingredients (1 paragraph, ingredients separated with br markup)
        • Directions (method, p used for steps)
        • Servings (p, b markup)

Measurement units note: This recipe mixes, tbs, cm, ml, and g.

Real Cajun Recipes: Chicken Fricassee

Chicken Fricassee (RealCajunRecipes.com)

Recipe is formatted with table/nested table

  • Title (h3 heading)
    • Food Category (not linked)
    • Recipe Author
    • Author origin (location)
    • Date
    • Drag and Drop icon for MacGourmet* users
    • Ratings (up to 5 stars)
    • Ratings link (viewer can rate recipe)
  • The top section of the recipe is separated with an hr, rest of recipe in nested table.
    • servings
    • prep time
    • cook time
    • ready time
    • author note
    • Ingredients (appear in two columns, table)
    • Directions (paragraph format for steps)

Special Note* MacGourmet is software which allows creation, import (of other recipes and recipe formats), export of recipes, Publishing of recipes to MovableType, Blogger, TypePad, and Blojsom weblogs. Categorization and search features. It would be good to see how these recipes are formatted. MacGourmet - 'iTunes for recipes' and can create/export shopping lists for the recipes (including to PDA, iPod, etc.), Demo available at link. Also see wiki page recipe-formats#MacGourmet

BigOven: Angel Hair with Tomatoes, Basil And Arugula recipe

Recipe Example: Angel Hair with Tomatoes, Basil And Arugula recipe (BigOven).

BigOven - recipe software application with an online collection of recipes which were submitted from registered site users or published, exported from its software users. Published recipes can be rated online, and additional tags/categories or ingredients can be applied to published recipes. Also see the recipe-formats#Big_Oven wiki page.

Recipe output for the site uses span tags with id to format or link information. HTML format: ingredients are in table format. Uses br, no p tags.

This is an example recipe format from the site:

  • Recipe Title - h1, span id="lblTitle"
    • Intro Line - span id="lblSubhead", br
    • Ratings - img id="img_rating"
    • Photo
    • Ingredients - h2, span id="Label1"
      • Individual Ingredients - (2 column table, ingredient keyword is linked, link appended with id=ingredient name.)
    • Instructions - h2, span id="Label2"
      • Directions (br, span id="lblInstructions", br) - instructions, nutritional info, author, date included.
    • Main ingredient tag - span id="Label7", span id="lblMainIngredient" , link to Main Ingredient)
    • ADD tags. Form submit buttons for additional tag categorization (related linking). - id="lblCategoriesLabel"

Next Steps

  1. Add more examples and analysis of their markup and implied schemas
  2. Research existing recipe-formats (Mealmaster, RecipeML, ...)
  3. recipe-brainstorming on a minimal recipe schema that represents the 80/20 of common properties of the examples and reuses terms from existing widely implemented recipe formats.