This page was design to test the parsing of hnews. These tests are part of the micorformats 2 test suite.
The expected JSON output:
{
"items": [{
"type": ["h-news"],
"properties": {
"entry": [{
"value": "microformats.org at 7 Last week the microformats.org community celebrated its 7th birthday at a gathering hosted by Mozilla in San Francisco and recognized accomplishments, challenges, and opportunities. The microformats tagline “humans first, machines second” forms the basis of many of our principles, and in that regard, we’d like to recognize a few people and thank them for their years of volunteer service Updated June 25th, 2012 by Tantek",
"type": ["h-entry"],
"properties": {
"name": ["microformats.org at 7"],
"author": {
"value": "Tantek",
"type": ["h-card"],
"properties": {
"name": ["Tantek"],
"url": ["http://tantek.com/"]
}
}
}
}],
"source-org": [{
"value": "microformats.org",
"type": ["h-card"],
"properties": {
"name": ["microformats.org"],
"url": ["http://microformats.org/"]
}
}],
"name": ["microformats.org at 7 Last week the microformats.org community celebrated its 7th birthday at a gathering hosted by Mozilla in San Francisco and recognized accomplishments, challenges, and opportunities. The microformats tagline “humans first, machines second” forms the basis of many of our principles, and in that regard, we’d like to recognize a few people and thank them for their years of volunteer service Updated June 25th, 2012 by Tantek microformats.org"]
}
},{
"type": ["rel"],
"properties": {
"bookmark": ["http://microformats.org/2012/06/25/microformats-org-at-7"]
}
}]
}
The expected JSON output:
{
"items": [{
"type": ["h-news"],
"properties": {
"entry": [{
"value": "microformats.org at 7 Last week the microformats.org community celebrated its 7th birthday at a gathering hosted by Mozilla in San Francisco and recognized accomplishments, challenges, and opportunities. The microformats tagline “humans first, machines second” forms the basis of many of our principles, and in that regard, we’d like to recognize a few people and thank them for their years of volunteer service Updated June 25th, 2012 by Tantek",
"type": ["h-entry"],
"properties": {
"name": ["microformats.org at 7"],
"summary": ["Last week the microformats.org community celebrated its 7th birthday at a gathering hosted by Mozilla in San Francisco and recognized accomplishments, challenges, and opportunities."],
"updated": ["2012-06-25T17:08:26"],
"author": {
"value": "Tantek",
"type": ["h-card"],
"properties": {
"name": ["Tantek"],
"url": ["http://tantek.com/"]
}
}
}
}],
"dateline": [{
"value": "San Francisco, CA",
"type": ["h-card"],
"properties": {
"adr": [{
"value": "San Francisco, CA",
"type": ["h-adr"],
"properties": {
"locality": ["San Francisco"],
"region": ["CA"],
"name": ["San Francisco, CA"]
}
}],
"name": ["San Francisco, CA"]
}
}],
"geo": [{
"value": "37.774921;-122.445202",
"type": ["h-geo"],
"properties": {
"name": ["37.774921;-122.445202"]
}
}],
"source-org": [{
"value": "microformats.org",
"type": ["h-card"],
"properties": {
"name": ["microformats.org"],
"url": ["http://microformats.org/"]
}
}],
"name": ["microformats.org at 7 Last week the microformats.org community celebrated its 7th birthday at a gathering hosted by Mozilla in San Francisco and recognized accomplishments, challenges, and opportunities. The microformats tagline “humans first, machines second” forms the basis of many of our principles, and in that regard, we’d like to recognize a few people and thank them for their years of volunteer service Updated June 25th, 2012 by Tantek San Francisco, CA (Geo: 37.774921;-122.445202) microformats.org Publishing policy"]
}
},{
"type": ["rel"],
"properties": {
"bookmark": ["http://microformats.org/2012/06/25/microformats-org-at-7"],
"principles": ["http://microformats.org/wiki/Category:public_domain_license"]
}
}]
}