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 ed58788884
commit c74ecef194
158 changed files with 46 additions and 42 deletions

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-review.html -->
<p class="h-review">Crepes on Cole</p>

View file

@ -0,0 +1,10 @@
// http://microformat2-node.jit.su/h-review.html
{
"items": [{
"type": ["h-review"],
"properties": {
"name": ["Crepes on Cole"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-review.html -->
<a class="h-review" href="https://plus.google.com/116941523817079328322/about">Crepes on Cole</a>

View file

@ -0,0 +1,11 @@
// http://microformat2-node.jit.su/h-review.html
{
"items": [{
"type": ["h-review"],
"properties": {
"name": ["Crepes on Cole"],
"url": ["https://plus.google.com/116941523817079328322/about"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-review.html -->
<img class="h-review" src="images/photo.gif" alt="Crepes on Cole">

View file

@ -0,0 +1,11 @@
// http://microformat2-node.jit.su/h-review.html
{
"items": [{
"type": ["h-review"],
"properties": {
"name": ["Crepes on Cole"],
"photo": ["images/photo.gif"]
}
}]
}

View file

@ -0,0 +1,6 @@
<!-- http://microformat2-node.jit.su/h-review.html -->
<div class="h-review">
<a class="p-item h-item" href="http://example.com/crepeoncole">Crepes on Cole</a>
<p><span class="rating">4.7</span> out of 5 stars</p>
</div>

View file

@ -0,0 +1,19 @@
// http://microformat2-node.jit.su/h-review.html
{
"items": [{
"type": ["h-review"],
"properties": {
"item": [{
"value": "Crepes on Cole",
"type": ["h-item"],
"properties": {
"name": ["Crepes on Cole"],
"url": ["http://example.com/crepeoncole"]
}
}],
"rating": ["4.7"],
"name": ["Crepes on Cole 4.7 out of 5 stars"]
}
}]
}

View file

@ -0,0 +1,8 @@
<!-- http://microformat2-node.jit.su/h-review.html -->
<div class="h-review">
<p class="p-item h-item">
<img class="u-photo" src="images/photo.gif"><a class="p-name u-url" href="http://example.com/crepeoncole">Crepes on Cole</a>
</p>
<p><span class="p-rating">5</span> out of 5 stars</p>
</div>

View file

@ -0,0 +1,20 @@
// http://microformat2-node.jit.su/h-review.html
{
"items": [{
"type": ["h-review"],
"properties": {
"item": [{
"value": "Crepes on Cole",
"type": ["h-item"],
"properties": {
"photo": ["http://example.com/images/photo.gif"],
"name": ["Crepes on Cole"],
"url": ["http://example.com/crepeoncole"]
}
}],
"rating": ["5"]
}
}]
}

View file

@ -0,0 +1,24 @@
<!-- http://microformat2-node.jit.su/h-review.html -->
<div class="h-review">
<span><span class="p-rating">5</span> out of 5 stars</span>
<h4 class="p-name">Crepes on Cole is awesome</h4>
<span class="p-reviewer h-card">
Reviewer: <span class="p-name">Tantek</span> -
</span>
<time class="dt-reviewed" datetime="2005-04-18">April 18, 2005</time><div class="e-description">
<p class="p-item h-card">
<span class="p-name p-org">Crepes on Cole</span> is one of the best little
creperies in <span class="p-adr h-adr"><span class="p-locality">San Francisco</span></span>.
Excellent food and service. Plenty of tables in a variety of sizes
for parties large and small. Window seating makes for excellent
people watching to/from the N-Judah which stops right outside.
I've had many fun social gatherings here, as well as gotten
plenty of work done thanks to neighborhood WiFi.
</p>
</div>
<p>Visit date: <span>April 2005</span></p>
<p>Food eaten: <a class="p-category" href="http://en.wikipedia.org/wiki/crepe">crepe</a></p>
<p>Permanent link for review: <a class="u-url" href="http://example.com/crepe">http://example.com/crepe</a></p>
<p><a rel="license" href="http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License">Creative Commons Attribution-ShareAlike License</a></p>
</div>

View file

@ -0,0 +1,37 @@
// http://microformat2-node.jit.su/h-review.html
{
"items": [{
"type": ["h-review"],
"properties": {
"rating": ["5"],
"name": ["Crepes on Cole is awesome"],
"reviewer": [{
"value": "Reviewer: Tantek -",
"type": ["h-card"],
"properties": {
"name": ["Tantek"]
}
}],
"description": ["\n <p class=\"p-item h-card\">\n <span class=\"p-name p-org\">Crepes on Cole</span> is one of the best little \n creperies in <span class=\"p-adr h-adr\"><span class=\"p-locality\">San Francisco</span></span>.\n Excellent food and service. Plenty of tables in a variety of sizes \n for parties large and small. Window seating makes for excellent \n people watching to/from the N-Judah which stops right outside. \n I've had many fun social gatherings here, as well as gotten \n plenty of work done thanks to neighborhood WiFi.\n </p>\n "],
"item": [{
"value": "Crepes on Cole is one of the best little creperies in San Francisco. Excellent food and service. Plenty of tables in a variety of sizes for parties large and small. Window seating makes for excellent people watching to/from the N-Judah which stops right outside. I've had many fun social gatherings here, as well as gotten plenty of work done thanks to neighborhood WiFi.",
"type": ["h-card"],
"properties": {
"name": ["Crepes on Cole"],
"org": ["Crepes on Cole"],
"adr": [{
"value": "San Francisco",
"type": ["h-adr"],
"properties": {
"locality": ["San Francisco"],
"name": ["San Francisco"]
}
}]
}
}],
"category": ["crepe"],
"url": ["http://example.com/crepe"]
}
}]
}