microformats2 3.0.1 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/microformats2.rb +15 -0
  4. data/lib/microformats2/version.rb +1 -1
  5. data/microformats2.gemspec +43 -2
  6. metadata +45 -270
  7. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.html +0 -3
  8. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.js +0 -10
  9. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.html +0 -10
  10. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.js +0 -16
  11. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.html +0 -12
  12. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.js +0 -16
  13. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.html +0 -6
  14. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.js +0 -12
  15. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.html +0 -3
  16. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.js +0 -10
  17. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.html +0 -3
  18. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.js +0 -11
  19. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.html +0 -4
  20. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.js +0 -12
  21. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.html +0 -11
  22. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.js +0 -15
  23. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.html +0 -6
  24. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.js +0 -26
  25. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.html +0 -6
  26. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.js +0 -30
  27. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.html +0 -6
  28. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.js +0 -29
  29. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.html +0 -16
  30. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.js +0 -15
  31. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.html +0 -4
  32. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.js +0 -10
  33. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.html +0 -3
  34. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.js +0 -11
  35. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.html +0 -21
  36. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.js +0 -28
  37. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.html +0 -22
  38. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.js +0 -21
  39. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.html +0 -3
  40. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.js +0 -10
  41. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.html +0 -3
  42. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.js +0 -11
  43. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.html +0 -14
  44. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.js +0 -57
  45. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.html +0 -15
  46. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.js +0 -35
  47. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.html +0 -9
  48. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.js +0 -12
  49. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.html +0 -45
  50. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.js +0 -22
  51. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.html +0 -51
  52. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.js +0 -21
  53. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.html +0 -22
  54. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.js +0 -20
  55. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.html +0 -5
  56. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.js +0 -10
  57. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.html +0 -7
  58. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.js +0 -12
  59. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.html +0 -10
  60. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.js +0 -13
  61. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.html +0 -12
  62. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.js +0 -12
  63. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.html +0 -12
  64. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.js +0 -12
  65. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.html +0 -6
  66. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.js +0 -12
  67. data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.html +0 -26
  68. data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.js +0 -37
  69. data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.html +0 -37
  70. data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.js +0 -48
  71. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.html +0 -3
  72. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.js +0 -10
  73. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.html +0 -3
  74. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.js +0 -11
  75. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.html +0 -6
  76. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.js +0 -12
  77. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.html +0 -3
  78. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.js +0 -10
  79. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.html +0 -3
  80. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.js +0 -11
  81. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.html +0 -11
  82. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.js +0 -23
  83. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.html +0 -22
  84. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.js +0 -42
  85. data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.html +0 -9
  86. data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.js +0 -11
  87. data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.html +0 -67
  88. data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.js +0 -51
  89. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.html +0 -3
  90. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.js +0 -10
  91. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.html +0 -20
  92. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.js +0 -39
  93. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.html +0 -17
  94. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.js +0 -54
  95. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.html +0 -15
  96. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.js +0 -54
  97. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.html +0 -15
  98. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.js +0 -12
  99. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.html +0 -13
  100. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.js +0 -27
  101. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html +0 -10
  102. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.js +0 -19
  103. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html +0 -20
  104. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.js +0 -26
  105. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html +0 -15
  106. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.js +0 -23
  107. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.html +0 -3
  108. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.js +0 -10
  109. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.html +0 -3
  110. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.js +0 -11
  111. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.html +0 -3
  112. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.js +0 -11
  113. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.html +0 -6
  114. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.js +0 -19
  115. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.html +0 -8
  116. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.js +0 -20
  117. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.html +0 -24
  118. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.js +0 -37
  119. data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.html +0 -18
  120. data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.js +0 -43
  121. data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.html +0 -26
  122. data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.js +0 -54
  123. data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.html +0 -13
  124. data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.js +0 -20
  125. data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.html +0 -20
  126. data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.js +0 -40
  127. data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.html +0 -23
  128. data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.js +0 -42
  129. data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.html +0 -3
  130. data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.js +0 -10
  131. data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.html +0 -3
  132. data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.js +0 -10
  133. data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.html +0 -12
  134. data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.js +0 -19
  135. data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.html +0 -21
  136. data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.js +0 -26
  137. data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.html +0 -15
  138. data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.js +0 -42
