Skip to content

File Format

ockham edited this page Dec 17, 2012 · 1 revision

Place to discuss about the sharing format for the recipes :

  • Suggestion by Daniel and example : [file:rspml10draft.xsd] [file:example.xml]
    • It would be better to have a child node for every tag. I also think it would be useful to add an attribute to determine the type of tag (Category, cuisine, ethny, difficulty). Also, we might want to allow hierarchical structure for the tags (Asian/Japanese...).
    • The Ingredients section needs a way to specify a "group" of ingredients. And what about "ingredient" that are in fact reference to another recipe (A sauce recipe for example). Should the "sub-recipe" ingredients and steps be included in the same file. My suggestion is to allow the definition of more than one recipe per file.
      • In the current Gourmet format, we use the tag <inggroup></inggroup> to do this -- works quite simply. Gourmet uses the <ingref></ingref> tag to encode recipes referred to as ingredients. -- Tom
    • We need to be able to specify a range of amount. (2-3 apples, 2-4 cups of flour)
      • In the current Gourmet format, we just store the amount as text. "2-3" would go in as "2-3". Gourmet already knows how to turn that into an internal representation of numbers (and it knows how to do the same for 2 1/2 - 5 1/2 as well). One of the things Gourmet's current format does a good job of is avoiding overengineering the format. We can have a DTD specify exactly what we mean -- with a range element and different types of amounts for numeric amounts of descriptive amounts etc etc, but in the end all that does is put more demand on the program to do more processing on import and export, and it makes it much harder to do a simple job, for example, displaying the XML format in human-readable form. So I guess I'd say, before we do something fancier than recording the amount of text, I'd need a convincing use case where having the extra info in the XML would make a difference. -- Tom
    • Something really cool would be to have reference to the ingredients in the instructions. It is something that plugins can take advantage of to highlight the needed ingredients for a step (a kind of walkthrough) for example.
      • This is a cool idea. It assumes an interface that uses "steps" -- I'm not sure how useful this is. Gourmet just uses paragraphs and allows users the flexibility to type things however they like. I've worked on another project that used steps to allow users to page through different parts of a recipe. I'm not totally convinced that steps provides you anything that paragraphs don't. The ingredient highlighting is one use case where it might help, but the same thing can be achieved by grouping ingredients in a way that matches steps -- i.e. "sauce", "marinade", etc., as is done in many cookbooks. -- Tom
    • To allow all that, we need a way to refer to certain objects. So we need to specify nternal file ids.
    • Some Recipes websites use "Yields" instead of "Servings" because a recipe can yield 2 cups of...so even if Gourmet will still refer to servings for now, we might want to use yield
      • Absolutely -- Gourmet should be changed to use yield instead of servings. It will be simple to update old databases to do it. For me, the problem is only an interface problem -- it means adding one more control to the interface. -- Tom
    • We might want to incorporate a Instruments node for future use (e.g. : this recipe need a balance)
      • I think "Equipment" is the normal term. People have asked for this in the past. I figure you can use the "Notes" field for this, but I guess others disagree. It's another place where a plugin might come in handy.
    • We need a way to specify that an ingredient is optionnal or an alternative to another one.
      • Gourmet does this already -- it just uses an option attribute on the ingredient tag. I just noticed, though, that my export of my database sometimes includes some (optional) in the text of the ingredient item (how Gourmet displays optional ingredients) rather than using the tag -- a bug worth hunting down. -- Tom
    • Should instructions support markup ? Or at least some tags ? What if the instructions are not divised in steps ?
      • Absolutely. Gourmet does this again in the simplest way possible -- we store pango-allowed markup in escaped format in our XML format. Not very "pretty", but easy to process and functional. Obviously this doesn't feel "right" but the further I get in this project, the more I'm learning not to overengineer, so again, I'd like a compelling use-case for doing this another way before we do it another way :) -- Tom
  • A example with some of the suggestions I made (Louis-Francis) :
&amp;lt&#59;file xmlns&amp;&#35;61&#59;&amp;quot&#59;http&amp;&#35;58&#59;//www.recipemanager.org&amp;quot&#59; xmlns&amp;&#35;58&#59;xsi&amp;&#35;61&#59;&amp;quot&#59;http&amp;&#35;58&#59;//www.w3.org/2001/XMLSchema&amp;&#35;45&#59;instance&amp;quot&#59;&amp;gt&#59;
&amp;lt&#59;tags&amp;gt&#59;
    &amp;lt&#59;tag id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;ethny&amp;quot&#59;&amp;gt&#59;Asian&amp;lt&#59;/tag&amp;gt&#59;
