reorganizes spec cases and fixes a couple few

This commit is contained in:
Jessica Lynn Suttles 2013-02-11 17:17:31 -08:00
parent 67465879fa
commit 72ce8e3cd6
158 changed files with 46 additions and 42 deletions

View file

@ -0,0 +1,9 @@
<!-- http://microformat2-node.jit.su/h-recipe.html -->
<div class="h-recipe">
<p class="p-name">Toast</p>
<ul>
<li class="e-ingredient">Slice of bread</li>
<li class="e-ingredient">Butter</li>
</ul>
</div>

View file

@ -0,0 +1,11 @@
// http://microformat2-node.jit.su/h-recipe.html
{
"items": [{
"type": ["h-recipe"],
"properties": {
"name": ["Toast"],
"ingredient": ["Slice of bread", "Butter"]
}
}]
}

View file

@ -0,0 +1,67 @@
<!-- http://microformat2-node.jit.su/h-recipe.html -->
<section class="hrecipe"><h1 class="p-name">Yorkshire Puddings</h1>
<p class="p-summary">Makes <span class="p-yield">6 good sized Yorkshire puddings</span>, the way my mum taught me</p>
<p><img class="u-photo" src="http://codebits.glennjones.net/semantic/yorkshire-puddings.jpg"></p>
<span class="p-review h-review-aggregate">
<span class="p-rating">
<span class="p-average">4.5</span> stars out 5 based on </span>
<span class="p-count">35</span> reviews</span>
<div id="ingredients-container">
<h3>Ingredients</h3>
<ul>
<li class="e-ingredient">1 egg</li>
<li class="e-ingredient">75g plain flour</li>
<li class="e-ingredient">70ml milk</li>
<li class="e-ingredient">60ml water</li>
<li class="e-ingredient">Pinch of salt</li>
</ul>
</div>
<h3>Time</h3>
<ul>
<li class="prepTime">Preparation <span class="value-title" title="PT0H10M">10 mins</span>
</li>
<li class="cookTime">Cook <span class="value-title" title="PT0H25M">25 mins</span>
</li>
</ul>
<h3>Instructions</h3>
<div class="e-instructions">
<ol>
<li>Pre-heat oven to 230C or gas mark 8. Pour the vegetable oil evenly into 2 x 4-hole
Yorkshire pudding tins and place in the oven to heat through.</li>
<li>To make the batter, add all the flour into a bowl and beat in the eggs until smooth.
Gradually add the milk and water while beating the mixture. It should be smooth and
without lumps. Finally add a pinch of salt.</li>
<li>Make sure the oil is piping hot before pouring the batter evenly into the tins.
Place in the oven for 20-25 minutes until pudding have risen and look golden brown</li>
</ol>
</div>
<h3>Nutrition</h3>
<ul id="nutrition-list">
<li class="nutrition">Calories: <span class="calories">125</span>
</li>
<li class="nutrition">Fat: <span class="fat">3.2g</span>
</li>
<li class="nutrition">Cholesterol: <span class="cholesterol">77mg</span>
</li>
</ul>
<p>(Amount per pudding)</p>
<p>
Published on <time class="dt-published" datetime="2011-10-27">27 Oct 2011</time> by
<span class="p-author h-card">
<a class="p-name u-url" href="http://glennjones.net">Glenn Jones</a>
</span>
</p>
<a href="http://www.flickr.com/photos/dithie/4106528495/">Photo by dithie</a>
</section>

View file

@ -0,0 +1,51 @@
// http://microformat2-node.jit.su/h-recipe.html
{
"items": [ {
"type": ["h-recipe"],
"properties": {
"name": ["Yorkshire Puddings"],
"summary": ["Makes 6 good sized Yorkshire puddings, the way my mum taught me"],
"yield": ["6 good sized Yorkshire puddings"],
"photo": ["http://codebits.glennjones.net/semantic/yorkshire-puddings.jpg"],
"review": [
{
"value": "4.5 stars out 5 based on 35 reviews",
"type": ["h-review-aggregate"],
"properties": {
"rating": ["4.5 stars out 5 based on"],
"average": ["4.5"],
"count": ["35"],
"name": ["4.5 stars out 5 based on 35 reviews"]
}
}
],
"ingredient": [
"1 egg",
"75g plain flour",
"70ml milk",
"60ml water",
"Pinch of salt"
],
"instructions": [
"\n \n Pre-heat oven to 230C or gas mark 8. Pour the vegetable oil evenly into 2 x 4-hole \n Yorkshire pudding tins and place in the oven to heat through. \n \n To make the batter, add all the flour into a bowl and beat in the eggs until smooth. \n Gradually add the milk and water while beating the mixture. It should be smooth and \n without lumps. Finally add a pinch of salt.\n \n Make sure the oil is piping hot before pouring the batter evenly into the tins. \n Place in the oven for 20-25 minutes until pudding have risen and look golden brown\n \n "
],
"nutrition": [
"Calories: 125",
"Fat: 3.2g",
"Cholesterol: 77mg"
],
"published": ["2011-10-27"],
"author": [
{
"value": "Glenn Jones",
"type": ["h-card"],
"properties": {
"name": ["Glenn Jones"],
"url": ["http://glennjones.net"]
}
}
]
}
}]
}