@@ -1,12 +0,0 @@
1
- // http://microformat2-node.jit.su/h-geo.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-geo"],
6
- "properties": {
7
- "latitude": ["51.513458"],
8
- "longitude": ["-0.14812"],
9
- "name": ["N 51° 51.345, W -0° 14.812"]
10
- }
11
- }]
12
- }
@@ -1,12 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-geo.html -->
2
-
3
- <p>
4
- <span class="h-geo">The Bricklayer's Arms
5
- <span class="p-latitude">
6
- <span class="value-title" title="51.513458"> </span>
7
- </span>
8
- <span class="p-longitude">
9
- <span class="value-title" title="-0.14812"> </span>
10
- </span>
11
- </span>
12
- </p>
@@ -1,12 +0,0 @@
1
- // http://microformat2-node.jit.su/h-geo.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-geo"],
6
- "properties": {
7
- "latitude": ["51.513458"],
8
- "longitude": ["-0.14812"],
9
- "name": ["The Bricklayer's Arms"]
10
- }
11
- }]
12
- }
@@ -1,6 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-geo.html -->
2
-
3
- <p class="h-geo">
4
- <abbr class="p-latitude" title="37.408183">N 37° 24.491</abbr>,
5
- <abbr class="p-longitude" title="-122.13855">W 122° 08.313</abbr>
6
- </p>
@@ -1,12 +0,0 @@
1
- // http://microformat2-node.jit.su/h-geo.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-geo"],
6
- "properties": {
7
- "latitude": ["37.408183"],
8
- "longitude": ["-122.13855"],
9
- "name": ["N 37° 24.491, W 122° 08.313"]
10
- }
11
- }]
12
- }
@@ -1,26 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-news.html -->
2
-
3
- <div class="h-news">
4
- <div class="p-entry h-entry">
5
- <h1><a class="p-name u-url" href="http://microformats.org/2012/06/25/microformats-org-at-7">microformats.org at 7</a></h1>
6
- <div class="e-content">
7
- <p class="p-summary">Last week the microformats.org community
8
- celebrated its 7th birthday at a gathering hosted by Mozilla in
9
- San Francisco and recognized accomplishments, challenges, and
10
- opportunities.</p>
11
-
12
- <p>The microformats tagline “humans first, machines second”
13
- forms the basis of many of our
14
- <a href="http://microformats.org/wiki/principles">principles</a>, and
15
- in that regard, we’d like to recognize a few people and
16
- thank them for their years of volunteer service </p>
17
- </div>
18
- <p>Updated
19
- <time class="dt-updated" datetime="2012-06-25T17:08:26">June 25th, 2012</time> by
20
- <a class="p-author h-card" href="http://tantek.com/">Tantek</a>
21
- </p>
22
- </div>
23
- <p>
24
- <a class="p-source-org h-card" href="http://microformats.org/">microformats.org</a>
25
- </p>
26
- </div>
@@ -1,37 +0,0 @@
1
- // http://microformat2-node.jit.su/h-news.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-news"],
6
- "properties": {
7
- "entry": [{
8
- "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",
9
- "type": ["h-entry"],
10
- "properties": {
11
- "name": ["microformats.org at 7"],
12
- "url": ["http://microformats.org/2012/06/25/microformats-org-at-7"],
13
- "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, we’d like to recognize a few people and \n thank them for their years of volunteer service </p>\n "],
14
- "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."],
15
- "updated": ["2012-06-25T17:08:26"],
16
- "author": {
17
- "value": "Tantek",
18
- "type": ["h-card"],
19
- "properties": {
20
- "name": ["Tantek"],
21
- "url": ["http://tantek.com/"]
22
- }
23
- }
24
- }
25
- }],
26
- "source-org": [{
27
- "value": "microformats.org",
28
- "type": ["h-card"],
29
- "properties": {
30
- "name": ["microformats.org"],
31
- "url": ["http://microformats.org/"]
32
- }
33
- }],
34
- "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"]
35
- }
36
- }]
37
- }
@@ -1,37 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-news.html -->
2
-
3
- <div class="h-news">
4
- <div class="p-entry h-entry">
5
- <h1><a class="p-name u-url" href="http://microformats.org/2012/06/25/microformats-org-at-7">microformats.org at 7</a></h1>
6
- <div class="e-content">
7
- <p class="p-summary">Last week the microformats.org community
8
- celebrated its 7th birthday at a gathering hosted by Mozilla in
9
- San Francisco and recognized accomplishments, challenges, and
10
- opportunities.</p>
11
-
12
- <p>The microformats tagline “humans first, machines second”
13
- forms the basis of many of our
14
- <a href="http://microformats.org/wiki/principles">principles</a>, and
15
- in that regard, we’d like to recognize a few people and
16
- thank them for their years of volunteer service </p>
17
- </div>
18
- <p>Updated
19
- <time class="dt-updated" datetime="2012-06-25T17:08:26">June 25th, 2012</time> by
20
- <a class="p-author h-card" href="http://tantek.com/">Tantek</a>
21
- </p>
22
- </div>
23
-
24
- <p>
25
- <span class="p-dateline h-adr">
26
- <span class="p-locality">San Francisco</span>,
27
- <span class="p-region">CA</span>
28
- </span>
29
- (Geo: <span class="p-geo">37.774921;-122.445202</span>)
30
- <span class="p-source-org h-card">
31
- <a class="p-name u-url" href="http://microformats.org/">microformats.org</a>
32
- </span>
33
- </p>
34
- <p>
35
- <a class="u-principles" href="http://microformats.org/wiki/Category:public_domain_license">Publishing policy</a>
36
- </p>
37
- </div>
@@ -1,48 +0,0 @@
1
- // http://microformat2-node.jit.su/h-news.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-news"],
6
- "properties": {
7
- "entry": [{
8
- "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",
9
- "type": ["h-entry"],
10
- "properties": {
11
- "name": ["microformats.org at 7"],
12
- "url": ["http://microformats.org/2012/06/25/microformats-org-at-7"],
13
- "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, we’d like to recognize a few people and \n thank them for their years of volunteer service </p>\n "],
14
- "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."],
15
- "updated": ["2012-06-25T17:08:26"],
16
- "author": {
17
- "value": "Tantek",
18
- "type": ["h-card"],
19
- "properties": {
20
- "name": ["Tantek"],
21
- "url": ["http://tantek.com/"]
22
- }
23
- }
24
- }
25
- }],
26
- "dateline": [{
27
- "value": "San Francisco, CA",
28
- "type": ["h-adr"],
29
- "properties": {
30
- "locality": ["San Francisco"],
31
- "region": ["CA"],
32
- "name": ["San Francisco, CA"]
33
- }
34
- }],
35
- "geo": ["37.774921;-122.445202"],
36
- "source-org": [{
37
- "value": "microformats.org",
38
- "type": ["h-card"],
39
- "properties": {
40
- "name": ["microformats.org"],
41
- "url": ["http://microformats.org/"]
42
- }
43
- }],
44
- "principles": ["http://microformats.org/wiki/Category:public_domain_license"],
45
- "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"]
46
- }
47
- }]
48
- }
@@ -1,3 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-org.html -->
2
-
3
- <span class="h-org">Mozilla Foundation</span>
@@ -1,10 +0,0 @@
1
- // http://microformat2-node.jit.su/h-org.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-org"],
6
- "properties": {
7
- "name": ["Mozilla Foundation"]
8
- }
9
- }]
10
- }
@@ -1,3 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-org.html -->
2
-
3
- <a class="h-org" href="http://mozilla.org/">Mozilla Foundation</a>
@@ -1,11 +0,0 @@
1
- // http://microformat2-node.jit.su/h-org.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-org"],
6
- "properties": {
7
- "name": ["Mozilla Foundation"],
8
- "url": ["http://mozilla.org/"]
9
- }
10
- }]
11
- }
@@ -1,6 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-org.html -->
2
-
3
- <p class="h-org">
4
- <span class="p-organization-name">W3C</span> -
5
- <span class="p-organization-unit">CSS Working Group</span>
6
- </p>
@@ -1,12 +0,0 @@
1
- // http://microformat2-node.jit.su/h-org.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-org"],
6
- "properties": {
7
- "organization-name": ["W3C"],
8
- "organization-unit": ["CSS Working Group"],
9
- "name": ["W3C - CSS Working Group"]
10
- }
11
- }]
12
- }
@@ -1,3 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-product.html -->
2
-
3
- <p class="h-product">Raspberry Pi</p>
@@ -1,10 +0,0 @@
1
- // http://microformat2-node.jit.su/h-product.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-product"],
6
- "properties": {
7
- "name": ["Raspberry Pi"]
8
- }
9
- }]
10
- }
@@ -1,3 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-product.html -->
2
-
3
- <a class="h-product" href="http://www.raspberrypi.org/">Raspberry Pi</a>
@@ -1,11 +0,0 @@
1
- // http://microformat2-node.jit.su/h-product.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-product"],
6
- "properties": {
7
- "name": ["Raspberry Pi"],
8
- "url": ["http://www.raspberrypi.org/"]
9
- }
10
- }]
11
- }
@@ -1,11 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-product.html -->
2
-
3
- <div class="h-product">
4
- <h2 class="p-name">Raspberry Pi</h2>
5
- <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. 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.</p>
6
- <a class="u-url" href="http://www.raspberrypi.org/">More info about the Raspberry Pi</a>
7
- <p class="p-price">£29.95</p>
8
- <p class="p-review h-review"><span class="p-rating">4.5</span> out of 5</p>
9
- <p>Categories: <span class="p-category">Computer</span>, <span class="p-category">Education</span></p>
10
- </div>
11
-
@@ -1,23 +0,0 @@
1
- // http://microformat2-node.jit.su/h-product.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-product"],
6
- "properties": {
7
- "name": ["Raspberry Pi"],
8
- "photo": ["http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg"],
9
- "description": ["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."],
10
- "url": ["http://www.raspberrypi.org/"],
11
- "price": ["£29.95"],
12
- "category": ["Computer","Education"],
13
- "review": [{
14
- "value": "4.5 out of 5",
15
- "type": ["h-review"],
16
- "properties": {
17
- "rating": ["4.5"],
18
- "name": ["4.5 out of 5"]
19
- }
20
- }]
21
- }
22
- }]
23
- }
@@ -1,22 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-product.html -->
2
-
3
- <div class="h-product">
4
- <h2 class="p-name">Raspberry Pi</h2>
5
- <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. 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.</p>
6
- <a class="u-url" href="http://www.raspberrypi.org/">More info about the Raspberry Pi</a>
7
- <p class="p-price">£29.95</p>
8
- <p class="p-review h-review-aggregate">
9
- <span class="p-rating h-rating">
10
- <span class="p-average">9.2</span> out of
11
- <span class="p-best">10</span>
12
- based on <span class="p-count">178</span> reviews
13
- </span>
14
- </p>
15
- <p>Categories: <span class="p-category">Computer</span>, <span class="p-category">Education</span></p>
16
- <p class="p-brand h-card">From:
17
- <span class="p-name p-org">The Raspberry Pi Foundation</span> -
18
- <span class="p-locality">Cambridge</span>
19
- <span class="p-country-name">UK</span>
20
- </p>
21
- </div>
22
-
@@ -1,42 +0,0 @@
1
- // http://microformat2-node.jit.su/h-product.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-product"],
6
- "properties": {
7
- "name": ["Raspberry Pi"],
8
- "photo": ["http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg"],
9
- "description": ["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."],
10
- "url": ["http://www.raspberrypi.org/"],
11
- "price": ["£29.95"],
12
- "review": [{
13
- "value": "9.2 out of 10 based on 178 reviews",
14
- "type": ["h-review-aggregate"],
15
- "properties": {
16
- "rating": [{
17
- "value": "9.2 out of 10 based on 178 reviews",
18
- "type": ["h-rating"],
19
- "properties": {
20
- "average": ["9.2"],
21
- "best": ["10"],
22
- "count": ["178"],
23
- "name": ["9.2 out of 10 based on 178 reviews"]
24
- }
25
- }],
26
- "name": ["9.2 out of 10 based on 178 reviews"]
27
- }
28
- }],
29
- "category": ["Computer","Education"],
30
- "brand": [{
31
- "value": "From: The Raspberry Pi Foundation - Cambridge UK",
32
- "type": ["h-card"],
33
- "properties": {
34
- "name": ["The Raspberry Pi Foundation"],
35
- "org": ["The Raspberry Pi Foundation"],
36
- "locality": ["Cambridge"],
37
- "country-name": ["UK"]
38
- }
39
- }]
40
- }
41
- }]
42
- }
@@ -1,9 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-recipe.html -->
2
-
3
- <div class="h-recipe">
4
- <p class="p-name">Toast</p>
5
- <ul>
6
- <li class="e-ingredient">Slice of bread</li>
7
- <li class="e-ingredient">Butter</li>
8
- </ul>
9
- </div>
@@ -1,11 +0,0 @@
1
- // http://microformat2-node.jit.su/h-recipe.html
2
-
3
- {
4
- "items": [{
5
- "type": ["h-recipe"],
6
- "properties": {
7
- "name": ["Toast"],
8
- "ingredient": ["Slice of bread", "Butter"]
9
- }
10
- }]
11
- }
@@ -1,67 +0,0 @@
1
- <!-- http://microformat2-node.jit.su/h-recipe.html -->
2
-
3
- <section class="hrecipe"><h1 class="p-name">Yorkshire Puddings</h1>
4
- <p class="p-summary">Makes <span class="p-yield">6 good sized Yorkshire puddings</span>, the way my mum taught me</p>
5
-
6
-
7
- <p><img class="u-photo" src="http://codebits.glennjones.net/semantic/yorkshire-puddings.jpg"></p>
8
-
9
- <span class="p-review h-review-aggregate">
10
- <span class="p-rating">
11
- <span class="p-average">4.5</span> stars out 5 based on </span>
12
- <span class="p-count">35</span> reviews</span>
13
-
14
-
15
-
16
- <div id="ingredients-container">
17
- <h3>Ingredients</h3>
18
- <ul>
19
- <li class="e-ingredient">1 egg</li>
20
- <li class="e-ingredient">75g plain flour</li>
21
- <li class="e-ingredient">70ml milk</li>
22
- <li class="e-ingredient">60ml water</li>
23
- <li class="e-ingredient">Pinch of salt</li>
24
- </ul>
25
- </div>
26
-
27
- <h3>Time</h3>
28
- <ul>
29
- <li class="prepTime">Preparation <span class="value-title" title="PT0H10M">10 mins</span>
30
- </li>
31
- <li class="cookTime">Cook <span class="value-title" title="PT0H25M">25 mins</span>
32
- </li>
33
- </ul>
34
- <h3>Instructions</h3>
35
- <div class="e-instructions">
36
- <ol>
37
- <li>Pre-heat oven to 230C or gas mark 8. Pour the vegetable oil evenly into 2 x 4-hole
38
- Yorkshire pudding tins and place in the oven to heat through.</li>
39
-
40
- <li>To make the batter, add all the flour into a bowl and beat in the eggs until smooth.
41
- Gradually add the milk and water while beating the mixture. It should be smooth and
42
- without lumps. Finally add a pinch of salt.</li>
43
-
44
- <li>Make sure the oil is piping hot before pouring the batter evenly into the tins.
45
- Place in the oven for 20-25 minutes until pudding have risen and look golden brown</li>
46
- </ol>
47
- </div>
48
-
49
- <h3>Nutrition</h3>
50
- <ul id="nutrition-list">
51
- <li class="nutrition">Calories: <span class="calories">125</span>
52
- </li>
53
- <li class="nutrition">Fat: <span class="fat">3.2g</span>
54
- </li>
55
- <li class="nutrition">Cholesterol: <span class="cholesterol">77mg</span>
56
- </li>
57
- </ul>
58
- <p>(Amount per pudding)</p>
59
-
60
- <p>
61
- Published on <time class="dt-published" datetime="2011-10-27">27 Oct 2011</time> by
62
- <span class="p-author h-card">
63
- <a class="p-name u-url" href="http://glennjones.net">Glenn Jones</a>
64
- </span>
65
- </p>
66
- <a href="http://www.flickr.com/photos/dithie/4106528495/">Photo by dithie</a>
67
- </section>