&amp;lt&#59;/tags&amp;gt&#59;
&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;
    &amp;lt&#59;name&amp;gt&#59;Biscuit chinois&amp;lt&#59;/name&amp;gt&#59;
    &amp;lt&#59;description&amp;gt&#59;Humm...cookie&amp;lt&#59;/description&amp;gt&#59;
    &amp;lt&#59;picture type&amp;&#35;61&#59;&amp;quot&#59;jpeg&amp;quot&#59;&amp;gt&#59;BLABLABLA&amp;lt&#59;/picture&amp;gt&#59;
    &amp;lt&#59;tags&amp;gt&#59;
        &amp;lt&#59;tag id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;category&amp;quot&#59;&amp;gt&#59;Desert&amp;lt&#59;/tag&amp;gt&#59;
        &amp;lt&#59;tag id&amp;&#35;61&#59;&amp;quot&#59;3&amp;quot&#59; parent&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;ethny&amp;quot&#59;&amp;gt&#59;China&amp;lt&#59;/tag&amp;gt&#59;
        &amp;lt&#59;tag id&amp;&#35;61&#59;&amp;quot&#59;4&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;difficulty&amp;quot&#59;&amp;gt&#59;Difficult&amp;lt&#59;/tag&amp;gt&#59;
    &amp;lt&#59;/tags&amp;gt&#59;
    &amp;lt&#59;yield unit&amp;&#35;61&#59;&amp;quot&#59;serving&amp;quot&#59;&amp;gt&#59;4&amp;lt&#59;/yield&amp;gt&#59;
    &amp;lt&#59;times&amp;gt&#59;
        &amp;lt&#59;time id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;cooking&amp;quot&#59;&amp;gt&#59;600&amp;lt&#59;/time&amp;gt&#59;
        &amp;lt&#59;time id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;preparation&amp;quot&#59;&amp;gt&#59;600&amp;lt&#59;/time&amp;gt&#59;
        &amp;lt&#59;time id&amp;&#35;61&#59;&amp;quot&#59;3&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;inactive&amp;quot&#59;&amp;gt&#59;5000&amp;lt&#59;/time&amp;gt&#59;
    &amp;lt&#59;/times&amp;gt&#59;
    &amp;lt&#59;ingredients&amp;gt&#59;
        &amp;lt&#59;group id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;Pâte&amp;lt&#59;/group&amp;gt&#59;
        &amp;lt&#59;group id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59;&amp;gt&#59;Garniture&amp;lt&#59;/group&amp;gt&#59;
        &amp;lt&#59;ingredient id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59; group&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;
            &amp;lt&#59;item&amp;gt&#59;Flour&amp;lt&#59;/item&amp;gt&#59;
            &amp;lt&#59;amount unit&amp;&#35;61&#59;&amp;quot&#59;cup&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;min&amp;quot&#59;&amp;gt&#59;3&amp;lt&#59;/amount&amp;gt&#59;
            &amp;lt&#59;amount unit&amp;&#35;61&#59;&amp;quot&#59;cup&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;max&amp;quot&#59;&amp;gt&#59;4&amp;lt&#59;/amount&amp;gt&#59;
        &amp;lt&#59;/ingredient&amp;gt&#59;
        &amp;lt&#59;ingredient id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59; group&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;
            &amp;lt&#59;item&amp;gt&#59;Egg&amp;lt&#59;/item&amp;gt&#59;
            &amp;lt&#59;amount unit&amp;&#35;61&#59;&amp;quot&#59;none&amp;quot&#59;&amp;gt&#59;3&amp;lt&#59;/amount&amp;gt&#59;
        &amp;lt&#59;/ingredient&amp;gt&#59;
        &amp;lt&#59;ingredient id&amp;&#35;61&#59;&amp;quot&#59;3&amp;quot&#59; group&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59;&amp;gt&#59;
            &amp;lt&#59;item&amp;gt&#59;Rasberry jam&amp;lt&#59;/item&amp;gt&#59;
            &amp;lt&#59;amount unit&amp;&#35;61&#59;&amp;quot&#59;cup&amp;quot&#59;&amp;gt&#59;3&amp;lt&#59;/amount&amp;gt&#59;
        &amp;lt&#59;/ingredient&amp;gt&#59;
        &amp;lt&#59;ingredient id&amp;&#35;61&#59;&amp;quot&#59;4&amp;quot&#59; group&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59; alternative&amp;&#35;61&#59;&amp;quot&#59;3&amp;quot&#59;&amp;gt&#59;
            &amp;lt&#59;item type&amp;&#35;61&#59;&amp;quot&#59;recipe&amp;quot&#59; id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59;/&amp;gt&#59;
            &amp;lt&#59;amount unit&amp;&#35;61&#59;&amp;quot&#59;time&amp;quot&#59;&amp;gt&#59;2&amp;lt&#59;/amount&amp;gt&#59;
        &amp;lt&#59;/ingredient&amp;gt&#59;
    &amp;lt&#59;/ingredients&amp;gt&#59;
    &amp;lt&#59;instruments&amp;gt&#59;
        &amp;lt&#59;instrument id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;
            &amp;lt&#59;name&amp;gt&#59;Plaque&amp;lt&#59;/name&amp;gt&#59;
        &amp;lt&#59;/instrument&amp;gt&#59;
    &amp;lt&#59;instrument&amp;gt&#59;
    &amp;lt&#59;directions&amp;gt&#59;
         &amp;lt&#59;step id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;Mix together the ingredients for the &amp;lt&#59;ref type&amp;&#35;61&#59;&amp;quot&#59;group&amp;quot&#59; id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;pâte&amp;lt&#59;/ref&amp;gt&#59;.&amp;lt&#59;/step&amp;gt&#59;
         &amp;lt&#59;step id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59;&amp;gt&#59;Incorporate the &amp;lt&#59;ref type&amp;&#35;61&#59;&amp;quot&#59;group&amp;quot&#59; id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59;&amp;gt&#59;garniture&amp;lt&#59;/ref&amp;gt&#59;.&amp;lt&#59;/step&amp;gt&#59;
         &amp;lt&#59;step id&amp;&#35;61&#59;&amp;quot&#59;3&amp;quot&#59;&amp;gt&#59;Placer sur la &amp;lt&#59;ref type&amp;&#35;61&#59;&amp;quot&#59;instrument&amp;quot&#59; id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;plaque&amp;lt&#59;/ref&amp;gt&#59;.&amp;lt&#59;/step&amp;gt&#59;
         &amp;lt&#59;step id&amp;&#35;61&#59;&amp;quot&#59;4&amp;quot&#59;&amp;gt&#59;Mettre au four à &amp;lt&#59;temp unit&amp;&#35;61&#59;&amp;quot&#59;celsius&amp;quot&#59;&amp;gt&#59;400&amp;lt&#59;/temp&amp;gt&#59; pendant &amp;lt&#59;ref type&amp;&#35;61&#59;&amp;quot&#59;time&amp;quot&#59; id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;2 minutes&amp;lt&#59;/ref&amp;gt&#59;.&amp;lt&#59;/step&amp;gt&#59;
    &amp;lt&#59;/directions&amp;gt&#59;
