microformats 4.0.6 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (364) hide show
  1. checksums.yaml +5 -5
  2. data/.editorconfig +10 -0
  3. data/.gitignore +33 -15
  4. data/.rspec +3 -2
  5. data/.rubocop +3 -0
  6. data/.rubocop.yml +22 -0
  7. data/.ruby-version +1 -0
  8. data/.simplecov +11 -0
  9. data/.travis.yml +16 -2
  10. data/CONTRIBUTING.md +103 -0
  11. data/Guardfile +2 -2
  12. data/LICENSE +116 -0
  13. data/README.md +112 -172
  14. data/Rakefile +6 -7
  15. data/bin/microformats +10 -9
  16. data/lib/microformats.rb +15 -14
  17. data/lib/microformats/absolute_uri.rb +4 -8
  18. data/lib/microformats/format_parser.rb +271 -251
  19. data/lib/microformats/parser.rb +39 -39
  20. data/lib/microformats/parser_core.rb +142 -109
  21. data/lib/microformats/property_parser.rb +42 -65
  22. data/lib/microformats/results/collection.rb +19 -38
  23. data/lib/microformats/results/parser_result.rb +25 -37
  24. data/lib/microformats/results/property_set.rb +24 -31
  25. data/lib/microformats/time_property_parser.rb +130 -104
  26. data/lib/microformats/version.rb +1 -1
  27. data/logo.svg +23 -0
  28. data/microformats.gemspec +35 -33
  29. metadata +122 -445
  30. data/LICENSE.md +0 -36
  31. data/spec/lib/microformats/absolute_uri_spec.rb +0 -56
  32. data/spec/lib/microformats/parser_spec.rb +0 -132
  33. data/spec/lib/microformats_spec.rb +0 -33
  34. data/spec/spec_helper.rb +0 -10
  35. data/spec/support/cases/microformats.org/microformats-2/microformats-2-0.html +0 -2
  36. data/spec/support/cases/microformats.org/microformats-2/microformats-2-0.js +0 -9
  37. data/spec/support/cases/microformats.org/microformats-2/microformats-2-1.html +0 -2
  38. data/spec/support/cases/microformats.org/microformats-2/microformats-2-1.js +0 -10
  39. data/spec/support/cases/microformats.org/microformats-2/microformats-2-2.html +0 -5
  40. data/spec/support/cases/microformats.org/microformats-2/microformats-2-2.js +0 -11
  41. data/spec/support/cases/microformats.org/microformats-2/microformats-2-3.html +0 -17
  42. data/spec/support/cases/microformats.org/microformats-2/microformats-2-3.js +0 -20
  43. data/spec/support/cases/microformats.org/microformats-2/microformats-2-4.html +0 -16
  44. data/spec/support/cases/microformats.org/microformats-2/microformats-2-4.js +0 -24
  45. data/spec/support/cases/microformats.org/microformats-2/microformats-2-5.html +0 -7
  46. data/spec/support/cases/microformats.org/microformats-2/microformats-2-5.js +0 -11
  47. data/spec/support/cases/microformats.org/microformats-2/microformats-2-6.html +0 -9
  48. data/spec/support/cases/microformats.org/microformats-2/microformats-2-6.js +0 -18
  49. data/spec/support/cases/microformats.org/microformats-2/microformats-2-7.html +0 -9
  50. data/spec/support/cases/microformats.org/microformats-2/microformats-2-7.js +0 -18
  51. data/spec/support/cases/microformats.org/microformats-2/microformats-2-8.html +0 -9
  52. data/spec/support/cases/microformats.org/microformats-2/microformats-2-8.js +0 -17
  53. data/spec/support/cases/microformats.org/microformats-2/microformats-2-9.html +0 -9
  54. data/spec/support/cases/microformats.org/microformats-2/microformats-2-9.js +0 -17
  55. data/spec/support/lib/edge_cases/blank_href.html +0 -23
  56. data/spec/support/lib/edge_cases/blank_href.js +0 -15
  57. data/spec/support/lib/edge_cases/blank_rel.html +0 -23
  58. data/spec/support/lib/edge_cases/blank_rel.js +0 -41
  59. data/spec/support/lib/edge_cases/blank_src.html +0 -24
  60. data/spec/support/lib/edge_cases/blank_src.js +0 -16
  61. data/spec/support/lib/edge_cases/blank_value.html +0 -5
  62. data/spec/support/lib/edge_cases/blank_value.js +0 -19
  63. data/spec/support/lib/edge_cases/relative.html +0 -29
  64. data/spec/support/lib/edge_cases/relative.js +0 -15
  65. data/spec/support/lib/microformats/blank_href.html +0 -23
  66. data/spec/support/lib/microformats/blank_href.js +0 -11
  67. data/spec/support/lib/microformats/implied_property/name-fail.html +0 -60
  68. data/spec/support/lib/microformats/implied_property/name-pass.html +0 -30
  69. data/spec/support/lib/microformats/implied_property/photo-fail.html +0 -60
  70. data/spec/support/lib/microformats/implied_property/photo-pass.html +0 -30
  71. data/spec/support/lib/microformats/implied_property/url-fail.html +0 -18
  72. data/spec/support/lib/microformats/implied_property/url-pass.html +0 -12
  73. data/spec/support/lib/microformats/implied_property/url-relative.html +0 -13
  74. data/spec/support/lib/microformats/implied_property/url-unnormalized.html +0 -12
  75. data/spec/support/lib/microformats/nested-format-with-property-of-same-name.html +0 -13
  76. data/spec/support/lib/microformats/nested-format-with-property-of-same-name.js +0 -16
  77. data/spec/support/lib/microformats/nested-format-with-property.html +0 -12
  78. data/spec/support/lib/microformats/nested-format-with-property.js +0 -16
  79. data/spec/support/lib/microformats/nested-format-without-property.html +0 -13
  80. data/spec/support/lib/microformats/nested-property.html +0 -12
  81. data/spec/support/lib/microformats/nested-property.js +0 -10
  82. data/spec/support/lib/microformats/rels-that-drop-the-base.html +0 -11
  83. data/spec/support/lib/microformats/rels-with-unnormalized-urls.html +0 -11
  84. data/spec/support/lib/microformats/rels.html +0 -12
  85. data/spec/support/lib/microformats/rels.js +0 -13
  86. data/spec/support/lib/microformats/simple.html +0 -23
  87. data/spec/support/lib/microformats/simple.js +0 -11
  88. data/vendor/tests/.gitignore +0 -25
  89. data/vendor/tests/LICENSE.md +0 -36
  90. data/vendor/tests/README.md +0 -48
  91. data/vendor/tests/app.js +0 -84
  92. data/vendor/tests/composer.json +0 -5
  93. data/vendor/tests/css/testsuite.css +0 -159
  94. data/vendor/tests/interface.js +0 -18
  95. data/vendor/tests/package.json +0 -27
  96. data/vendor/tests/tests/microformats-mixed/h-card/change-log.html +0 -63
  97. data/vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.html +0 -14
  98. data/vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.json +0 -22
  99. data/vendor/tests/tests/microformats-mixed/h-card/tworoots.html +0 -1
  100. data/vendor/tests/tests/microformats-mixed/h-card/tworoots.json +0 -10
  101. data/vendor/tests/tests/microformats-mixed/h-entry/mixedroots.html +0 -16
  102. data/vendor/tests/tests/microformats-mixed/h-entry/mixedroots.json +0 -38
  103. data/vendor/tests/tests/microformats-mixed/h-resume/change-log.html +0 -68
  104. data/vendor/tests/tests/microformats-mixed/h-resume/mixedroots.html +0 -16
  105. data/vendor/tests/tests/microformats-mixed/h-resume/mixedroots.json +0 -31
  106. data/vendor/tests/tests/microformats-v1/adr/change-log.html +0 -63
  107. data/vendor/tests/tests/microformats-v1/adr/simpleproperties.html +0 -8
  108. data/vendor/tests/tests/microformats-v1/adr/simpleproperties.json +0 -15
  109. data/vendor/tests/tests/microformats-v1/geo/abbrpattern.html +0 -5
  110. data/vendor/tests/tests/microformats-v1/geo/abbrpattern.json +0 -11
  111. data/vendor/tests/tests/microformats-v1/geo/change-log.1.html +0 -78
  112. data/vendor/tests/tests/microformats-v1/geo/change-log.html +0 -63
  113. data/vendor/tests/tests/microformats-v1/geo/hidden.html +0 -10
  114. data/vendor/tests/tests/microformats-v1/geo/hidden.json +0 -11
  115. data/vendor/tests/tests/microformats-v1/geo/simpleproperties.html +0 -6
  116. data/vendor/tests/tests/microformats-v1/geo/simpleproperties.json +0 -11
  117. data/vendor/tests/tests/microformats-v1/geo/valuetitleclass.html +0 -11
  118. data/vendor/tests/tests/microformats-v1/geo/valuetitleclass.json +0 -11
  119. data/vendor/tests/tests/microformats-v1/hcalendar/ampm.html +0 -41
  120. data/vendor/tests/tests/microformats-v1/hcalendar/ampm.json +0 -21
  121. data/vendor/tests/tests/microformats-v1/hcalendar/attendees.html +0 -13
  122. data/vendor/tests/tests/microformats-v1/hcalendar/attendees.json +0 -37
  123. data/vendor/tests/tests/microformats-v1/hcalendar/change-log.html +0 -68
  124. data/vendor/tests/tests/microformats-v1/hcalendar/combining.html +0 -15
  125. data/vendor/tests/tests/microformats-v1/hcalendar/combining.json +0 -31
  126. data/vendor/tests/tests/microformats-v1/hcalendar/concatenate.html +0 -7
  127. data/vendor/tests/tests/microformats-v1/hcalendar/concatenate.json +0 -12
  128. data/vendor/tests/tests/microformats-v1/hcalendar/time.html +0 -44
  129. data/vendor/tests/tests/microformats-v1/hcalendar/time.json +0 -22
  130. data/vendor/tests/tests/microformats-v1/hcard/change-log.html +0 -68
  131. data/vendor/tests/tests/microformats-v1/hcard/email.html +0 -14
  132. data/vendor/tests/tests/microformats-v1/hcard/email.json +0 -11
  133. data/vendor/tests/tests/microformats-v1/hcard/format.html +0 -6
  134. data/vendor/tests/tests/microformats-v1/hcard/format.json +0 -11
  135. data/vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.html +0 -3
  136. data/vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.json +0 -8
  137. data/vendor/tests/tests/microformats-v1/hcard/justahyperlink.html +0 -1
  138. data/vendor/tests/tests/microformats-v1/hcard/justahyperlink.json +0 -8
  139. data/vendor/tests/tests/microformats-v1/hcard/justaname.html +0 -1
  140. data/vendor/tests/tests/microformats-v1/hcard/justaname.json +0 -8
  141. data/vendor/tests/tests/microformats-v1/hcard/multiple.html +0 -74
  142. data/vendor/tests/tests/microformats-v1/hcard/multiple.json +0 -65
  143. data/vendor/tests/tests/microformats-v1/hcard/name.html +0 -11
  144. data/vendor/tests/tests/microformats-v1/hcard/name.json +0 -15
  145. data/vendor/tests/tests/microformats-v1/hcard/single.html +0 -14
  146. data/vendor/tests/tests/microformats-v1/hcard/single.json +0 -24
  147. data/vendor/tests/tests/microformats-v1/hentry/change-log.html +0 -73
  148. data/vendor/tests/tests/microformats-v1/hentry/summarycontent.html +0 -20
  149. data/vendor/tests/tests/microformats-v1/hentry/summarycontent.json +0 -24
  150. data/vendor/tests/tests/microformats-v1/hfeed/simple.html +0 -30
  151. data/vendor/tests/tests/microformats-v1/hfeed/simple.json +0 -49
  152. data/vendor/tests/tests/microformats-v1/hnews/all.html +0 -37
  153. data/vendor/tests/tests/microformats-v1/hnews/all.json +0 -74
  154. data/vendor/tests/tests/microformats-v1/hnews/change-log.html +0 -72
  155. data/vendor/tests/tests/microformats-v1/hnews/minimum.html +0 -25
  156. data/vendor/tests/tests/microformats-v1/hnews/minimum.json +0 -48
  157. data/vendor/tests/tests/microformats-v1/hproduct/aggregate.html +0 -26
  158. data/vendor/tests/tests/microformats-v1/hproduct/aggregate.json +0 -52
  159. data/vendor/tests/tests/microformats-v1/hproduct/change-log.html +0 -62
  160. data/vendor/tests/tests/microformats-v1/hproduct/simpleproperties.html +0 -13
  161. data/vendor/tests/tests/microformats-v1/hproduct/simpleproperties.json +0 -33
  162. data/vendor/tests/tests/microformats-v1/hresume/affiliation.html +0 -12
  163. data/vendor/tests/tests/microformats-v1/hresume/affiliation.json +0 -25
  164. data/vendor/tests/tests/microformats-v1/hresume/change-log.html +0 -73
  165. data/vendor/tests/tests/microformats-v1/hresume/contact.html +0 -18
  166. data/vendor/tests/tests/microformats-v1/hresume/contact.json +0 -32
  167. data/vendor/tests/tests/microformats-v1/hresume/education.html +0 -13
  168. data/vendor/tests/tests/microformats-v1/hresume/education.json +0 -29
  169. data/vendor/tests/tests/microformats-v1/hresume/skill.html +0 -12
  170. data/vendor/tests/tests/microformats-v1/hresume/skill.json +0 -33
  171. data/vendor/tests/tests/microformats-v1/hresume/work.html +0 -16
  172. data/vendor/tests/tests/microformats-v1/hresume/work.json +0 -30
  173. data/vendor/tests/tests/microformats-v1/hreview-aggregate/change-log.html +0 -67
  174. data/vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.html +0 -18
  175. data/vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.json +0 -31
  176. data/vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.html +0 -6
  177. data/vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.json +0 -19
  178. data/vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.html +0 -13
  179. data/vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.json +0 -22
  180. data/vendor/tests/tests/microformats-v1/hreview/change-log.html +0 -73
  181. data/vendor/tests/tests/microformats-v1/hreview/item.html +0 -8
  182. data/vendor/tests/tests/microformats-v1/hreview/item.json +0 -19
  183. data/vendor/tests/tests/microformats-v1/hreview/vcard.html +0 -23
  184. data/vendor/tests/tests/microformats-v1/hreview/vcard.json +0 -58
  185. data/vendor/tests/tests/microformats-v1/includes/change-log.html +0 -72
  186. data/vendor/tests/tests/microformats-v1/includes/hcarditemref.html +0 -16
  187. data/vendor/tests/tests/microformats-v1/includes/hcarditemref.json +0 -49
  188. data/vendor/tests/tests/microformats-v1/includes/heventitemref.html +0 -25
  189. data/vendor/tests/tests/microformats-v1/includes/heventitemref.json +0 -33
  190. data/vendor/tests/tests/microformats-v1/includes/hyperlink.html +0 -18
  191. data/vendor/tests/tests/microformats-v1/includes/hyperlink.json +0 -43
  192. data/vendor/tests/tests/microformats-v1/includes/object.html +0 -23
  193. data/vendor/tests/tests/microformats-v1/includes/object.json +0 -42
  194. data/vendor/tests/tests/microformats-v1/includes/table.html +0 -12
  195. data/vendor/tests/tests/microformats-v1/includes/table.json +0 -19
  196. data/vendor/tests/tests/microformats-v2/h-adr/change-log.html +0 -62
  197. data/vendor/tests/tests/microformats-v2/h-adr/geo.html +0 -10
  198. data/vendor/tests/tests/microformats-v2/h-adr/geo.json +0 -16
  199. data/vendor/tests/tests/microformats-v2/h-adr/geourl.html +0 -4
  200. data/vendor/tests/tests/microformats-v2/h-adr/geourl.json +0 -13
  201. data/vendor/tests/tests/microformats-v2/h-adr/justaname.html +0 -1
  202. data/vendor/tests/tests/microformats-v2/h-adr/justaname.json +0 -10
  203. data/vendor/tests/tests/microformats-v2/h-adr/lettercase.html +0 -21
  204. data/vendor/tests/tests/microformats-v2/h-adr/lettercase.json +0 -12
  205. data/vendor/tests/tests/microformats-v2/h-adr/simpleproperties.html +0 -8
  206. data/vendor/tests/tests/microformats-v2/h-adr/simpleproperties.json +0 -16
  207. data/vendor/tests/tests/microformats-v2/h-as-note/note.html +0 -56
  208. data/vendor/tests/tests/microformats-v2/h-as-note/note.json +0 -98
  209. data/vendor/tests/tests/microformats-v2/h-card/baseurl.html +0 -6
  210. data/vendor/tests/tests/microformats-v2/h-card/baseurl.json +0 -26
  211. data/vendor/tests/tests/microformats-v2/h-card/change-log.html +0 -100
  212. data/vendor/tests/tests/microformats-v2/h-card/childimplied.html +0 -7
  213. data/vendor/tests/tests/microformats-v2/h-card/childimplied.json +0 -12
  214. data/vendor/tests/tests/microformats-v2/h-card/extendeddescription.html +0 -10
  215. data/vendor/tests/tests/microformats-v2/h-card/extendeddescription.json +0 -15
  216. data/vendor/tests/tests/microformats-v2/h-card/hcard.html +0 -4
  217. data/vendor/tests/tests/microformats-v2/h-card/hcard.json +0 -19
  218. data/vendor/tests/tests/microformats-v2/h-card/horghcard.html +0 -4
  219. data/vendor/tests/tests/microformats-v2/h-card/horghcard.json +0 -19
  220. data/vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.html +0 -3
  221. data/vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.json +0 -12
  222. data/vendor/tests/tests/microformats-v2/h-card/impliedname.html +0 -15
  223. data/vendor/tests/tests/microformats-v2/h-card/impliedname.json +0 -90
  224. data/vendor/tests/tests/microformats-v2/h-card/impliedphoto.html +0 -11
  225. data/vendor/tests/tests/microformats-v2/h-card/impliedphoto.json +0 -72
  226. data/vendor/tests/tests/microformats-v2/h-card/impliedurl.html +0 -5
  227. data/vendor/tests/tests/microformats-v2/h-card/impliedurl.json +0 -45
  228. data/vendor/tests/tests/microformats-v2/h-card/justahyperlink.html +0 -1
  229. data/vendor/tests/tests/microformats-v2/h-card/justahyperlink.json +0 -11
  230. data/vendor/tests/tests/microformats-v2/h-card/justaname.html +0 -1
  231. data/vendor/tests/tests/microformats-v2/h-card/justaname.json +0 -10
  232. data/vendor/tests/tests/microformats-v2/h-card/nested.html +0 -4
  233. data/vendor/tests/tests/microformats-v2/h-card/nested.json +0 -18
  234. data/vendor/tests/tests/microformats-v2/h-card/p-property.html +0 -21
  235. data/vendor/tests/tests/microformats-v2/h-card/p-property.json +0 -15
  236. data/vendor/tests/tests/microformats-v2/h-card/relativeurls.html +0 -6
  237. data/vendor/tests/tests/microformats-v2/h-card/relativeurls.json +0 -29
  238. data/vendor/tests/tests/microformats-v2/h-entry/change-log.html +0 -90
  239. data/vendor/tests/tests/microformats-v2/h-entry/encoding.html +0 -3
  240. data/vendor/tests/tests/microformats-v2/h-entry/encoding.json +0 -14
  241. data/vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.html +0 -9
  242. data/vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.json +0 -27
  243. data/vendor/tests/tests/microformats-v2/h-entry/justahyperlink.html +0 -1
  244. data/vendor/tests/tests/microformats-v2/h-entry/justahyperlink.json +0 -11
  245. data/vendor/tests/tests/microformats-v2/h-entry/justaname.html +0 -1
  246. data/vendor/tests/tests/microformats-v2/h-entry/justaname.json +0 -10
  247. data/vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.html +0 -4
  248. data/vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.json +0 -14
  249. data/vendor/tests/tests/microformats-v2/h-entry/summarycontent.html +0 -20
  250. data/vendor/tests/tests/microformats-v2/h-entry/summarycontent.json +0 -25
  251. data/vendor/tests/tests/microformats-v2/h-entry/u-property.html +0 -33
  252. data/vendor/tests/tests/microformats-v2/h-entry/u-property.json +0 -12
  253. data/vendor/tests/tests/microformats-v2/h-entry/urlincontent.html +0 -13
  254. data/vendor/tests/tests/microformats-v2/h-entry/urlincontent.json +0 -14
  255. data/vendor/tests/tests/microformats-v2/h-event/ampm.html +0 -41
  256. data/vendor/tests/tests/microformats-v2/h-event/ampm.json +0 -21
  257. data/vendor/tests/tests/microformats-v2/h-event/attendees.html +0 -13
  258. data/vendor/tests/tests/microformats-v2/h-event/attendees.json +0 -37
  259. data/vendor/tests/tests/microformats-v2/h-event/change-log.html +0 -82
  260. data/vendor/tests/tests/microformats-v2/h-event/combining.html +0 -13
  261. data/vendor/tests/tests/microformats-v2/h-event/combining.json +0 -25
  262. data/vendor/tests/tests/microformats-v2/h-event/concatenate.html +0 -8
  263. data/vendor/tests/tests/microformats-v2/h-event/concatenate.json +0 -12
  264. data/vendor/tests/tests/microformats-v2/h-event/dates.html +0 -13
  265. data/vendor/tests/tests/microformats-v2/h-event/dates.json +0 -26
  266. data/vendor/tests/tests/microformats-v2/h-event/dt-property.html +0 -23
  267. data/vendor/tests/tests/microformats-v2/h-event/dt-property.json +0 -20
  268. data/vendor/tests/tests/microformats-v2/h-event/justahyperlink.html +0 -1
  269. data/vendor/tests/tests/microformats-v2/h-event/justahyperlink.json +0 -11
  270. data/vendor/tests/tests/microformats-v2/h-event/justaname.html +0 -1
  271. data/vendor/tests/tests/microformats-v2/h-event/justaname.json +0 -10
  272. data/vendor/tests/tests/microformats-v2/h-event/time.html +0 -47
  273. data/vendor/tests/tests/microformats-v2/h-event/time.json +0 -25
  274. data/vendor/tests/tests/microformats-v2/h-feed/implied-title.html +0 -30
  275. data/vendor/tests/tests/microformats-v2/h-feed/implied-title.json +0 -23
  276. data/vendor/tests/tests/microformats-v2/h-feed/simple.html +0 -26
  277. data/vendor/tests/tests/microformats-v2/h-feed/simple.json +0 -33
  278. data/vendor/tests/tests/microformats-v2/h-geo/abbrpattern.html +0 -5
  279. data/vendor/tests/tests/microformats-v2/h-geo/abbrpattern.json +0 -12
  280. data/vendor/tests/tests/microformats-v2/h-geo/altitude.html +0 -8
  281. data/vendor/tests/tests/microformats-v2/h-geo/altitude.json +0 -13
  282. data/vendor/tests/tests/microformats-v2/h-geo/change-log.html +0 -67
  283. data/vendor/tests/tests/microformats-v2/h-geo/hidden.html +0 -10
  284. data/vendor/tests/tests/microformats-v2/h-geo/hidden.json +0 -12
  285. data/vendor/tests/tests/microformats-v2/h-geo/justaname.html +0 -3
  286. data/vendor/tests/tests/microformats-v2/h-geo/justaname.json +0 -10
  287. data/vendor/tests/tests/microformats-v2/h-geo/simpleproperties.html +0 -5
  288. data/vendor/tests/tests/microformats-v2/h-geo/simpleproperties.json +0 -12
  289. data/vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.html +0 -11
  290. data/vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.json +0 -12
  291. data/vendor/tests/tests/microformats-v2/h-news/all.html +0 -35
  292. data/vendor/tests/tests/microformats-v2/h-news/all.json +0 -51
  293. data/vendor/tests/tests/microformats-v2/h-news/change-log.html +0 -78
  294. data/vendor/tests/tests/microformats-v2/h-news/minimum.html +0 -24
  295. data/vendor/tests/tests/microformats-v2/h-news/minimum.json +0 -40
  296. data/vendor/tests/tests/microformats-v2/h-org/change-log.html +0 -57
  297. data/vendor/tests/tests/microformats-v2/h-org/hyperlink.html +0 -1
  298. data/vendor/tests/tests/microformats-v2/h-org/hyperlink.json +0 -11
  299. data/vendor/tests/tests/microformats-v2/h-org/simple.html +0 -1
  300. data/vendor/tests/tests/microformats-v2/h-org/simple.json +0 -10
  301. data/vendor/tests/tests/microformats-v2/h-org/simpleproperties.html +0 -4
  302. data/vendor/tests/tests/microformats-v2/h-org/simpleproperties.json +0 -12
  303. data/vendor/tests/tests/microformats-v2/h-product/aggregate.html +0 -21
  304. data/vendor/tests/tests/microformats-v2/h-product/aggregate.json +0 -45
  305. data/vendor/tests/tests/microformats-v2/h-product/change-log.html +0 -62
  306. data/vendor/tests/tests/microformats-v2/h-product/justahyperlink.html +0 -1
  307. data/vendor/tests/tests/microformats-v2/h-product/justahyperlink.json +0 -11
  308. data/vendor/tests/tests/microformats-v2/h-product/justaname.html +0 -1
  309. data/vendor/tests/tests/microformats-v2/h-product/justaname.json +0 -10
  310. data/vendor/tests/tests/microformats-v2/h-product/simpleproperties.html +0 -10
  311. data/vendor/tests/tests/microformats-v2/h-product/simpleproperties.json +0 -26
  312. data/vendor/tests/tests/microformats-v2/h-recipe/all.html +0 -63
  313. data/vendor/tests/tests/microformats-v2/h-recipe/all.json +0 -54
  314. data/vendor/tests/tests/microformats-v2/h-recipe/change-log.html +0 -62
  315. data/vendor/tests/tests/microformats-v2/h-recipe/minimum.html +0 -7
  316. data/vendor/tests/tests/microformats-v2/h-recipe/minimum.json +0 -17
  317. data/vendor/tests/tests/microformats-v2/h-resume/affiliation.html +0 -12
  318. data/vendor/tests/tests/microformats-v2/h-resume/affiliation.json +0 -20
  319. data/vendor/tests/tests/microformats-v2/h-resume/change-log.html +0 -78
  320. data/vendor/tests/tests/microformats-v2/h-resume/contact.html +0 -17
  321. data/vendor/tests/tests/microformats-v2/h-resume/contact.json +0 -26
  322. data/vendor/tests/tests/microformats-v2/h-resume/education.html +0 -13
  323. data/vendor/tests/tests/microformats-v2/h-resume/education.json +0 -30
  324. data/vendor/tests/tests/microformats-v2/h-resume/justaname.html +0 -1
  325. data/vendor/tests/tests/microformats-v2/h-resume/justaname.json +0 -10
  326. data/vendor/tests/tests/microformats-v2/h-resume/skill.html +0 -12
  327. data/vendor/tests/tests/microformats-v2/h-resume/skill.json +0 -12
  328. data/vendor/tests/tests/microformats-v2/h-resume/work.html +0 -16
  329. data/vendor/tests/tests/microformats-v2/h-resume/work.json +0 -31
  330. data/vendor/tests/tests/microformats-v2/h-review-aggregate/change-log.html +0 -78
  331. data/vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.html +0 -13
  332. data/vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.json +0 -23
  333. data/vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.html +0 -8
  334. data/vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.json +0 -19
  335. data/vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.html +0 -18
  336. data/vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.json +0 -26
  337. data/vendor/tests/tests/microformats-v2/h-review/change-log.html +0 -84
  338. data/vendor/tests/tests/microformats-v2/h-review/hyperlink.html +0 -1
  339. data/vendor/tests/tests/microformats-v2/h-review/hyperlink.json +0 -11
  340. data/vendor/tests/tests/microformats-v2/h-review/implieditem.html +0 -4
  341. data/vendor/tests/tests/microformats-v2/h-review/implieditem.json +0 -19
  342. data/vendor/tests/tests/microformats-v2/h-review/item.html +0 -8
  343. data/vendor/tests/tests/microformats-v2/h-review/item.json +0 -20
  344. data/vendor/tests/tests/microformats-v2/h-review/justaname.html +0 -1
  345. data/vendor/tests/tests/microformats-v2/h-review/justaname.json +0 -10
  346. data/vendor/tests/tests/microformats-v2/h-review/photo.html +0 -1
  347. data/vendor/tests/tests/microformats-v2/h-review/photo.json +0 -11
  348. data/vendor/tests/tests/microformats-v2/h-review/vcard.html +0 -23
  349. data/vendor/tests/tests/microformats-v2/h-review/vcard.json +0 -48
  350. data/vendor/tests/tests/microformats-v2/rel/change-log.html +0 -67
  351. data/vendor/tests/tests/microformats-v2/rel/duplicate-rels.html +0 -10
  352. data/vendor/tests/tests/microformats-v2/rel/duplicate-rels.json +0 -75
  353. data/vendor/tests/tests/microformats-v2/rel/license.html +0 -1
  354. data/vendor/tests/tests/microformats-v2/rel/license.json +0 -12
  355. data/vendor/tests/tests/microformats-v2/rel/nofollow.html +0 -1
  356. data/vendor/tests/tests/microformats-v2/rel/nofollow.json +0 -12
  357. data/vendor/tests/tests/microformats-v2/rel/rel-urls.html +0 -8
  358. data/vendor/tests/tests/microformats-v2/rel/rel-urls.json +0 -33
  359. data/vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.html +0 -4
  360. data/vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.json +0 -20
  361. data/vendor/tests/tests/microformats-v2/rel/xfn-all.html +0 -19
  362. data/vendor/tests/tests/microformats-v2/rel/xfn-all.json +0 -92
  363. data/vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.html +0 -10
  364. data/vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.json +0 -40
