This page was design to test the parsing of h-review. These tests are part of the micorformats 2 test suite.
Crepes on Cole
{
"items": [{
"type": ["h-review"],
"properties": {
"name": ["Crepes on Cole"]
}
}]
}
{
"items": [{
"type": ["h-review"],
"properties": {
"name": ["Crepes on Cole"],
"url": ["https://plus.google.com/116941523817079328322/about"]
}
}]
}
{
"items": [{
"type": ["h-review"],
"properties": {
"name": ["Crepes on Cole"],
"photo": ["http://example.com/images/photo.gif"]
}
}]
}
out of 5 stars
{
"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"]
}
}]
}
out of 5 stars
{
"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"]
}
}]
}
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.
Visit date: April 2005
Food eaten: crepe
Permanent link for review: http://example.com/crepe
{
"items": [{
"type": ["h-review"],
"properties": {
"rating": ["5"],
"name": ["Crepes on Cole is awesome"],
"reviewer": [{
"value": "Reviewer: Tantek -",
"type": ["h-card"],
"properties": {
"name": ["Tantek"]
}
}],
"description": [{
"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.",
"html": "\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"]
}
}]
}