I'm working on building a recipe/meal planning site in WordPress. I need to have recipes indexable and sortable by the ingredients required, and I'm trying to figure out the best way of doing that.
Ideally, I would like to have ingredients in one taxonomy, and utensils/appliances required in another taxonomy. I'm coming up against a stumbling block, though, because I can't think of any simple way to associate measurements with the ingredients.
Where I'm at now is using custom fields for the ingredients and values for the measurements and units, like this:
Meta Key: eggs Meta Value: 3|eggs
Meta Key: flour Meta Value: 2.75|cups
and so on.
My question is, is there a better way of structuring this information?
Related, there apparently is a microformat specification for recipes, which is essentially the format I plan on using for display. There is a WordPress plugin (hRecipe) to generate this output format, but its not semantic enough for my liking. If/when I figure out a better way of storing this kind of data, I'll probably release it as plugin...