&amp;lt&#59;/recipe&amp;gt&#59;
&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59;&amp;gt&#59;
    &amp;lt&#59;name&amp;gt&#59;Sauce à biscuit&amp;lt&#59;/name&amp;gt&#59;
    &amp;lt&#59;description&amp;gt&#59;Humm...cookie sauce&amp;lt&#59;/description&amp;gt&#59;
    &amp;lt&#59;yield unit&amp;&#35;61&#59;&amp;quot&#59;cup&amp;quot&#59;&amp;gt&#59;2&amp;lt&#59;/yield&amp;gt&#59;
    &amp;lt&#59;tags&amp;gt&#59;
        &amp;lt&#59;tag id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59; /&amp;gt&#59;
        &amp;lt&#59;tag id&amp;&#35;61&#59;&amp;quot&#59;3&amp;quot&#59; /&amp;gt&#59;
        &amp;lt&#59;tag id&amp;&#35;61&#59;&amp;quot&#59;5&amp;quot&#59; type&amp;&#35;61&#59;&amp;quot&#59;difficulty&amp;quot&#59;&amp;gt&#59;Easy&amp;lt&#59;/tag&amp;gt&#59;
    &amp;lt&#59;/tags&amp;gt&#59;
    &amp;lt&#59;ingredients&amp;gt&#59;
        &amp;lt&#59;ingredient id&amp;&#35;61&#59;&amp;quot&#59;5&amp;quot&#59;&amp;gt&#59;
            &amp;lt&#59;item&amp;gt&#59;Sugar&amp;lt&#59;/item&amp;gt&#59;
            &amp;lt&#59;amount unit&amp;&#35;61&#59;&amp;quot&#59;cup&amp;quot&#59;&amp;gt&#59;1&amp;lt&#59;/amount&amp;gt&#59;
        &amp;lt&#59;/ingredient&amp;gt&#59;
        &amp;lt&#59;ingredient id&amp;&#35;61&#59;&amp;quot&#59;6&amp;quot&#59;&amp;gt&#59;
            &amp;lt&#59;item density&amp;&#35;61&#59;&amp;quot&#59;4&amp;quot&#59;&amp;gt&#59;Milk&amp;lt&#59;/item&amp;gt&#59;
            &amp;lt&#59;amount unit&amp;&#35;61&#59;&amp;quot&#59;cup&amp;quot&#59;&amp;gt&#59;1&amp;lt&#59;/amount&amp;gt&#59;
        &amp;lt&#59;/ingredient&amp;gt&#59;
        &amp;lt&#59;ingredient id&amp;&#35;61&#59;&amp;quot&#59;7&amp;quot&#59;&amp;gt&#59;
            &amp;lt&#59;item&amp;gt&#59;Coconut&amp;lt&#59;/item&amp;gt&#59;
            &amp;lt&#59;amount unit&amp;&#35;61&#59;&amp;quot&#59;cup&amp;quot&#59;&amp;gt&#59;1&amp;lt&#59;/amount&amp;gt&#59;
            &amp;lt&#59;optional&amp;gt&#59;True&amp;lt&#59;/optional&amp;gt&#59;
        &amp;lt&#59;/ingredient&amp;gt&#59;
    &amp;lt&#59;ingredients&amp;gt&#59;
    &amp;lt&#59;instruments&amp;gt&#59;
        &amp;lt&#59;instrument id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59;&amp;gt&#59;
            &amp;lt&#59;name&amp;gt&#59;Batteur&amp;lt&#59;/name&amp;gt&#59;
            &amp;lt&#59;optional&amp;gt&#59;True&amp;lt&#59;/optional&amp;gt&#59;
        &amp;lt&#59;/instrument&amp;gt&#59;
    &amp;lt&#59;instrument&amp;gt&#59;
    &amp;lt&#59;directions&amp;gt&#59;
        &amp;lt&#59;step id&amp;&#35;61&#59;&amp;quot&#59;5&amp;quot&#59;&amp;gt&#59;Mix the &amp;lt&#59;ref type&amp;&#35;61&#59;&amp;quot&#59;ing&amp;quot&#59; id&amp;&#35;61&#59;&amp;quot&#59;5&amp;quot&#59;&amp;gt&#59;sugar&amp;lt&#59;/ref&amp;gt&#59; and the &amp;lt&#59;ref type&amp;&#35;61&#59;&amp;quot&#59;ing&amp;quot&#59; id&amp;&#35;61&#59;&amp;quot&#59;6&amp;quot&#59;&amp;gt&#59;milk&amp;lt&#59;/ref&amp;gt&#59;.&amp;lt&#59;/step&amp;gt&#59;
        &amp;lt&#59;step id&amp;&#35;61&#59;&amp;quot&#59;6&amp;quot&#59;&amp;gt&#59;Wait&amp;lt&#59;/step&amp;gt&#59;
        &amp;lt&#59;step id&amp;&#35;61&#59;&amp;quot&#59;7&amp;quot&#59;&amp;gt&#59;Repeat &amp;lt&#59;ref type&amp;&#35;61&#59;&amp;quot&#59;step&amp;quot&#59; id&amp;&#35;61&#59;&amp;quot&#59;6&amp;quot&#59;&amp;gt&#59;previous step&amp;lt&#59;/ref&amp;gt&#59;.&amp;lt&#59;/step&amp;gt&#59;
    &amp;lt&#59;/directions&amp;gt&#59;
