adds more spec cases

This commit is contained in:
Jessica Lynn Suttles 2013-02-07 14:29:31 -08:00
parent 241b9ffbd3
commit d946c7262c
125 changed files with 2275 additions and 1 deletions

View file

@ -10,7 +10,22 @@ task :update_spec_cases do
json_selector: ".source-javascript",
html_method: "inner_text"
},
{ urls: ["http://microformat2-node.jit.su/h-adr.html"],
{ urls: [
"http://microformat2-node.jit.su/h-adr.html",
"http://microformat2-node.jit.su/h-card.html",
"http://microformat2-node.jit.su/h-entry.html",
"http://microformat2-node.jit.su/h-event.html",
"http://microformat2-node.jit.su/h-geo.html",
"http://microformat2-node.jit.su/h-news.html",
"http://microformat2-node.jit.su/h-org.html",
"http://microformat2-node.jit.su/h-product.html",
"http://microformat2-node.jit.su/h-recipe.html",
"http://microformat2-node.jit.su/h-resume.html",
"http://microformat2-node.jit.su/h-review-aggregate.html",
"http://microformat2-node.jit.su/h-review.html",
"http://microformat2-node.jit.su/rel.html",
"http://microformat2-node.jit.su/includes.html",
],
html_selector: ".e-x-microformat",
json_selector: ".language-json",
html_method: "inner_html"

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<p class="h-card">Frances Berriman</p>

View file

@ -0,0 +1,10 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Frances Berriman"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<a class="h-card" href="http://benward.me/">Ben Ward</a>

View file

@ -0,0 +1,11 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Ben Ward"],
"url": ["http://benward.me/"]
}
}]
}

View file

@ -0,0 +1,4 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<a class="h-card" href="http://rohit.khare.org/">
<img alt="Rohit Khare" src="https://twimg0-a.akamaihd.net/profile_images/53307499/180px-Rohit-sq.jpg"></a>

View file

@ -0,0 +1,12 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Rohit Khare"],
"photo": ["https://twimg0-a.akamaihd.net/profile_images/53307499/180px-Rohit-sq.jpg"],
"url": ["http://rohit.khare.org/"]
}
}]
}

View file

@ -0,0 +1,11 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<img class="u-photo" alt="photo of Mitchell" src="http://blog.mozilla.org/press/files/2012/04/mitchell-baker.jpg"><p>
<a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
(<a class="u-url" href="https://twitter.com/MitchellBaker">@MitchellBaker</a>)
<span class="p-org">Mozilla Foundation</span>
</p>
<p class="p-note">Mitchell is responsible for setting the direction and scope of the Mozilla Foundation and its activities.</p>
<p><span class="p-category">Strategy</span> and <span class="p-category">Leadership</span></p>
</div>

View file

@ -0,0 +1,15 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"photo": ["http://blog.mozilla.org/press/files/2012/04/mitchell-baker.jpg"],
"url": ["http://blog.lizardwrangler.com/", "https://twitter.com/MitchellBaker"],
"name": ["Mitchell Baker"],
"org": ["Mozilla Foundation"],
"note": ["Mitchell is responsible for setting the direction and scope of the Mozilla Foundation and its activities."],
"category": ["Strategy", "Leadership"]
}
}]
}

View file

@ -0,0 +1,6 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
(<a class="p-org h-card" href="http://mozilla.org/">Mozilla Foundation</a>)
</div>

View file

@ -0,0 +1,26 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"url": ["http://blog.lizardwrangler.com/"],
"name": ["Mitchell Baker"],
"org": [{
"value": "Mozilla Foundation",
"type": ["h-card"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
}]
}

View file

@ -0,0 +1,6 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
(<a class="p-org h-card h-org" href="http://mozilla.org/">Mozilla Foundation</a>)
</div>

View file

@ -0,0 +1,30 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Mitchell Baker"],
"url": ["http://blog.lizardwrangler.com/"],
"org": [{
"value": "Mozilla Foundation",
"type": ["h-card", "h-org"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
},{
"type": ["h-org"],
"properties": {
"name": ["Mozilla Foundation"]
}
}]
}

View file

@ -0,0 +1,6 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
(<a class="h-org h-card" href="http://mozilla.org/">Mozilla Foundation</a>)
</div>

View file

@ -0,0 +1,29 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Mitchell Baker"],
"url": ["http://blog.lizardwrangler.com/"]
},
"children": [{
"type": ["h-card", "h-org"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
}]
},{
"type": ["h-card"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
},{
"type": ["h-org"],
"properties": {
"name": ["Mozilla Foundation"]
}
}]
}

View file

