hRecipeドラフト仕様をご覧ください。
hRecipe スキーマは、次のプロパティで構成されます。
* hrecipe
o fn. required. text. the name of the recipe.
o ingredient. required. 1 or more. text with optional valid (x)HTML markup.
+ value and type. optional. [experimental]
o yield. optional. text.
o instructions. optional. text with optional valid (x)HTML markup.
o duration. optional. 1 or more. text.
o photo. optional. 1 or more. using any element containing a URL, such as IMG. [experimental]
o summary. optional. text. [experimental]
o author. optional. 1 or more. [experimental]
o published. optional. [experimental]
o nutrition. optional. 1 or more. [experimental]
+ value and type. optional. [experimental]
o tag. optional. 1 or more. [experimental]
必須フィールドfn
を見ingredient
て必須である場合、他のフィールドはオプションです。
次の例は、有効な hRecipe レシピです。
<div class="mydivclass1">
<h1 class="fn">Spaghetti al ragù</h1>
<div class="myfancydiv2>Ingredients:</div>
<span class="ingredient">
spaghetti
</span>
<span class="ingredient">
ragù
</span>
</div>
マイクロフォーマットを確認するには、クールなOptimus バリデーターを使用できます。