&amp;lt&#59;/recipe&amp;gt&#59;

Here's a snipped of Gourmet's current format. Again -- so far I'm not seeing any major differences, so I'm not convinced it would be worth coding time to change formats dramatically.

&amp;lt&#59;?xml version&amp;&#35;61&#59;&amp;quot&#59;1.0&amp;quot&#59; encoding&amp;&#35;61&#59;&amp;quot&#59;UTF&amp;&#35;45&#59;8&amp;quot&#59;?&amp;gt&#59;
&amp;lt&#59;&amp;&#35;33&#59;DOCTYPE gourmetDoc&amp;gt&#59;
&amp;lt&#59;gourmetDoc&amp;gt&#59;
	&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59;&amp;gt&#59;
		&amp;lt&#59;title&amp;gt&#59;
			Fancy Ingredient Grouping
		&amp;lt&#59;/title&amp;gt&#59;
		&amp;lt&#59;rating&amp;gt&#59;
			4/5 stars
		&amp;lt&#59;/rating&amp;gt&#59;
		&amp;lt&#59;ingredient&amp;&#35;45&#59;list&amp;gt&#59;
			&amp;lt&#59;inggroup&amp;gt&#59;
				&amp;lt&#59;groupname&amp;gt&#59;
					Dressing
				&amp;lt&#59;/groupname&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						1/2
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;unit&amp;gt&#59;
						tsp.
					&amp;lt&#59;/unit&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						red pepper flakes
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						red pepper flakes
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						1
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						handful oregano
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						handful oregano
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						1
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						handful basil
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						basil, handful
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						1/4
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;unit&amp;gt&#59;
						c.
					&amp;lt&#59;/unit&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						balsamic vinegar
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						vinegar, balsamic
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						1/4
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;unit&amp;gt&#59;
						c.
					&amp;lt&#59;/unit&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						olive oil
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						oil, olive
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
			&amp;lt&#59;/inggroup&amp;gt&#59;
			&amp;lt&#59;inggroup&amp;gt&#59;
				&amp;lt&#59;groupname&amp;gt&#59;
					Pasta Salad Base
				&amp;lt&#59;/groupname&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						feta cheese
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						cheese, feta
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						12
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;unit&amp;gt&#59;
						oz.
					&amp;lt&#59;/unit&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						whole&amp;&#35;45&#59;wheat pasta
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						pasta, whole&amp;&#35;45&#59;wheat
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
			&amp;lt&#59;/inggroup&amp;gt&#59;
			&amp;lt&#59;inggroup&amp;gt&#59;
				&amp;lt&#59;groupname&amp;gt&#59;
					Add cold&amp;&#35;58&#59;
				&amp;lt&#59;/groupname&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						1
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						handful kalamata olives
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						handful kalamata olives
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						2
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						tomatoes
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						tomato
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						1
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						cucumber
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						cucumber
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
			&amp;lt&#59;/inggroup&amp;gt&#59;
			&amp;lt&#59;inggroup&amp;gt&#59;
				&amp;lt&#59;groupname&amp;gt&#59;
					Saute and add
				&amp;lt&#59;/groupname&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						1
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						red pepper
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						red bell pepper
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						1
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						bell pepper
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						bell pepper, green
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
				&amp;lt&#59;ingredient&amp;gt&#59;
					&amp;lt&#59;amount&amp;gt&#59;
						4
					&amp;lt&#59;/amount&amp;gt&#59;
					&amp;lt&#59;unit&amp;gt&#59;
						oz.
					&amp;lt&#59;/unit&amp;gt&#59;
					&amp;lt&#59;item&amp;gt&#59;
						mushrooms
					&amp;lt&#59;/item&amp;gt&#59;
					&amp;lt&#59;key&amp;gt&#59;
						mushrooms
					&amp;lt&#59;/key&amp;gt&#59;
				&amp;lt&#59;/ingredient&amp;gt&#59;
			&amp;lt&#59;/inggroup&amp;gt&#59;
		&amp;lt&#59;/ingredient&#45;list&amp;gt&#59;
	&amp;lt&#59;/recipe&amp;gt&#59;
	&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;2&amp;quot&#59;&amp;gt&#59;
		&amp;lt&#59;title&amp;gt&#59;
			Formatting
		&amp;lt&#59;/title&amp;gt&#59;
		&amp;lt&#59;category&amp;gt&#59;
			Dessert
		&amp;lt&#59;/category&amp;gt&#59;
		&amp;lt&#59;rating&amp;gt&#59;
			5/5 stars
		&amp;lt&#59;/rating&amp;gt&#59;
		&amp;lt&#59;preptime&amp;gt&#59;
			20 minutes
		&amp;lt&#59;/preptime&amp;gt&#59;
		&amp;lt&#59;servings&amp;gt&#59;
			5
		&amp;lt&#59;/servings&amp;gt&#59;
		&amp;lt&#59;ingredient&amp;&#35;45&#59;list&amp;gt&#59;
			&amp;lt&#59;ingredient&amp;gt&#59;
				&amp;lt&#59;amount&amp;gt&#59;
					1
				&amp;lt&#59;/amount&amp;gt&#59;
				&amp;lt&#59;unit&amp;gt&#59;
					c.
				&amp;lt&#59;/unit&amp;gt&#59;
				&amp;lt&#59;item&amp;gt&#59;
					sugar
				&amp;lt&#59;/item&amp;gt&#59;
				&amp;lt&#59;key&amp;gt&#59;
					sugar, white
				&amp;lt&#59;/key&amp;gt&#59;
			&amp;lt&#59;/ingredient&amp;gt&#59;
		&amp;lt&#59;/ingredient&#45;list&amp;gt&#59;
		&amp;lt&#59;instructions&amp;gt&#59;
			&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;b&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;This should be in bold&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;/b&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;