@@ -1,8 +0,0 @@
1
- <base href="http://example.com">
2
- <div class="hreview">
3
- <p class="item">
4
- <img class="photo" src="images/photo.gif" />
5
- <a class="fn url" href="http://example.com/crepeoncole">Crepes on Cole</a>
6
- </p>
7
- <p><span class="rating">5</span> out of 5 stars</p>
8
- </div>
@@ -1,19 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-review"],
4
- "properties": {
5
- "item": [{
6
- "value": "Crepes on Cole",
7
- "type": ["h-item"],
8
- "properties": {
9
- "photo": ["http://example.com/images/photo.gif"],
10
- "name": ["Crepes on Cole"],
11
- "url": ["http://example.com/crepeoncole"]
12
- }
13
- }],
14
- "rating": ["5"]
15
- }
16
- }],
17
- "rels": {},
18
- "rel-urls": {}
19
- }
@@ -1,23 +0,0 @@
1
- <div class="hreview">
2
- <span><span class="rating">5</span> out of 5 stars</span>
3
- <h4 class="summary">Crepes on Cole is awesome</h4>
4
- <span class="reviewer vcard">
5
- Reviewer: <span class="fn">Tantek</span> -
6
- </span>
7
- <time class="reviewed" datetime="2005-04-18">April 18, 2005</time>
8
- <div class="description">
9
- <p class="item vcard">
10
- <span class="fn org">Crepes on Cole</span> is one of the best little
11
- creperies in <span class="adr"><span class="locality">San Francisco</span></span>.
12
- Excellent food and service. Plenty of tables in a variety of sizes
13
- for parties large and small. Window seating makes for excellent
14
- people watching to/from the N-Judah which stops right outside.
15
- I've had many fun social gatherings here, as well as gotten
16
- plenty of work done thanks to neighborhood WiFi.
17
- </p>
18
- </div>
19
- <p>Visit date: <span>April 2005</span></p>
20
- <p>Food eaten: <a rel="tag" href="http://en.wikipedia.org/wiki/crepe">crepe</a></p>
21
- <p>Permanent link for review: <a rel="self bookmark" href="http://example.com/crepe">http://example.com/crepe</a></p>
22
- <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>
23
- </div>
@@ -1,58 +0,0 @@
1
-
2
- {
3
- "items": [{
4
- "type": ["h-review"],
5
- "properties": {
6
- "rating": ["5"],
7
- "name": ["Crepes on Cole is awesome"],
8
- "author": [{
9
- "value": "Tantek",
10
- "type": ["h-card"],
11
- "properties": {
12
- "name": ["Tantek"]
13
- }
14
- }],
15
- "content": [{
16
- "value": "Crepes on Cole is one of the best little \n creperies in San Francisco.\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.",
17
- "html": "\n <p class=\"item vcard\">\n <span class=\"fn org\">Crepes on Cole</span> is one of the best little \n creperies in <span class=\"adr\"><span class=\"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"
18
- }],
19
- "item": [{
20
- "value": "Crepes on Cole",
21
- "type": ["h-card"],
22
- "properties": {
23
- "name": ["Crepes on Cole"],
24
- "org": ["Crepes on Cole"],
25
- "adr": [{
26
- "value": "San Francisco",
27
- "type": ["h-adr"],
28
- "properties": {
29
- "locality": ["San Francisco"]
30
- }
31
- }]
32
- }
33
- }],
34
- "category": ["crepe"],
35
- "url": ["http://example.com/crepe"]
36
- }
37
- }],
38
- "rels": {
39
- "tag": ["http://en.wikipedia.org/wiki/crepe"],
40
- "self": ["http://example.com/crepe"],
41
- "bookmark": ["http://example.com/crepe"],
42
- "license": ["http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License"]
43
- },
44
- "rel-urls": {
45
- "http://en.wikipedia.org/wiki/crepe": {
46
- "text": "crepe",
47
- "rels": ["tag"]
48
- },
49
- "http://example.com/crepe": {
50
- "text": "http://example.com/crepe",
51
- "rels": ["self", "bookmark"]
52
- },
53
- "http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License": {
54
- "text": "Creative Commons Attribution-ShareAlike License",
55
- "rels": ["license"]
56
- }
57
- }
58
- }
@@ -1,72 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <title>h-card parsing tests</title>
6
-
7
- <link rel="stylesheet" href="../../../css/testsuite.css">
8
- <link rel="stylesheet" href="../../../prettify.css">
9
-
10
- <script src="../../../javascript/prettify.js"></script>
11
- <script src="../../../javascript/testsuite.js"></script>
12
-
13
- </head>
14
- <body class="h-feed">
15
-
16
- <h1 class="p-name"><span class="p-x-format">h-card</span> parsing tests &dash; change logs</h1>
17
-
18
- <p class="p-description">The files in this directory where designed to test the parsing of includes. </p>
19
-
20
-
21
- <h2>Change log:</h2>
22
- <ul>
23
- <!-- Add change log event to the top of this list as a h-entry -->
24
- <li class="h-entry">
25
- <span class="p-name e-content">Update text output to be textContent non-trimmed</span> &dash;
26
- <time class="dt-published" datetime="2015-05-29">29 May 2015</time>
27
- by <span class="p-author">Glenn Jones</span>
28
- </li>
29
- <li class="h-entry">
30
- <span class="p-name e-content">Converted all the classes over to microformats v1</span> &dash;
31
- <time class="dt-published" datetime="2015-05-23">23 May 2015</time>
32
- by <span class="p-author">Glenn Jones</span>
33
- </li>
34
- <li class="h-entry">
35
- <span class="p-name e-content">Broke old HTML format into small files to aid simpler testing</span> &dash;
36
- <time class="dt-published" datetime="2015-05-21">21 May 2015</time>
37
- by <span class="p-author">Glenn Jones</span>
38
- </li>
39
- <li class="h-entry">
40
- <span class="p-name e-content">Updated JSON examples so it always has the rel={} object as well as the items=[] array</span> &dash;
41
- <time class="dt-published" datetime="2013-11-21">21 November 2013</time>
42
- by <span class="p-author">Glenn Jones</span>
43
- </li>
44
- <li class="h-entry">
45
- <span class="p-name e-content">Updated encoding issue on p-*</span> &dash;
46
- <time class="dt-published" datetime="2013-09-19">19 September 2013</time>
47
- by <span class="p-author">Glenn Jones</span>
48
- </li>
49
- <li class="h-entry">
50
- <span class="p-name e-content">Created</span> &dash;
51
- <time class="dt-published" datetime="2013-01-11">11 January 2013</time>
52
- by <span class="p-author">Glenn Jones</span>
53
- </li>
54
- </ul>
55
-
56
-
57
- <h2>Contributors:</h2>
58
- <ul>
59
- <!-- If you Contribute to the test please add yourself as an author using p-author h-card -->
60
- <li class="p-author h-card">
61
- <a class="u-url p-name" rel="author" href="http://www.glennjones.net/">Glenn Jones</a>
62
- </li>
63
- </ul>
64
-
65
-
66
- <footer>
67
- All content and code is released into the <a href="http://en.wikipedia.org/wiki/public_domain">public domain</a>
68
- </footer>
69
-
70
- </body>
71
-
72
- </html>
@@ -1,16 +0,0 @@
1
- <div class="vcard" itemref="mozilla-org mozilla-adr">
2
- <span class="name">Brendan Eich</span>
3
- </div>
4
- <div class="vcard" itemref="mozilla-org mozilla-adr">
5
- <span class="name">Mitchell Baker</span>
6
- </div>
7
-
8
- <p id="mozilla-org" class="org">Mozilla</p>
9
- <p id="mozilla-adr" class="adr">
10
- <span class="street-address">665 3rd St.</span>
11
- <span class="extended-address">Suite 207</span>
12
- <span class="locality">San Francisco</span>,
13
- <span class="region">CA</span>
14
- <span class="postal-code">94107</span>
15
- <span class="country-name">U.S.A.</span>
16
- </p>
@@ -1,49 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-card"],
4
- "properties": {
5
- "org": ["Mozilla"],
6
- "adr": [{
7
- "value": "665 3rd St. \n Suite 207 \n San Francisco, \n CA \n 94107 \n U.S.A.",
8
- "type": ["h-adr"],
9
- "properties": {
10
- "street-address": ["665 3rd St."],
11
- "extended-address": ["Suite 207"],
12
- "locality": ["San Francisco"],
13
- "region": ["CA"],
14
- "postal-code": ["94107"],
15
- "country-name": ["U.S.A."]
16
- }
17
- }]
18
- }
19
- }, {
20
- "type": ["h-card"],
21
- "properties": {
22
- "org": ["Mozilla"],
23
- "adr": [{
24
- "value": "665 3rd St. \n Suite 207 \n San Francisco, \n CA \n 94107 \n U.S.A.",
25
- "type": ["h-adr"],
26
- "properties": {
27
- "street-address": ["665 3rd St."],
28
- "extended-address": ["Suite 207"],
29
- "locality": ["San Francisco"],
30
- "region": ["CA"],
31
- "postal-code": ["94107"],
32
- "country-name": ["U.S.A."]
33
- }
34
- }]
35
- }
36
- }, {
37
- "type": ["h-adr"],
38
- "properties": {
39
- "street-address": ["665 3rd St."],
40
- "extended-address": ["Suite 207"],
41
- "locality": ["San Francisco"],
42
- "region": ["CA"],
43
- "postal-code": ["94107"],
44
- "country-name": ["U.S.A."]
45
- }
46
- }],
47
- "rels": {},
48
- "rel-urls": {}
49
- }
@@ -1,25 +0,0 @@
1
- <div class="vevent" itemref="io-session07">
2
- <span class="name">Monetizing Android Apps</span> - spaekers:
3
- <span class="speaker">Chrix Finne</span>,
4
- <span class="speaker">Kenneth Lui</span> -
5
- <span itemref="io-location" class="location adr">
6
- <span class="extended-address">Room 10</span>
7
- </span>
8
- </div>
9
- <div class="vevent" itemref="io-session07">
10
- <span class="name">New Low-Level Media APIs in Android</span> - spaekers:
11
- <span class="speaker">Dave Burke</span> -
12
- <span itemref="io-location" class="location adr">
13
- <span class="extended-address">Room 11</span>
14
- </span>
15
- </div>
16
-
17
- <p id="io-session07">
18
- Session 01 is between:
19
- <time class="dtstart" datetime="2012-06-27T15:45:00-0800">3:45PM</time> to
20
- <time class="dtend" datetime="2012-06-27T16:45:00-0800">4:45PM</time>
21
- </p>
22
- <p id="io-location">
23
- <span class="extended-address">Moscone Center</span>,
24
- <span class="locality">San Francisco</span>
25
- </p>
@@ -1,33 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-event"],
4
- "properties": {
5
- "location": [{
6
- "value": "Room 10\n \n Moscone Center, \n San Francisco",
7
- "type": ["h-adr"],
8
- "properties": {
9
- "extended-address": ["Room 10", "Moscone Center"],
10
- "locality": ["San Francisco"]
11
- }
12
- }],
13
- "start": ["2012-06-27 15:45:00-08:00"],
14
- "end": ["2012-06-27 16:45:00-08:00"]
15
- }
16
- }, {
17
- "type": ["h-event"],
18
- "properties": {
19
- "location": [{
20
- "value": "Room 11\n \n Moscone Center, \n San Francisco",
21
- "type": ["h-adr"],
22
- "properties": {
23
- "extended-address": ["Room 11", "Moscone Center"],
24
- "locality": ["San Francisco"]
25
- }
26
- }],
27
- "start": ["2012-06-27 15:45:00-08:00"],
28
- "end": ["2012-06-27 16:45:00-08:00"]
29
- }
30
- }],
31
- "rels": {},
32
- "rel-urls": {}
33
- }
@@ -1,18 +0,0 @@
1
- <div class="vcard">
2
- <span class="name">Ben Ward</span>
3
- <a class="include" href="#twitter">Twitter</a>
4
- </div>
5
- <div class="vcard">
6
- <span class="name">Dan Webb</span>
7
- <a class="include" href="#twitter">Twitter</a>
8
- </div>
9
-
10
- <div id="twitter">
11
- <p class="org">Twitter</p>
12
- <p class="adr">
13
- <span class="street-address">1355 Market St</span>,
14
- <span class="locality">San Francisco</span>,
15
- <span class="region">CA</span>
16
- <span class="postal-code">94103</span>
17
- </p>
18
- </div>
@@ -1,43 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-card"],
4
- "properties": {
5
- "org": ["Twitter"],
6
- "adr": [{
7
- "value": "1355 Market St,\n San Francisco, \n CA\n 94103",
8
- "type": ["h-adr"],
9
- "properties": {
10
- "street-address": ["1355 Market St"],
11
- "locality": ["San Francisco"],
12
- "region": ["CA"],
13
- "postal-code": ["94103"]
14
- }
15
- }]
16
- }
17
- }, {
18
- "type": ["h-card"],
19
- "properties": {
20
- "org": ["Twitter"],
21
- "adr": [{
22
- "value": "1355 Market St,\n San Francisco, \n CA\n 94103",
23
- "type": ["h-adr"],
24
- "properties": {
25
- "street-address": ["1355 Market St"],
26
- "locality": ["San Francisco"],
27
- "region": ["CA"],
28
- "postal-code": ["94103"]
29
- }
30
- }]
31
- }
32
- }, {
33
- "type": ["h-adr"],
34
- "properties": {
35
- "street-address": ["1355 Market St"],
36
- "locality": ["San Francisco"],
37
- "region": ["CA"],
38
- "postal-code": ["94103"]
39
- }
40
- }],
41
- "rels": {},
42
- "rel-urls": {}
43
- }
@@ -1,23 +0,0 @@
1
- <div class="vevent">
2
- <span class="name">HTML5 & CSS3 latest features in action!</span> -
3
- <span class="speaker">David Rousset</span> -
4
- <time class="dtstart" datetime="2012-10-30T11:45:00-08:00">Tue 11:45am</time>
5
- <object data="#buildconf" class="include" type="text/html" height="0" width="0"></object>
6
- </div>
7
- <div class="vevent">
8
- <span class="name">Building High-Performing JavaScript for Modern Engines</span> -
9
- <span class="speaker">John-David Dalton</span> and
10
- <span class="speaker">Amanda Silver</span> -
11
- <time class="dtstart" datetime="2012-10-31T11:15:00-08:00">Wed 11:15am</time>
12
- <object data="#buildconf" class="include" type="text/html" height="0" width="0"></object>
13
- </div>
14
-
15
-
16
- <div id="buildconf">
17
- <p class="summary">Build Conference</p>
18
- <p class="location adr">
19
- <span class="locality">Redmond</span>,
20
- <span class="region">Washington</span>,
21
- <span class="country-name">USA</span>
22
- </p>
23
- </div>
@@ -1,42 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-event"],
4
- "properties": {
5
- "start": ["2012-10-30 11:45:00-08:00"],
6
- "name": ["Build Conference"],
7
- "location": [{
8
- "value": "Redmond, \n Washington, \n USA",
9
- "type": ["h-adr"],
10
- "properties": {
11
- "locality": ["Redmond"],
12
- "region": ["Washington"],
13
- "country-name": ["USA"]
14
- }
15
- }]
16
- }
17
- }, {
18
- "type": ["h-event"],
19
- "properties": {
20
- "start": ["2012-10-31 11:15:00-08:00"],
21
- "name": ["Build Conference"],
22
- "location": [{
23
- "value": "Redmond, \n Washington, \n USA",
24
- "type": ["h-adr"],
25
- "properties": {
26
- "locality": ["Redmond"],
27
- "region": ["Washington"],
28
- "country-name": ["USA"]
29
- }
30
- }]
31
- }
32
- }, {
33
- "type": ["h-adr"],
34
- "properties": {
35
- "locality": ["Redmond"],
36
- "region": ["Washington"],
37
- "country-name": ["USA"]
38
- }
39
- }],
40
- "rels": {},
41
- "rel-urls": {}
42
- }