This page was design to test the parsing of hproduct. These tests are part of the micorformats 2 test suite.
Notes: Athough the property "category" when defined as a class is collected as part of the h-product object, the use of rel="tag" to demark a "category" is added page level rel collection.
Raspberry Pi
{
"items": [{
"type": ["h-product"],
"properties": {
"name": ["Raspberry Pi"]
}
}]
}
{
"items": [{
"type": ["h-product"],
"properties": {
"name": ["Raspberry Pi"],
"url": ["http://www.raspberrypi.org/"]
}
}]
}
The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming.
More info about the Raspberry Pi£29.95
out of 5
{
"items": [{
"type": ["h-product"],
"properties": {
"name": ["Raspberry Pi"],
"photo": ["http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg"],
"description": [{
"value": "The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming.",
"html": "The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming."
}],
"url": ["http://www.raspberrypi.org/"],
"price": ["£29.95"],
"category": ["Computer","Education"],
"review": [{
"value": "4.5 out of 5",
"type": ["h-review"],
"properties": {
"rating": ["4.5"],
"name": ["4.5 out of 5"]
}
}]
}
}]
}
The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming.
More info about the Raspberry Pi£29.95
Categories: Computer, Education
From: The Raspberry Pi Foundation - Cambridge UK
{
"items": [{
"type": ["h-product"],
"properties": {
"name": ["Raspberry Pi"],
"photo": ["http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg"],
"description": [{
"value": "The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming.",
"html": "The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming."
}],
"url": ["http://www.raspberrypi.org/"],
"price": ["£29.95"],
"review": [{
"value": "9.2 out of 10 based on 178 reviews",
"type": ["h-review-aggregate"],
"properties": {
"rating": ["9.2"],
"average": ["9.2"],
"best": ["10"],
"count": ["178"]
}
}],
"category": ["Computer","Education"],
"brand": [{
"value": "From: The Raspberry Pi Foundation - Cambridge UK",
"type": ["h-card"],
"properties": {
"name": ["The Raspberry Pi Foundation"],
"org": ["The Raspberry Pi Foundation"],
"adr": [{
"value": "Cambridge UK",
"type": ["h-adr"],
"properties": {
"locality": ["Cambridge"],
"country-name": ["UK"],
"name": ["Cambridge UK"]
}
}]
}
}]
}
}]
}