This should be plain
&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;i&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;This&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;/i&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59; should be in italics, &amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;u&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;this&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;/u&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59; should be underline, and &amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;u&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;b&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;i&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;this should be everything that is special&amp;&#35;33&#59;&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;/i&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;/b&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;/u&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;
		&amp;lt&#59;/instructions&amp;gt&#59;
	&amp;lt&#59;/recipe&amp;gt&#59;
	&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;3&amp;quot&#59;&amp;gt&#59;
		&amp;lt&#59;title&amp;gt&#59;
			Link Recipe
		&amp;lt&#59;/title&amp;gt&#59;
		&amp;lt&#59;source&amp;gt&#59;
			Google
		&amp;lt&#59;/source&amp;gt&#59;
		&amp;lt&#59;link&amp;gt&#59;
			http&amp;&#35;58&#59;//www.google.com
		&amp;lt&#59;/link&amp;gt&#59;
		&amp;lt&#59;servings&amp;gt&#59;
			4
		&amp;lt&#59;/servings&amp;gt&#59;
		&amp;lt&#59;ingredient&amp;&#35;45&#59;list&amp;gt&#59;
			&amp;lt&#59;ingredient&amp;gt&#59;
				&amp;lt&#59;amount&amp;gt&#59;
					1
				&amp;lt&#59;/amount&amp;gt&#59;
				&amp;lt&#59;unit&amp;gt&#59;
					cup
				&amp;lt&#59;/unit&amp;gt&#59;
				&amp;lt&#59;item&amp;gt&#59;
					sugar
				&amp;lt&#59;/item&amp;gt&#59;
				&amp;lt&#59;key&amp;gt&#59;
					sugar, white
				&amp;lt&#59;/key&amp;gt&#59;
			&amp;lt&#59;/ingredient&amp;gt&#59;
			&amp;lt&#59;ingredient&amp;gt&#59;
				&amp;lt&#59;amount&amp;gt&#59;
					2
				&amp;lt&#59;/amount&amp;gt&#59;
				&amp;lt&#59;unit&amp;gt&#59;
					cups
				&amp;lt&#59;/unit&amp;gt&#59;
				&amp;lt&#59;item&amp;gt&#59;
					flour
				&amp;lt&#59;/item&amp;gt&#59;
				&amp;lt&#59;key&amp;gt&#59;
					flour, all purpose
				&amp;lt&#59;/key&amp;gt&#59;
			&amp;lt&#59;/ingredient&amp;gt&#59;
			&amp;lt&#59;ingredient&amp;gt&#59;
				&amp;lt&#59;amount&amp;gt&#59;
					1
				&amp;lt&#59;/amount&amp;gt&#59;
				&amp;lt&#59;unit&amp;gt&#59;
					cup
				&amp;lt&#59;/unit&amp;gt&#59;
				&amp;lt&#59;item&amp;gt&#59;
					butter
				&amp;lt&#59;/item&amp;gt&#59;
				&amp;lt&#59;key&amp;gt&#59;
					butter
				&amp;lt&#59;/key&amp;gt&#59;
			&amp;lt&#59;/ingredient&amp;gt&#59;
		&amp;lt&#59;/ingredient&#45;list&amp;gt&#59;
		&amp;lt&#59;instructions&amp;gt&#59;
			This recipe is really radical. What you do is start with some ingredients and then google them.
		&amp;lt&#59;/instructions&amp;gt&#59;
		&amp;lt&#59;modifications&amp;gt&#59;
			This is a lovely note.
		&amp;lt&#59;/modifications&amp;gt&#59;
	&amp;lt&#59;/recipe&amp;gt&#59;
	&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;4&amp;quot&#59;&amp;gt&#59;
		&amp;lt&#59;title&amp;gt&#59;
			Ranges
		&amp;lt&#59;/title&amp;gt&#59;
		&amp;lt&#59;category&amp;gt&#59;
			Dessert
		&amp;lt&#59;/category&amp;gt&#59;
		&amp;lt&#59;cuisine&amp;gt&#59;
			Asian/Thai
		&amp;lt&#59;/cuisine&amp;gt&#59;
		&amp;lt&#59;source&amp;gt&#59;
			Epicurious
		&amp;lt&#59;/source&amp;gt&#59;
		&amp;lt&#59;rating&amp;gt&#59;
			1.5/5 stars
		&amp;lt&#59;/rating&amp;gt&#59;
		&amp;lt&#59;preptime&amp;gt&#59;
			1/2 hour
		&amp;lt&#59;/preptime&amp;gt&#59;
		&amp;lt&#59;cooktime&amp;gt&#59;
			20 minutes
		&amp;lt&#59;/cooktime&amp;gt&#59;
		&amp;lt&#59;servings&amp;gt&#59;
			4
		&amp;lt&#59;/servings&amp;gt&#59;
		&amp;lt&#59;ingredient&amp;&#35;45&#59;list&amp;gt&#59;
			&amp;lt&#59;ingredient&amp;gt&#59;
				&amp;lt&#59;amount&amp;gt&#59;
					2&amp;&#35;45&#59;4
				&amp;lt&#59;/amount&amp;gt&#59;
				&amp;lt&#59;item&amp;gt&#59;
					carrots
				&amp;lt&#59;/item&amp;gt&#59;
				&amp;lt&#59;key&amp;gt&#59;
					carrot
				&amp;lt&#59;/key&amp;gt&#59;
			&amp;lt&#59;/ingredient&amp;gt&#59;
			&amp;lt&#59;ingredient&amp;gt&#59;
				&amp;lt&#59;amount&amp;gt&#59;
					1&amp;&#35;45&#59;3
				&amp;lt&#59;/amount&amp;gt&#59;
				&amp;lt&#59;item&amp;gt&#59;
					onions
				&amp;lt&#59;/item&amp;gt&#59;
				&amp;lt&#59;key&amp;gt&#59;
					onion
				&amp;lt&#59;/key&amp;gt&#59;
			&amp;lt&#59;/ingredient&amp;gt&#59;
			&amp;lt&#59;ingredient&amp;gt&#59;
				&amp;lt&#59;amount&amp;gt&#59;
					1 1/2&amp;&#35;45&#59;2 3/4
				&amp;lt&#59;/amount&amp;gt&#59;
				&amp;lt&#59;unit&amp;gt&#59;
					tsp.
				&amp;lt&#59;/unit&amp;gt&#59;
				&amp;lt&#59;item&amp;gt&#59;
					sugar
				&amp;lt&#59;/item&amp;gt&#59;
				&amp;lt&#59;key&amp;gt&#59;
					sugar, white
				&amp;lt&#59;/key&amp;gt&#59;
			&amp;lt&#59;/ingredient&amp;gt&#59;
			&amp;lt&#59;ingredient&amp;gt&#59;
				&amp;lt&#59;amount&amp;gt&#59;
					2 1/4&amp;&#35;45&#59;4 1/2
				&amp;lt&#59;/amount&amp;gt&#59;
				&amp;lt&#59;unit&amp;gt&#59;
					c.
				&amp;lt&#59;/unit&amp;gt&#59;
				&amp;lt&#59;item&amp;gt&#59;
					flour
				&amp;lt&#59;/item&amp;gt&#59;
				&amp;lt&#59;key&amp;gt&#59;
					flour, all purpose
				&amp;lt&#59;/key&amp;gt&#59;
			&amp;lt&#59;/ingredient&amp;gt&#59;
		&amp;lt&#59;/ingredient&#45;list&amp;gt&#59;
		&amp;lt&#59;instructions&amp;gt&#59;
			This isn&amp;&#35;39&#59;t a real recipe&amp;&#35;33&#59;
