Submitted by Mike (not verified) on Sun, 11/11/2007 - 07:50.
I was looking for a standardized format and naturally thought of XML. I had the exact same reaction to RecipeML that you did - nice job with the definition. A couple of small notes, first the year attribute is defined twice.
The title attribute of an ingredient raises a question. Are you expecting ingredient elements to specify the ingredient name in their PCDATA area? If so, why is title required? If not, why have a PCDATA area?
Also, an optional "brand" attribute would be helpful (i.e.
<ingredient quantity="12" measure="oz" brand="Campbell's" title="Cream of Mushroom Soup" />)
Very nice
I was looking for a standardized format and naturally thought of XML. I had the exact same reaction to RecipeML that you did - nice job with the definition. A couple of small notes, first the year attribute is defined twice.
The title attribute of an ingredient raises a question. Are you expecting ingredient elements to specify the ingredient name in their PCDATA area? If so, why is title required? If not, why have a PCDATA area?
Also, an optional "brand" attribute would be helpful (i.e.
<ingredient quantity="12" measure="oz" brand="Campbell's" title="Cream of Mushroom Soup" />)