microformats2 3.0.1 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/microformats2.rb +15 -0
- data/lib/microformats2/version.rb +1 -1
- data/microformats2.gemspec +43 -2
- metadata +45 -270
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.html +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.js +0 -16
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.html +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.js +0 -16
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.html +0 -4
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.html +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.js +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.js +0 -26
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.js +0 -30
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.js +0 -29
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.html +0 -16
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.js +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.html +0 -4
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.html +0 -21
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.js +0 -28
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.html +0 -22
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.js +0 -21
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.html +0 -14
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.js +0 -57
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.js +0 -35
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.html +0 -9
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.html +0 -45
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.js +0 -22
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.html +0 -51
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.js +0 -21
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.html +0 -22
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.js +0 -20
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.html +0 -5
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.html +0 -7
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.html +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.js +0 -13
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.html +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.html +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.html +0 -26
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.js +0 -37
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.html +0 -37
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.js +0 -48
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.html +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.js +0 -23
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.html +0 -22
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.js +0 -42
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.html +0 -9
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.html +0 -67
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.js +0 -51
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.html +0 -20
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.js +0 -39
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.html +0 -17
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.js +0 -54
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.js +0 -54
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.html +0 -13
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.js +0 -27
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.js +0 -19
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html +0 -20
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.js +0 -26
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.js +0 -23
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.js +0 -19
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.html +0 -8
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.js +0 -20
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.html +0 -24
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.js +0 -37
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.html +0 -18
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.js +0 -43
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.html +0 -26
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.js +0 -54
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.html +0 -13
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.js +0 -20
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.html +0 -20
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.js +0 -40
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.html +0 -23
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.js +0 -42
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.html +0 -12
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.js +0 -19
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.html +0 -21
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.js +0 -26
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.js +0 -42
@@ -1,51 +0,0 @@
|
|
1
|
-
// http://microformat2-node.jit.su/h-recipe.html
|
2
|
-
|
3
|
-
{
|
4
|
-
"items": [ {
|
5
|
-
"type": ["h-recipe"],
|
6
|
-
"properties": {
|
7
|
-
"name": ["Yorkshire Puddings"],
|
8
|
-
"summary": ["Makes 6 good sized Yorkshire puddings, the way my mum taught me"],
|
9
|
-
"yield": ["6 good sized Yorkshire puddings"],
|
10
|
-
"photo": ["http://codebits.glennjones.net/semantic/yorkshire-puddings.jpg"],
|
11
|
-
"review": [
|
12
|
-
{
|
13
|
-
"value": "4.5 stars out 5 based on 35 reviews",
|
14
|
-
"type": ["h-review-aggregate"],
|
15
|
-
"properties": {
|
16
|
-
"rating": ["4.5 stars out 5 based on"],
|
17
|
-
"average": ["4.5"],
|
18
|
-
"count": ["35"],
|
19
|
-
"name": ["4.5 stars out 5 based on 35 reviews"]
|
20
|
-
}
|
21
|
-
}
|
22
|
-
],
|
23
|
-
"ingredient": [
|
24
|
-
"1 egg",
|
25
|
-
"75g plain flour",
|
26
|
-
"70ml milk",
|
27
|
-
"60ml water",
|
28
|
-
"Pinch of salt"
|
29
|
-
],
|
30
|
-
"instructions": [
|
31
|
-
"\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 "
|
32
|
-
],
|
33
|
-
"nutrition": [
|
34
|
-
"Calories: 125",
|
35
|
-
"Fat: 3.2g",
|
36
|
-
"Cholesterol: 77mg"
|
37
|
-
],
|
38
|
-
"published": ["2011-10-27"],
|
39
|
-
"author": [
|
40
|
-
{
|
41
|
-
"value": "Glenn Jones",
|
42
|
-
"type": ["h-card"],
|
43
|
-
"properties": {
|
44
|
-
"name": ["Glenn Jones"],
|
45
|
-
"url": ["http://glennjones.net"]
|
46
|
-
}
|
47
|
-
}
|
48
|
-
]
|
49
|
-
}
|
50
|
-
}]
|
51
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
-
|
3
|
-
<div class="h-resume">
|
4
|
-
<p class="p-name">Tim Berners-Lee</p>
|
5
|
-
<p class="p-summary">Invented the World Wide Web.</p>
|
6
|
-
<hr>
|
7
|
-
<div class="p-contact h-card">
|
8
|
-
<p class="p-name">MIT</p>
|
9
|
-
<p>
|
10
|
-
<span class="p-street-address">32 Vassar Street</span>,
|
11
|
-
<span class="p-extended-address">Room 32-G524</span>,
|
12
|
-
<span class="p-locality">Cambridge</span>,
|
13
|
-
<span class="p-region">MA</span>
|
14
|
-
<span class="p-postal-code">02139</span>,
|
15
|
-
<span class="p-country-name">USA</span>.
|
16
|
-
</p>
|
17
|
-
<p>Tel:<span class="p-tel">+1 (617) 253 5702</span></p>
|
18
|
-
<p>Email:<a class="u-email" href="mailto:timbl@w3.org">timbl@w3.org</a></p>
|
19
|
-
</div>
|
20
|
-
</div>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
// http://microformat2-node.jit.su/h-resume.html
|
2
|
-
|
3
|
-
{
|
4
|
-
"items": [{
|
5
|
-
"type": ["h-resume"],
|
6
|
-
"properties": {
|
7
|
-
"name": ["Tim Berners-Lee"],
|
8
|
-
"summary": ["Invented the World Wide Web."],
|
9
|
-
"contact": [{
|
10
|
-
"value": "MIT 32 Vassar Street, Room 32-G524, Cambridge, MA 02139, USA. Tel:+1 (617) 253 5702 Email:timbl@w3.org",
|
11
|
-
"type": ["h-card"],
|
12
|
-
"properties": {
|
13
|
-
"name": ["MIT"],
|
14
|
-
"street-address": ["32 Vassar Street"],
|
15
|
-
"extended-address": ["Room 32-G524"],
|
16
|
-
"locality": ["Cambridge"],
|
17
|
-
"region": ["MA"],
|
18
|
-
"postal-code": ["02139"],
|
19
|
-
"country-name": ["USA"],
|
20
|
-
"tel": ["+1 (617) 253 5702"],
|
21
|
-
"email": ["mailto:timbl@w3.org"]
|
22
|
-
}
|
23
|
-
}]
|
24
|
-
}
|
25
|
-
},{
|
26
|
-
"type": ["h-card"],
|
27
|
-
"properties": {
|
28
|
-
"name": ["MIT"],
|
29
|
-
"street-address": ["32 Vassar Street"],
|
30
|
-
"extended-address": ["Room 32-G524"],
|
31
|
-
"locality": ["Cambridge"],
|
32
|
-
"region": ["MA"],
|
33
|
-
"postal-code": ["02139"],
|
34
|
-
"country-name": ["USA"],
|
35
|
-
"tel": ["+1 (617) 253 5702"],
|
36
|
-
"email": ["timbl@w3.org"]
|
37
|
-
}
|
38
|
-
}]
|
39
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
-
|
3
|
-
<div class="h-resume">
|
4
|
-
<p class="p-name">Tim Berners-Lee</p>
|
5
|
-
<div class="p-contact h-card">
|
6
|
-
<p class="p-title">Director of the World Wide Web Foundation</p>
|
7
|
-
</div>
|
8
|
-
<p class="p-summary">Invented the World Wide Web.</p>
|
9
|
-
<hr>
|
10
|
-
<div class="p-experience h-event h-card">
|
11
|
-
<p class="p-title">Director</p>
|
12
|
-
<p><a class="p-name p-org u-url" href="http://www.webfoundation.org/">World Wide Web Foundation</a></p>
|
13
|
-
<p>
|
14
|
-
<time class="dt-start" datetime="2009-01-18">Jan 2009</time> – Present
|
15
|
-
<time class="dt-duration" datetime="P2Y11M">(2 years 11 month)</time></p>
|
16
|
-
</div>
|
17
|
-
</div>
|
@@ -1,54 +0,0 @@
|
|
1
|
-
// http://microformat2-node.jit.su/h-resume.html
|
2
|
-
|
3
|
-
{
|
4
|
-
"items": [{
|
5
|
-
"type": ["h-resume"],
|
6
|
-
"properties": {
|
7
|
-
"name": ["Tim Berners-Lee"],
|
8
|
-
"summary": ["Invented the World Wide Web."],
|
9
|
-
"contact": [{
|
10
|
-
"value": "Director of the World Wide Web Foundation",
|
11
|
-
"type": ["h-card"],
|
12
|
-
"properties": {
|
13
|
-
"name": ["Director of the World Wide Web Foundation"],
|
14
|
-
"title": ["Director of the World Wide Web Foundation"]
|
15
|
-
}
|
16
|
-
}],
|
17
|
-
"experience": [{
|
18
|
-
"value": "Director World Wide Web Foundation Jan 2009 - Present (2 years 11 month)",
|
19
|
-
"type": ["h-event", "h-card"],
|
20
|
-
"properties": {
|
21
|
-
"name": ["World Wide Web Foundation"],
|
22
|
-
"org": ["World Wide Web Foundation"],
|
23
|
-
"url": ["http://www.webfoundation.org/"],
|
24
|
-
"start": ["2009-01-18"],
|
25
|
-
"duration": ["P2Y11M"]
|
26
|
-
}
|
27
|
-
}]
|
28
|
-
}
|
29
|
-
},{
|
30
|
-
"type": ["h-card"],
|
31
|
-
"properties": {
|
32
|
-
"name": ["Director of the World Wide Web Foundation"],
|
33
|
-
"title": ["Director of the World Wide Web Foundation"]
|
34
|
-
}
|
35
|
-
},{
|
36
|
-
"type": ["h-event"],
|
37
|
-
"properties": {
|
38
|
-
"name": ["World Wide Web Foundation"],
|
39
|
-
"org": ["World Wide Web Foundation"],
|
40
|
-
"url": ["http://www.webfoundation.org/"],
|
41
|
-
"start": ["2009-01-18"],
|
42
|
-
"duration": ["P2Y11M"]
|
43
|
-
}
|
44
|
-
},{
|
45
|
-
"type": ["h-card"],
|
46
|
-
"properties": {
|
47
|
-
"name": ["World Wide Web Foundation"],
|
48
|
-
"org": ["World Wide Web Foundation"],
|
49
|
-
"url": ["http://www.webfoundation.org/"],
|
50
|
-
"start": ["2009-01-18"],
|
51
|
-
"duration": ["P2Y11M"]
|
52
|
-
}
|
53
|
-
}]
|
54
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
-
|
3
|
-
<div class="h-resume">
|
4
|
-
<p class="p-name">Tim Berners-Lee</p>
|
5
|
-
<div class="p-contact h-card">
|
6
|
-
<p class="p-title">Director of the World Wide Web Foundation</p>
|
7
|
-
</div>
|
8
|
-
<p class="p-summary">Invented the World Wide Web.</p>
|
9
|
-
<hr>
|
10
|
-
<p class="p-education h-event h-card">
|
11
|
-
<span class="p-name p-org">The Queen's College, Oxford University</span>,
|
12
|
-
<span class="p-description">BA Hons (I) Physics</span>
|
13
|
-
<time class="dt-start" datetime="1973-09">1973</time> –
|
14
|
-
<time class="dt-end" datetime="1976-06">1976</time></p>
|
15
|
-
</div>
|
@@ -1,54 +0,0 @@
|
|
1
|
-
// http://microformat2-node.jit.su/h-resume.html
|
2
|
-
|
3
|
-
{
|
4
|
-
"items": [{
|
5
|
-
"type": ["h-resume"],
|
6
|
-
"properties": {
|
7
|
-
"name": ["Tim Berners-Lee"],
|
8
|
-
"summary": ["Invented the World Wide Web."],
|
9
|
-
"contact": [{
|
10
|
-
"value": "Director of the World Wide Web Foundation",
|
11
|
-
"type": ["h-card"],
|
12
|
-
"properties": {
|
13
|
-
"name": ["Director of the World Wide Web Foundation"],
|
14
|
-
"title": ["Director of the World Wide Web Foundation"]
|
15
|
-
}
|
16
|
-
}],
|
17
|
-
"education": [{
|
18
|
-
"value": "The Queen's College, Oxford University, BA Hons (I) Physics 1973 - 1976",
|
19
|
-
"type": ["h-event", "h-card"],
|
20
|
-
"properties": {
|
21
|
-
"name": ["The Queen's College, Oxford University"],
|
22
|
-
"org": ["The Queen's College, Oxford University"],
|
23
|
-
"description": ["BA Hons (I) Physics"],
|
24
|
-
"start": ["1973-09"],
|
25
|
-
"end": ["1976-06"]
|
26
|
-
}
|
27
|
-
}]
|
28
|
-
}
|
29
|
-
},{
|
30
|
-
"type": ["h-card"],
|
31
|
-
"properties": {
|
32
|
-
"name": ["Director of the World Wide Web Foundation"],
|
33
|
-
"title": ["Director of the World Wide Web Foundation"]
|
34
|
-
}
|
35
|
-
},{
|
36
|
-
"type": ["h-event"],
|
37
|
-
"properties": {
|
38
|
-
"name": ["The Queen's College, Oxford University"],
|
39
|
-
"org": ["The Queen's College, Oxford University"],
|
40
|
-
"description": ["BA Hons (I) Physics"],
|
41
|
-
"start": ["1973-09"],
|
42
|
-
"end": ["1976-06"]
|
43
|
-
}
|
44
|
-
},{
|
45
|
-
"type": ["h-card"],
|
46
|
-
"properties": {
|
47
|
-
"name": ["World Wide Web Foundation"],
|
48
|
-
"org": ["World Wide Web Foundation"],
|
49
|
-
"url": ["http://www.webfoundation.org/"],
|
50
|
-
"start": ["2009-01-18"],
|
51
|
-
"duration": ["P2Y11M"]
|
52
|
-
}
|
53
|
-
}]
|
54
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
-
|
3
|
-
<div class="h-resume">
|
4
|
-
<p>
|
5
|
-
<span class="p-name">Tim Berners-Lee</span>,
|
6
|
-
<span class="p-summary">invented the World Wide Web</span>.
|
7
|
-
</p>
|
8
|
-
Skills:
|
9
|
-
<ul>
|
10
|
-
<li class="p-skill">information systems</li>
|
11
|
-
<li class="p-skill">advocacy</li>
|
12
|
-
<li class="p-skill">leadership</li>
|
13
|
-
<ul></ul>
|
14
|
-
</ul>
|
15
|
-
</div>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
// http://microformat2-node.jit.su/h-resume.html
|
2
|
-
|
3
|
-
{
|
4
|
-
"items": [{
|
5
|
-
"type": ["h-resume"],
|
6
|
-
"properties": {
|
7
|
-
"name": ["Tim Berners-Lee"],
|
8
|
-
"summary": ["invented the World Wide Web"],
|
9
|
-
"skill": ["information systems", "advocacy", "leadership"]
|
10
|
-
}
|
11
|
-
}]
|
12
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
-
|
3
|
-
<div class="h-resume">
|
4
|
-
<p>
|
5
|
-
<span class="p-name">Tim Berners-Lee</span>,
|
6
|
-
<span class="p-summary">invented the World Wide Web</span>.
|
7
|
-
</p>
|
8
|
-
Belongs to following groups:
|
9
|
-
<p>
|
10
|
-
<a class="p-affiliation h-card" href="http://www.w3.org/">
|
11
|
-
<img class="p-name u-photo" alt="W3C" src="http://www.w3.org/Icons/WWW/w3c_home_nb.png"></a>
|
12
|
-
</p>
|
13
|
-
</div>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
// http://microformat2-node.jit.su/h-resume.html
|
2
|
-
|
3
|
-
{
|
4
|
-
"items": [{
|
5
|
-
"type": ["h-resume"],
|
6
|
-
"properties": {
|
7
|
-
"name": ["Tim Berners-Lee"],
|
8
|
-
"summary": ["invented the World Wide Web"],
|
9
|
-
"affiliation": [{
|
10
|
-
"value": "",
|
11
|
-
"type": ["h-card"],
|
12
|
-
"properties": {
|
13
|
-
"name": ["W3C"],
|
14
|
-
"photo": ["http://www.w3.org/Icons/WWW/w3c_home_nb.png"],
|
15
|
-
"url": ["http://www.w3.org/"]
|
16
|
-
}
|
17
|
-
}]
|
18
|
-
}
|
19
|
-
},{
|
20
|
-
"type": ["h-card"],
|
21
|
-
"properties": {
|
22
|
-
"name": ["W3C"],
|
23
|
-
"photo": ["http://www.w3.org/Icons/WWW/w3c_home_nb.png"],
|
24
|
-
"url": ["http://www.w3.org/"]
|
25
|
-
}
|
26
|
-
}]
|
27
|
-
}
|
data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
<!-- http://microformat2-node.jit.su/h-review-aggregate.html -->
|
2
|
-
|
3
|
-
<div class="h-review-aggregate">
|
4
|
-
<h3 class="p-item h-item">Mediterranean Wraps</h3>
|
5
|
-
<span class="p-summary">
|
6
|
-
Customers flock to this small restaurant for their
|
7
|
-
tasty falafel and shawerma wraps and welcoming staff.
|
8
|
-
</span>
|
9
|
-
<span class="p-rating">4.5</span> out of 5
|
10
|
-
</div>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
// http://microformat2-node.jit.su/h-review-aggregate.html
|
2
|
-
|
3
|
-
{
|
4
|
-
"items": [{
|
5
|
-
"type": ["h-review-aggregate"],
|
6
|
-
"properties": {
|
7
|
-
"item": [{
|
8
|
-
"value": "Mediterranean Wraps",
|
9
|
-
"type": ["h-item"],
|
10
|
-
"properties": {
|
11
|
-
"name": ["Mediterranean Wraps"]
|
12
|
-
}
|
13
|
-
}],
|
14
|
-
"summary": ["Customers flock to this small restaurant for their tasty falafel and shawerma wraps and welcoming staff."],
|
15
|
-
"rating": ["4.5"],
|
16
|
-
"name": ["Mediterranean Wraps Customers flock to this small restaurant for their tasty falafel and shawerma wraps and welcoming staff. 4.5 out of 5"]
|
17
|
-
}
|
18
|
-
}]
|
19
|
-
}
|
data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
<!-- http://microformat2-node.jit.su/h-review-aggregate.html -->
|
2
|
-
|
3
|
-
<div class="hreview-aggregate">
|
4
|
-
<div class="p-item h-card">
|
5
|
-
<h3 class="p-name">Mediterranean Wraps</h3>
|
6
|
-
<p>
|
7
|
-
<span class="p-street-address">433 S California Ave</span>,
|
8
|
-
<span class="p-locality">Palo Alto</span>,
|
9
|
-
<span class="p-region">CA</span> -
|
10
|
-
<span class="p-tel">(650) 321-8189</span>
|
11
|
-
</p>
|
12
|
-
</div>
|
13
|
-
<span class="p-summary">Customers flock to this small restaurant for their
|
14
|
-
tasty falafel and shawerma wraps and welcoming staff.</span>
|
15
|
-
<span class="p-rating">
|
16
|
-
<span class="p-average value">9.2</span> out of
|
17
|
-
<span class="p-best">10</span>
|
18
|
-
based on <span class="p-count">17</span> reviews
|
19
|
-
</span>
|
20
|
-
</div>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
// http://microformat2-node.jit.su/h-review-aggregate.html
|
2
|
-
|
3
|
-
{
|
4
|
-
"items": [{
|
5
|
-
"type": ["h-review-aggregate"],
|
6
|
-
"properties": {
|
7
|
-
"item": [{
|
8
|
-
"value": "Mediterranean Wraps 433 S California Ave, Palo Alto, CA - (650) 321-8189",
|
9
|
-
"type": ["h-card"],
|
10
|
-
"properties": {
|
11
|
-
"name": ["Mediterranean Wraps"],
|
12
|
-
"street-address": ["433 S California Ave"],
|
13
|
-
"locality": ["Palo Alto"],
|
14
|
-
"region": ["CA"],
|
15
|
-
"tel": ["(650) 321-8189"]
|
16
|
-
}
|
17
|
-
}],
|
18
|
-
"summary": ["Customers flock to this small restaurant for their tasty falafel and shawerma wraps and welcoming staff."],
|
19
|
-
"rating": ["9.2"],
|
20
|
-
"average": ["9.2"],
|
21
|
-
"best": ["10"],
|
22
|
-
"count": ["17"],
|
23
|
-
"name": ["Mediterranean Wraps 433 S California Ave, Palo Alto, CA - (650) 321-8189 Customers flock to this small restaurant for their tasty falafel and shawerma wraps and welcoming staff. 9.2 out of 10 based on 17 reviews"]
|
24
|
-
}
|
25
|
-
}]
|
26
|
-
}
|
data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
<!-- http://microformat2-node.jit.su/h-review-aggregate.html -->
|
2
|
-
|
3
|
-
<div class="h-review-aggregate">
|
4
|
-
<div class="p-item h-event">
|
5
|
-
<h3 class="p-name">Fullfrontal</h3>
|
6
|
-
<p class="p-description">A one day JavaScript Conference held in Brighton</p>
|
7
|
-
<p><time class="dt-start" datetime="2012-11-09">9th November 2012</time></p>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<p class="p-rating">
|
11
|
-
<span class="p-average value">9.9</span> out of
|
12
|
-
<span class="p-best">10</span>
|
13
|
-
based on <span class="p-count">62</span> reviews
|
14
|
-
</p>
|
15
|
-
</div>
|