@ -0,0 +1,16 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<!-- innerText and value pattern -->
<span class="p-name">
<span class="p-given-name value">John</span>
<abbr class="p-additional-name" title="Peter">P</abbr>
<span class="p-family-name value ">Doe</span>
</span>
<data class="p-honorific-suffix" value="MSc"></data><!-- theses should return no value --><br class="p-honorific-suffix">BSc
<hr class="p-honorific-suffix">BA
<!-- image and area tags -->
<img class="p-honorific-suffix" src="images/logo.gif" alt="PHD"><img src="images/logo.gif" alt="company logos" usemap="#logomap"><map name="logomap"><area class="p-org" shape="rect" coords="0,0,82,126" href="madgex.htm" alt="Madgex">
<area class="p-org" shape="circle" coords="90,58,3" href="mozilla.htm" alt="Mozilla"></map>
</div>

View file

@ -0,0 +1,15 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["John Doe"],
"given-name": ["John"],
"additional-name": ["Peter"],
"family-name": ["Doe"],
"honorific-suffix": ["MSc","PHD"],
"org": ["Madgex", "Mozilla"]
}
}]
}

View file

@ -0,0 +1,4 @@
<!-- http://microformat2-node.jit.su/h-entry.html -->
<p class="h-entry">microformats.org at 7</p>

View file