&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;i&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;But this should be in italics&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;/i&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;
&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;b&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;And this should be in bold&amp;amp&#59;amp&amp;&#35;59&#59;lt&amp;&#35;59&#59;/b&amp;amp&#59;amp&amp;&#35;59&#59;gt&amp;&#35;59&#59;
This recipe should have 1 and 1/2 stars.
		&amp;lt&#59;/instructions&amp;gt&#59;
		&amp;lt&#59;modifications&amp;gt&#59;
			And these are notes.
		&amp;lt&#59;/modifications&amp;gt&#59;
	&amp;lt&#59;/recipe&amp;gt&#59;
	&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;5&amp;quot&#59;&amp;gt&#59;
		&amp;lt&#59;title&amp;gt&#59;
			Recipe with Image and Times
		&amp;lt&#59;/title&amp;gt&#59;
		&amp;lt&#59;category&amp;gt&#59;
			Dessert
		&amp;lt&#59;/category&amp;gt&#59;
		&amp;lt&#59;cuisine&amp;gt&#59;
			Asian/Chinese
		&amp;lt&#59;/cuisine&amp;gt&#59;
		&amp;lt&#59;source&amp;gt&#59;
			Tom
		&amp;lt&#59;/source&amp;gt&#59;
		&amp;lt&#59;rating&amp;gt&#59;
			4/5 stars
		&amp;lt&#59;/rating&amp;gt&#59;
		&amp;lt&#59;preptime&amp;gt&#59;
			1/2 hour
		&amp;lt&#59;/preptime&amp;gt&#59;
		&amp;lt&#59;cooktime&amp;gt&#59;
			20 minutes
		&amp;lt&#59;/cooktime&amp;gt&#59;
		&amp;lt&#59;servings&amp;gt&#59;
			4
		&amp;lt&#59;/servings&amp;gt&#59;
		&amp;lt&#59;image format&amp;&#35;61&#59;&amp;quot&#59;jpeg&amp;quot&#59;&amp;gt&#59;