@ -0,0 +1,10 @@
// http://microformat2-node.jit.su/h-entry.html
{
"items": [{
"type": ["h-entry"],
"properties": {
"name": ["microformats.org at 7"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-entry.html -->
<a class="h-entry" href="http://microformats.org/2012/06/25/microformats-org-at-7">microformats.org at 7</a>

View file

@ -0,0 +1,11 @@
// http://microformat2-node.jit.su/h-entry.html
{
"items": [{
"type": ["h-entry"],
"properties": {
"name": ["microformats.org at 7"],
"url": ["http://microformats.org/2012/06/25/microformats-org-at-7"]
}
}]
}

View file

@ -0,0 +1,21 @@
<!-- http://microformat2-node.jit.su/h-entry.html -->
<div class="h-entry">
<h1><a class="p-name u-url" href="http://microformats.org/2012/06/25/microformats-org-at-7">microformats.org at 7</a></h1>
<div class="e-content">
<p class="p-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.</p>
<p>The microformats tagline “humans first, machines second”
forms the basis of many of our
<a href="http://microformats.org/wiki/principles">principles</a>, and
in that regard, wed like to recognize a few people and
thank them for their years of volunteer service </p>
</div>
<p>Updated
<time class="dt-updated" datetime="2012-06-25T17:08:26">June 25th, 2012</time> by
<a class="p-author h-card" href="http://tantek.com/">Tantek</a>
</p>
</div>

View file

@ -0,0 +1,28 @@
// http://microformat2-node.jit.su/h-entry.html
{
"items": [{
"type": ["h-entry"],
"properties": {
"url": ["http://microformats.org/2012/06/25/microformats-org-at-7"],
"name": ["microformats.org at 7"],
"content": ["\n <p class=\"p-summary\">Last week the microformats.org community \n celebrated its 7th birthday at a gathering hosted by Mozilla in \n San Francisco and recognized accomplishments, challenges, and \n opportunities.</p>\n\n <p>The microformats tagline “humans first, machines second” \n forms the basis of many of our \n <a href=\"http://microformats.org/wiki/principles\">principles</a>, and \n in that regard, wed like to recognize a few people and \n thank them for their years of volunteer service </p>\n "],
"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/"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Tantek"],
"url": ["http://tantek.com/"]
}
}]
}

View file

@ -0,0 +1,22 @@
<!-- http://microformat2-node.jit.su/h-entry.html -->
<div class="h-entry">
<p class="p-name">microformats.org at 7</p>
<!-- value and value-title patterns -->
<p class="u-url">
<span class="value-title" title="http://microformats.org/"> </span>
Article permalink
</p>
<p class="u-url">
<span class="value">http://microformats.org/</span> -
<span class="value">2012/06/25/microformats-org-at-7</span>
</p>
<p><a class="u-url" href="http://microformats.org/2012/06/25/microformats-org-at-7">Article permalink</a></p>
<img src="images/logo.gif" alt="company logos" usemap="#logomap"><map name="logomap"><area class="u-url" shape="rect" coords="0,0,82,126" href="http://microformats.org/" alt="microformats.org"></map><img class="u-photo" src="images/logo.gif" alt="company logos"><object class="u-url" data="http://microformats.org/wiki/microformats2-parsing"></object>
<abbr class="u-url" title="http://microformats.org/wiki/value-class-pattern">value-class-pattern</abbr>
<data class="u-url" value="http://microformats.org/wiki/"></data><p class="u-url">http://microformats.org/discuss</p>
</div>

View file

@ -0,0 +1,21 @@
// http://microformat2-node.jit.su/h-entry.html
{
"items": [{
"type": ["h-entry"],
"properties": {
"name": ["microformats.org at 7"],
"url": [
"http://microformats.org/",
"http://microformats.org/2012/06/25/microformats-org-at-7",
"http://microformats.org/2012/06/25/microformats-org-at-7",
"http://microformats.org/",
"http://microformats.org/wiki/microformats2-parsing",
"http://microformats.org/wiki/value-class-pattern",
"http://microformats.org/wiki/",
"http://microformats.org/discuss"
],
"photo": ["http://example.com/images/logo.gif"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-event.html -->
<p class="h-event">IndieWebCamp 2012</p>

View file

@ -0,0 +1,10 @@
// http://microformat2-node.jit.su/h-event.html
{
"items": [{
"type": ["h-event"],
"properties": {
"name": ["IndieWebCamp 2012"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-event.html -->
<a class="h-event" href="http://indiewebcamp.com/2012">IndieWebCamp 2012</a>

View file

@ -0,0 +1,11 @@
// http://microformat2-node.jit.su/h-event.html
{
"items": [{
"type": ["h-event"],
"properties": {
"name": ["IndieWebCamp 2012"],
"url": ["http://indiewebcamp.com/2012"]
}
}]
}

View file

@ -0,0 +1,14 @@
<!-- http://microformat2-node.jit.su/h-event.html -->
<div class="h-event">
<span class="p-name">CPJ Online Press Freedom Summit</span>
(<time class="dt-start" datetime="2012-10-10">10 Nov 2012</time>) in
<span class="p-location">San Francisco</span>.
Attendees:
<ul>
<li class="p-attendee h-card">Brian Warner</li>
<li class="p-attendee h-card">Kyle Machulis</li>
<li class="p-attendee h-card">Tantek Çelik</li>
<li class="p-attendee h-card">Sid Sutter</li>
</ul>
</div>

View file

@ -0,0 +1,57 @@
// http://microformat2-node.jit.su/h-event.html
{
"items": [{
"type": ["h-event"],
"properties": {
"name": ["CPJ Online Press Freedom Summit"],
"start": ["2012-10-10"],
"location": ["San Francisco"],
"attendee": [{
"value": "Brian Warner",
"type": ["h-card"],
"properties": {
"name": ["Brian Warner"]
}
},{
"value": "Kyle Machulis",
"type": ["h-card"],
"properties": {
"name": ["Kyle Machulis"]
}
},{
"value": "Tantek Çelik",
"type": ["h-card"],
"properties": {
"name": ["Tantek Çelik"]
}
},{
"value": "Sid Sutter",
"type": ["h-card"],
"properties": {
"name": ["Sid Sutter"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Brian Warner"]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Kyle Machulis"]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Tantek Çelik"]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Sid Sutter"]
}
}]
}

View file

@ -0,0 +1,15 @@
<!-- http://microformat2-node.jit.su/h-event.html -->
<div class="h-event">
<a class="p-name u-url" href="http://indiewebcamp.com/2012">
IndieWebCamp 2012
</a>
from <time class="dt-start">2012-06-30</time>
to <time class="dt-end">2012-07-01</time> at
<span class="p-location h-card">
<a class="p-name p-org u-url" href="http://geoloqi.com/">Geoloqi</a>,
<span class="p-street-address">920 SW 3rd Ave. Suite 400</span>,
<span class="p-locality">Portland</span>,
<abbr class="p-region" title="Oregon">OR</abbr>
</span>
</div>

View file

@ -0,0 +1,35 @@
// http://microformat2-node.jit.su/h-event.html
{
"items": [{
"type": ["h-event"],
"properties": {
"name": ["IndieWebCamp 2012"],
"url": ["http://indiewebcamp.com/2012"],
"start": ["2012-06-30"],
"end": ["2012-07-01"],
"location": [{
"value": "Geoloqi, 920 SW 3rd Ave. Suite 400, Portland, OR",
"type": ["h-card"],
"properties": {
"name": ["Geoloqi"],
"org": ["Geoloqi"],
"url": ["http://geoloqi.com/"],
"street-address": ["920 SW 3rd Ave. Suite 400"],
"locality": ["Portland"],
"region": ["Oregon"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Geoloqi"],
"org": ["Geoloqi"],
"url": ["http://geoloqi.com/"],
"street-address": ["920 SW 3rd Ave. Suite 400"],
"locality": ["Portland"],
"region": ["Oregon"]
}
}]
}

View file

@ -0,0 +1,9 @@
<!-- http://microformat2-node.jit.su/h-event.html -->
<span class="h-event">
<span class="p-name">The 4th Microformat party</span> will be on
<span class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00</time></span> to
<span class="dt-end"><time class="value">22:00</time></span>.
</span>

View file

@ -0,0 +1,12 @@
// http://microformat2-node.jit.su/h-event.html
{
"items": [{
"type": ["h-event"],
"properties": {
"name": ["The 4th Microformat party"],
"start": ["2009-06-26T19:00:00"],
"end": ["2009-06-26T22:00:00"]
}
}]
}

View file

@ -0,0 +1,45 @@
<!-- http://microformat2-node.jit.su/h-event.html -->
<span class="h-event">
<span class="p-name">The 4th Microformat party</span> will be on
<ul>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00:00-08:00</time>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00:00-0800</time>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00:00+0800</time>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00:00Z</time>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00:00</time>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00-08:00</time>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00+08:00</time>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00Z</time>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<time class="value">19:00</time>
</li>
<li>
<time class="dt-end" datetime="2013-034">3 February 2013</time>
</li>
</ul></span>

View file

@ -0,0 +1,22 @@
// http://microformat2-node.jit.su/h-event.html
{
"items": [{
"type": ["h-event"],
"properties": {
"name": ["The 4th Microformat party"],
"start": [
"2009-06-26T19:00:00-0800",
"2009-06-26T19:00:00-0800",
"2009-06-26T19:00:00+0800",
"2009-06-26T19:00:00Z",
"2009-06-26T19:00:00",
"2009-06-26T19:00:00-0800",
"2009-06-26T19:00:00+0800",
"2009-06-26T19:00:00Z",
"2009-06-26T19:00:00"
],
"end": ["2013-034"]
}
}]
}

View file

@ -0,0 +1,51 @@
<!-- http://microformat2-node.jit.su/h-event.html -->
<span class="h-event">
<span class="p-name">The 4th Microformat party</span> will be on
<ul>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<span class="value">07:00:00pm
</span>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<span class="value">07:00:00am
</span>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<span class="value">07:00pm
</span>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<span class="value">07pm
</span>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<span class="value">7pm
</span>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<span class="value">7:00pm
</span>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<span class="value">07:00p.m.
</span>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<span class="value">07:00PM
</span>
</li>
<li class="dt-start">
<time class="value" datetime="2009-06-26">26 July</time>, from
<span class="value">7:00am
</span>
</li>
</ul></span>

View file

@ -0,0 +1,21 @@
// http://microformat2-node.jit.su/h-event.html
{
"items": [{
"type": ["h-event"],
"properties": {
"name": ["The 4th Microformat party"],
"start": [
"2009-06-26T19:00:00",
"2009-06-26T07:00:00",
"2009-06-26T19:00:00",
"2009-06-26T19:00:00",
"2009-06-26T19:00:00",
"2009-06-26T19:00:00",
"2009-06-26T19:00:00",
"2009-06-26T19:00:00",
"2009-06-26T07:00:00"
]
}
}]
}

View file

@ -0,0 +1,22 @@
<!-- http://microformat2-node.jit.su/h-event.html -->
<span class="h-event">
<span class="p-name">The party</span> will be on
<!-- value and value-title patterns -->
<p class="dt-start">
<span class="value-title" title="2013-03-14"> </span>
March 14th 2013
</p>
<p class="dt-start">
<time class="value" datetime="2013-06-25">25 July</time>, from
<span class="value">07:00:00am
</span></p>
<!-- elements with datetime attribute -->
<p>
<time class="dt-start" datetime="2013-06-26">26 June</time><ins class="dt-start" datetime="2013-06-27">Just added</ins>,
<del class="dt-start" datetime="2013-06-28">Removed</del>
</p>
<abbr class="dt-start" title="2013-06-29">June 29</abbr>
<data class="dt-start" value="2013-07-01"></data><p class="dt-start">2013-07-02</p>
</span>

View file

@ -0,0 +1,20 @@
// http://microformat2-node.jit.su/h-event.html
{
"items": [{
"type": ["h-event"],
"properties": {
"name": ["The party"],
"start": [
"2013-03-14",
"2013-06-25T07:00:00",
"2013-06-26",
"2013-06-27",
"2013-06-28",
"2013-06-29",
"2013-07-01",
"2013-07-02"
]
}
}]
}

View file

@ -0,0 +1,5 @@
<!-- http://microformat2-node.jit.su/h-geo.html -->
<p>On my way to The Bricklayer's Arms
(Geo: <span class="h-geo">51.513458;-0.14812</span>)
</p>

View file

@ -0,0 +1,10 @@
// http://microformat2-node.jit.su/h-geo.html
{
"items": [{
"type": ["h-geo"],
"properties": {
"name": ["51.513458;-0.14812"]
}
}]
}

View file

@ -0,0 +1,7 @@
<!-- http://microformat2-node.jit.su/h-geo.html -->
<p class="h-geo">We are meeting at
<span class="p-name">The Bricklayer's Arms</span>
(Geo: <span class="p-latitude">51.513458</span>:
<span class="p-longitude">-0.14812</span>)
</p>

View file

@ -0,0 +1,12 @@
// http://microformat2-node.jit.su/h-geo.html
{
"items": [{
"type": ["h-geo"],
"properties": {
"name": ["The Bricklayer's Arms"],
"latitude": ["51.513458"],
"longitude": ["-0.14812"]
}
}]
}

View file

@ -0,0 +1,10 @@
<!-- http://microformat2-node.jit.su/h-geo.html -->
<p>My favourite hill in the lakes is
<span class="h-geo">
<span class="p-name">Pen-y-ghent</span>
(Geo: <span class="p-latitude">54.155278</span>,
<span class="p-longitude">-2.249722</span>). It
raises to <span class="p-altitude">694</span>m.
</span>
</p>

View file

@ -0,0 +1,13 @@
// http://microformat2-node.jit.su/h-geo.html
{
"items": [{
"type": ["h-geo"],
"properties": {
"name": ["Pen-y-ghent"],
"latitude": ["54.155278"],
"longitude": ["-2.249722"],
"altitude": ["694"]
}
}]
}

View file

@ -0,0 +1,12 @@
<!-- http://microformat2-node.jit.su/h-geo.html -->
<p>
<span class="h-geo">
<span class="p-latitude">
<span class="value-title" title="51.513458">N 51° 51.345</span>,
</span>
<span class="p-longitude">
<span class="value-title" title="-0.14812">W -0° 14.812</span>
</span>
</span>
</p>

View file

@ -0,0 +1,12 @@
// http://microformat2-node.jit.su/h-geo.html
{
"items": [{
"type": ["h-geo"],
"properties": {
"latitude": ["51.513458"],
"longitude": ["-0.14812"],
"name": ["N 51° 51.345, W -0° 14.812"]
}
}]
}

View file

@ -0,0 +1,12 @@
<!-- http://microformat2-node.jit.su/h-geo.html -->
<p>
<span class="h-geo">The Bricklayer's Arms
<span class="p-latitude">
<span class="value-title" title="51.513458"> </span>
</span>
<span class="p-longitude">
<span class="value-title" title="-0.14812"> </span>
</span>
</span>
</p>

View file

@ -0,0 +1,12 @@
// http://microformat2-node.jit.su/h-geo.html
{
"items": [{
"type": ["h-geo"],
"properties": {
"latitude": ["51.513458"],
"longitude": ["-0.14812"],
"name": ["The Bricklayer's Arms"]
}
}]
}

View file

@ -0,0 +1,6 @@
<!-- http://microformat2-node.jit.su/h-geo.html -->
<p class="h-geo">
<abbr class="p-latitude" title="37.408183">N 37° 24.491</abbr>,
<abbr class="p-longitude" title="-122.13855">W 122° 08.313</abbr>
</p>

View file

@ -0,0 +1,12 @@
// http://microformat2-node.jit.su/h-geo.html
{
"items": [{
"type": ["h-geo"],
"properties": {
"latitude": ["37.408183"],
"longitude": ["-122.13855"],
"name": ["N 37° 24.491, W 122° 08.313"]
}
}]
}

View file

@ -0,0 +1,26 @@
<!-- http://microformat2-node.jit.su/h-news.html -->
<div class="h-news">
<div class="p-entry h-entry">
<h1><a class="p-name u-url" href="http://microformats.org/2012/06/25/microformats-org-at-7">microformats.org at 7</a></h1>
<div class="e-content">
<p class="p-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.</p>
<p>The microformats tagline “humans first, machines second”
forms the basis of many of our
<a href="http://microformats.org/wiki/principles">principles</a>, and
in that regard, wed like to recognize a few people and
thank them for their years of volunteer service </p>
</div>
<p>Updated
<time class="dt-updated" datetime="2012-06-25T17:08:26">June 25th, 2012</time> by
<a class="p-author h-card" href="http://tantek.com/">Tantek</a>
</p>
</div>
<p>
<a class="p-source-org h-card" href="http://microformats.org/">microformats.org</a>
</p>
</div>

View file

@ -0,0 +1,37 @@
// http://microformat2-node.jit.su/h-news.html
{
"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, wed 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"],
"url": ["http://microformats.org/2012/06/25/microformats-org-at-7"],
"content": ["\n <p class=\"p-summary\">Last week the microformats.org community \n celebrated its 7th birthday at a gathering hosted by Mozilla in \n San Francisco and recognized accomplishments, challenges, and \n opportunities.</p>\n\n <p>The microformats tagline “humans first, machines second” \n forms the basis of many of our \n <a href=\"http://microformats.org/wiki/principles\">principles</a>, and \n in that regard, wed like to recognize a few people and \n thank them for their years of volunteer service </p>\n "],
"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/"]
}
}
}
}],
"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, wed like to recognize a few people and thank them for their years of volunteer service Updated June 25th, 2012 by Tantek microformats.org"]
}
}]
}

View file

@ -0,0 +1,37 @@
<!-- http://microformat2-node.jit.su/h-news.html -->
<div class="h-news">
<div class="p-entry h-entry">
<h1><a class="p-name u-url" href="http://microformats.org/2012/06/25/microformats-org-at-7">microformats.org at 7</a></h1>
<div class="e-content">
<p class="p-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.</p>
<p>The microformats tagline “humans first, machines second”
forms the basis of many of our
<a href="http://microformats.org/wiki/principles">principles</a>, and
in that regard, wed like to recognize a few people and
thank them for their years of volunteer service </p>
</div>
<p>Updated
<time class="dt-updated" datetime="2012-06-25T17:08:26">June 25th, 2012</time> by
<a class="p-author h-card" href="http://tantek.com/">Tantek</a>
</p>
</div>
<p>
<span class="p-dateline h-adr">
<span class="p-locality">San Francisco</span>,
<span class="p-region">CA</span>
</span>
(Geo: <span class="p-geo">37.774921;-122.445202</span>)
<span class="p-source-org h-card">
<a class="p-name u-url" href="http://microformats.org/">microformats.org</a>
</span>
</p>
<p>
<a class="u-principles" href="http://microformats.org/wiki/Category:public_domain_license">Publishing policy</a>
</p>
</div>

View file

@ -0,0 +1,48 @@
// http://microformat2-node.jit.su/h-news.html
{
"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, wed 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"],
"url": ["http://microformats.org/2012/06/25/microformats-org-at-7"],
"content": ["\n <p class=\"p-summary\">Last week the microformats.org community \n celebrated its 7th birthday at a gathering hosted by Mozilla in \n San Francisco and recognized accomplishments, challenges, and \n opportunities.</p>\n\n <p>The microformats tagline “humans first, machines second” \n forms the basis of many of our \n <a href=\"http://microformats.org/wiki/principles\">principles</a>, and \n in that regard, wed like to recognize a few people and \n thank them for their years of volunteer service </p>\n "],
"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-adr"],
"properties": {
"locality": ["San Francisco"],
"region": ["CA"],
"name": ["San Francisco, CA"]
}
}],
"geo": ["37.774921;-122.445202"],
"source-org": [{
"value": "microformats.org",
"type": ["h-card"],
"properties": {
"name": ["microformats.org"],
"url": ["http://microformats.org/"]
}
}],
"principles": ["http://microformats.org/wiki/Category:public_domain_license"],
"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, wed 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"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-org.html -->
<span class="h-org">Mozilla Foundation</span>

View file

@ -0,0 +1,10 @@
// http://microformat2-node.jit.su/h-org.html
{
"items": [{
"type": ["h-org"],
"properties": {
"name": ["Mozilla Foundation"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-org.html -->
<a class="h-org" href="http://mozilla.org/">Mozilla Foundation</a>

View file

@ -0,0 +1,11 @@
// http://microformat2-node.jit.su/h-org.html
{
"items": [{
"type": ["h-org"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
}]
}

View file

@ -0,0 +1,6 @@
<!-- http://microformat2-node.jit.su/h-org.html -->
<p class="h-org">
<span class="p-organization-name">W3C</span> -
<span class="p-organization-unit">CSS Working Group</span>
</p>

View file

@ -0,0 +1,12 @@
// http://microformat2-node.jit.su/h-org.html
{
"items": [{
"type": ["h-org"],
"properties": {
"organization-name": ["W3C"],
"organization-unit": ["CSS Working Group"],
"name": ["W3C - CSS Working Group"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-product.html -->
<p class="h-product">Raspberry Pi</p>

View file

@ -0,0 +1,10 @@
// http://microformat2-node.jit.su/h-product.html
{
"items": [{
"type": ["h-product"],
"properties": {
"name": ["Raspberry Pi"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-product.html -->
<a class="h-product" href="http://www.raspberrypi.org/">Raspberry Pi</a>

View file

@ -0,0 +1,11 @@
// http://microformat2-node.jit.su/h-product.html
{
"items": [{
"type": ["h-product"],
"properties": {
"name": ["Raspberry Pi"],
"url": ["http://www.raspberrypi.org/"]
}
}]
}

View file

@ -0,0 +1,11 @@
<!-- http://microformat2-node.jit.su/h-product.html -->
<div class="h-product">
<h2 class="p-name">Raspberry Pi</h2>
<img class="u-photo" src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg"><p class="e-description">The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. Its 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.</p>
<a class="u-url" href="http://www.raspberrypi.org/">More info about the Raspberry Pi</a>
<p class="p-price">£29.95</p>
<p class="p-review h-review"><span class="p-rating">4.5</span> out of 5</p>
<p>Categories: <span class="p-category">Computer</span>, <span class="p-category">Education</span></p>
</div>

View file

@ -0,0 +1,23 @@
// http://microformat2-node.jit.su/h-product.html
{
"items": [{
"type": ["h-product"],
"properties": {
"name": ["Raspberry Pi"],
"photo": ["http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg"],
"description": ["The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. Its 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"]
}
}]
}
}]
}

View file

@ -0,0 +1,22 @@
<!-- http://microformat2-node.jit.su/h-product.html -->
<div class="h-product">
<h2 class="p-name">Raspberry Pi</h2>
<img class="u-photo" src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg"><p class="e-description">The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. Its 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.</p>
<a class="u-url" href="http://www.raspberrypi.org/">More info about the Raspberry Pi</a>
<p class="p-price">£29.95</p>
<p class="p-review h-review-aggregate">
<span class="p-rating h-rating">
<span class="p-average">9.2</span> out of
<span class="p-best">10</span>
based on <span class="p-count">178</span> reviews
</span>
</p>
<p>Categories: <span class="p-category">Computer</span>, <span class="p-category">Education</span></p>
<p class="p-brand h-card">From:
<span class="p-name p-org">The Raspberry Pi Foundation</span> -
<span class="p-locality">Cambridge</span>
<span class="p-country-name">UK</span>
</p>
</div>

View file

@ -0,0 +1,42 @@
// http://microformat2-node.jit.su/h-product.html
{
"items": [{
"type": ["h-product"],
"properties": {
"name": ["Raspberry Pi"],
"photo": ["http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg"],
"description": ["The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. Its 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": [{
"value": "9.2 out of 10 based on 178 reviews",
"type": ["h-rating"],
"properties": {
"average": ["9.2"],
"best": ["10"],
"count": ["178"],
"name": ["9.2 out of 10 based on 178 reviews"]
}
}],
"name": ["9.2 out of 10 based on 178 reviews"]
}
}],
"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"],
"locality": ["Cambridge"],
"country-name": ["UK"]
}
}]
}
}]
}

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"]
}
}
]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-resume.html -->
<p class="h-resume">Tim Berners-Lee, invented the World Wide Web.</p>

View file

@ -0,0 +1,10 @@
// http://microformat2-node.jit.su/h-resume.html
{
"items": [{
"type": ["h-resume"],
"properties": {
"name": ["Tim Berners-Lee, invented the World Wide Web."]
}
}]
}

View file

@ -0,0 +1,20 @@
<!-- http://microformat2-node.jit.su/h-resume.html -->
<div class="h-resume">
<p class="p-name">Tim Berners-Lee</p>
<p class="p-summary">Invented the World Wide Web.</p>
<hr>
<div class="p-contact h-card">
<p class="p-name">MIT</p>
<p>
<span class="p-street-address">32 Vassar Street</span>,
<span class="p-extended-address">Room 32-G524</span>,
<span class="p-locality">Cambridge</span>,
<span class="p-region">MA</span>
<span class="p-postal-code">02139</span>,
<span class="p-country-name">USA</span>.
</p>
<p>Tel:<span class="p-tel">+1 (617) 253 5702</span></p>
<p>Email:<a class="u-email" href="mailto:timbl@w3.org">timbl@w3.org</a></p>
</div>
</div>

View file

@ -0,0 +1,39 @@
// http://microformat2-node.jit.su/h-resume.html
{
"items": [{
"type": ["h-resume"],
"properties": {
"name": ["Tim Berners-Lee"],
"summary": ["Invented the World Wide Web."],
"contact": [{
"value": "MIT 32 Vassar Street, Room 32-G524, Cambridge, MA 02139, USA. Tel:+1 (617) 253 5702 Email:timbl@w3.org",
"type": ["h-card"],
"properties": {
"name": ["MIT"],
"street-address": ["32 Vassar Street"],
"extended-address": ["Room 32-G524"],
"locality": ["Cambridge"],
"region": ["MA"],
"postal-code": ["02139"],
"country-name": ["USA"],
"tel": ["+1 (617) 253 5702"],
"email": ["mailto:timbl@w3.org"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["MIT"],
"street-address": ["32 Vassar Street"],
"extended-address": ["Room 32-G524"],
"locality": ["Cambridge"],
"region": ["MA"],
"postal-code": ["02139"],
"country-name": ["USA"],
"tel": ["+1 (617) 253 5702"],
"email": ["timbl@w3.org"]
}
}]
}

View file

@ -0,0 +1,17 @@
<!-- http://microformat2-node.jit.su/h-resume.html -->
<div class="h-resume">
<p class="p-name">Tim Berners-Lee</p>
<div class="p-contact h-card">
<p class="p-title">Director of the World Wide Web Foundation</p>
</div>
<p class="p-summary">Invented the World Wide Web.</p>
<hr>
<div class="p-experience h-event h-card">
<p class="p-title">Director</p>
<p><a class="p-name p-org u-url" href="http://www.webfoundation.org/">World Wide Web Foundation</a></p>
<p>
<time class="dt-start" datetime="2009-01-18">Jan 2009</time> Present
<time class="dt-duration" datetime="P2Y11M">(2 years 11 month)</time></p>
</div>
</div>

View file

@ -0,0 +1,54 @@
// http://microformat2-node.jit.su/h-resume.html
{
"items": [{
"type": ["h-resume"],
"properties": {
"name": ["Tim Berners-Lee"],
"summary": ["Invented the World Wide Web."],
"contact": [{
"value": "Director of the World Wide Web Foundation",
"type": ["h-card"],
"properties": {
"name": ["Director of the World Wide Web Foundation"],
"title": ["Director of the World Wide Web Foundation"]
}
}],
"experience": [{
"value": "Director World Wide Web Foundation Jan 2009 - Present (2 years 11 month)",
"type": ["h-event", "h-card"],
"properties": {
"name": ["World Wide Web Foundation"],
"org": ["World Wide Web Foundation"],
"url": ["http://www.webfoundation.org/"],
"start": ["2009-01-18"],
"duration": ["P2Y11M"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Director of the World Wide Web Foundation"],
"title": ["Director of the World Wide Web Foundation"]
}
},{
"type": ["h-event"],
"properties": {
"name": ["World Wide Web Foundation"],
"org": ["World Wide Web Foundation"],
"url": ["http://www.webfoundation.org/"],
"start": ["2009-01-18"],
"duration": ["P2Y11M"]
}
},{
"type": ["h-card"],
"properties": {
"name": ["World Wide Web Foundation"],
"org": ["World Wide Web Foundation"],
"url": ["http://www.webfoundation.org/"],
"start": ["2009-01-18"],
"duration": ["P2Y11M"]
}
}]
}

View file

@ -0,0 +1,15 @@
<!-- http://microformat2-node.jit.su/h-resume.html -->
<div class="h-resume">
<p class="p-name">Tim Berners-Lee</p>
<div class="p-contact h-card">
<p class="p-title">Director of the World Wide Web Foundation</p>
</div>
<p class="p-summary">Invented the World Wide Web.</p>
<hr>
<p class="p-education h-event h-card">
<span class="p-name p-org">The Queen's College, Oxford University</span>,
<span class="p-description">BA Hons (I) Physics</span>
<time class="dt-start" datetime="1973-09">1973</time>
<time class="dt-end" datetime="1976-06">1976</time></p>
</div>

View file

@ -0,0 +1,54 @@
// http://microformat2-node.jit.su/h-resume.html
{
"items": [{
"type": ["h-resume"],
"properties": {
"name": ["Tim Berners-Lee"],
"summary": ["Invented the World Wide Web."],
"contact": [{
"value": "Director of the World Wide Web Foundation",
"type": ["h-card"],
"properties": {
"name": ["Director of the World Wide Web Foundation"],
"title": ["Director of the World Wide Web Foundation"]
}
}],
"education": [{
"value": "The Queen's College, Oxford University, BA Hons (I) Physics 1973 - 1976",
"type": ["h-event", "h-card"],
"properties": {
"name": ["The Queen's College, Oxford University"],
"org": ["The Queen's College, Oxford University"],
"description": ["BA Hons (I) Physics"],
"start": ["1973-09"],
"end": ["1976-06"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Director of the World Wide Web Foundation"],
"title": ["Director of the World Wide Web Foundation"]
}
},{
"type": ["h-event"],
"properties": {
"name": ["The Queen's College, Oxford University"],
"org": ["The Queen's College, Oxford University"],
"description": ["BA Hons (I) Physics"],
"start": ["1973-09"],
"end": ["1976-06"]
}
},{
"type": ["h-card"],
"properties": {
"name": ["World Wide Web Foundation"],
"org": ["World Wide Web Foundation"],
"url": ["http://www.webfoundation.org/"],
"start": ["2009-01-18"],
"duration": ["P2Y11M"]
}
}]
}

View file

@ -0,0 +1,15 @@
<!-- http://microformat2-node.jit.su/h-resume.html -->
<div class="h-resume">
<p>
<span class="p-name">Tim Berners-Lee</span>,
<span class="p-summary">invented the World Wide Web</span>.
</p>
Skills:
<ul>
<li class="p-skill">information systems</li>
<li class="p-skill">advocacy</li>
<li class="p-skill">leadership</li>
<ul></ul>
</ul>
</div>

View file

@ -0,0 +1,12 @@
// http://microformat2-node.jit.su/h-resume.html
{
"items": [{
"type": ["h-resume"],
"properties": {
"name": ["Tim Berners-Lee"],
"summary": ["invented the World Wide Web"],
"skill": ["information systems", "advocacy", "leadership"]
}
}]
}

View file

@ -0,0 +1,13 @@
<!-- http://microformat2-node.jit.su/h-resume.html -->
<div class="h-resume">
<p>
<span class="p-name">Tim Berners-Lee</span>,
<span class="p-summary">invented the World Wide Web</span>.
</p>
Belongs to following groups:
<p>
<a class="p-affiliation h-card" href="http://www.w3.org/">
<img class="p-name u-photo" alt="W3C" src="http://www.w3.org/Icons/WWW/w3c_home_nb.png"></a>
</p>
</div>

View file

@ -0,0 +1,27 @@
// http://microformat2-node.jit.su/h-resume.html
{
"items": [{
"type": ["h-resume"],
"properties": {
"name": ["Tim Berners-Lee"],
"summary": ["invented the World Wide Web"],
"affiliation": [{
"value": "",
"type": ["h-card"],
"properties": {
"name": ["W3C"],
"photo": ["http://www.w3.org/Icons/WWW/w3c_home_nb.png"],
"url": ["http://www.w3.org/"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["W3C"],
"photo": ["http://www.w3.org/Icons/WWW/w3c_home_nb.png"],
"url": ["http://www.w3.org/"]
}
}]
}

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"]
}
}]
}

View file

@ -0,0 +1,10 @@
<!-- http://microformat2-node.jit.su/h-review-aggregate.html -->
<div class="h-review-aggregate">
<h3 class="p-item h-item">Mediterranean Wraps</h3>
<span class="p-summary">
Customers flock to this small restaurant for their
tasty falafel and shawerma wraps and welcoming staff.
</span>
<span class="p-rating">4.5</span> out of 5
</div>

Some files were not shown because too many files have changed in this diff Show more