&amp;lt&#59;&amp;&#35;33&#59;&amp;&#35;91&#59;CDATA&amp;&#35;91&#59;raw&amp;&#35;45&#59;jpeg&amp;&#35;45&#59;data&amp;&#35;93&#59;&amp;&#35;93&#59;&amp;gt&#59;&amp;lt&#59;/image&amp;gt&#59;
	&amp;lt&#59;/recipe&amp;gt&#59;
	&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;6&amp;quot&#59;&amp;gt&#59;
		&amp;lt&#59;title&amp;gt&#59;
			Reference Recipe
		&amp;lt&#59;/title&amp;gt&#59;
		&amp;lt&#59;rating&amp;gt&#59;
			3/5 stars
		&amp;lt&#59;/rating&amp;gt&#59;
		&amp;lt&#59;servings&amp;gt&#59;
			3
		&amp;lt&#59;/servings&amp;gt&#59;
		&amp;lt&#59;ingredient&amp;&#35;45&#59;list&amp;gt&#59;
			&amp;lt&#59;ingref amount&amp;&#35;61&#59;&amp;quot&#59;1&amp;quot&#59; refid&amp;&#35;61&#59;&amp;quot&#59;4&amp;quot&#59;&amp;gt&#59;
				Ranges
			&amp;lt&#59;/ingref&amp;gt&#59;
		&amp;lt&#59;/ingredient&#45;list&amp;gt&#59;
		&amp;lt&#59;instructions&amp;gt&#59;
			This recipe called our other reference recipe as an ingredient.
		&amp;lt&#59;/instructions&amp;gt&#59;
	&amp;lt&#59;/recipe&amp;gt&#59;
	&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;13&amp;quot&#59;&amp;gt&#59;
		&amp;lt&#59;title&amp;gt&#59;
			Duplicate Title
		&amp;lt&#59;/title&amp;gt&#59;
		&amp;lt&#59;instructions&amp;gt&#59;
			This is the first of two duplicates.
		&amp;lt&#59;/instructions&amp;gt&#59;
	&amp;lt&#59;/recipe&amp;gt&#59;
	&amp;lt&#59;recipe id&amp;&#35;61&#59;&amp;quot&#59;14&amp;quot&#59;&amp;gt&#59;
		&amp;lt&#59;title&amp;gt&#59;
			Duplicate Title
		&amp;lt&#59;/title&amp;gt&#59;
		&amp;lt&#59;instructions&amp;gt&#59;
			This is the second of two duplicates.
		&amp;lt&#59;/instructions&amp;gt&#59;
	&amp;lt&#59;/recipe&amp;gt&#59;
&amp;lt&#59;/gourmetdoc&amp;gt&#59;
Clone this wiki locally