microformats 4.0.7 → 4.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +10 -0
- data/.gitignore +33 -15
- data/.rspec +3 -2
- data/.rubocop +3 -0
- data/.rubocop.yml +25 -0
- data/.ruby-version +1 -0
- data/.simplecov +11 -0
- data/.travis.yml +14 -2
- data/CONTRIBUTING.md +103 -0
- data/Guardfile +2 -2
- data/LICENSE +116 -0
- data/README.md +112 -172
- data/Rakefile +6 -7
- data/bin/microformats +10 -9
- data/lib/microformats.rb +15 -14
- data/lib/microformats/absolute_uri.rb +4 -8
- data/lib/microformats/format_parser.rb +271 -251
- data/lib/microformats/parser.rb +38 -38
- data/lib/microformats/parser_core.rb +142 -109
- data/lib/microformats/property_parser.rb +42 -65
- data/lib/microformats/results/collection.rb +19 -38
- data/lib/microformats/results/parser_result.rb +25 -37
- data/lib/microformats/results/property_set.rb +24 -31
- data/lib/microformats/time_property_parser.rb +122 -118
- data/lib/microformats/version.rb +1 -1
- data/logo.svg +23 -0
- data/microformats.gemspec +35 -33
- metadata +140 -442
- data/LICENSE.md +0 -36
- data/spec/lib/microformats/absolute_uri_spec.rb +0 -56
- data/spec/lib/microformats/parser_spec.rb +0 -132
- data/spec/lib/microformats_spec.rb +0 -33
- data/spec/spec_helper.rb +0 -10
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-0.html +0 -2
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-0.js +0 -9
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-1.html +0 -2
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-1.js +0 -10
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-2.html +0 -5
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-2.js +0 -11
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-3.html +0 -17
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-3.js +0 -20
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-4.html +0 -16
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-4.js +0 -24
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-5.html +0 -7
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-5.js +0 -11
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-6.html +0 -9
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-6.js +0 -18
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-7.html +0 -9
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-7.js +0 -18
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-8.html +0 -9
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-8.js +0 -17
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-9.html +0 -9
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-9.js +0 -17
- data/spec/support/lib/edge_cases/blank_href.html +0 -23
- data/spec/support/lib/edge_cases/blank_href.js +0 -15
- data/spec/support/lib/edge_cases/blank_rel.html +0 -23
- data/spec/support/lib/edge_cases/blank_rel.js +0 -41
- data/spec/support/lib/edge_cases/blank_src.html +0 -24
- data/spec/support/lib/edge_cases/blank_src.js +0 -16
- data/spec/support/lib/edge_cases/blank_value.html +0 -5
- data/spec/support/lib/edge_cases/blank_value.js +0 -19
- data/spec/support/lib/edge_cases/relative.html +0 -29
- data/spec/support/lib/edge_cases/relative.js +0 -15
- data/spec/support/lib/edge_cases/vcp-dates.html +0 -13
- data/spec/support/lib/edge_cases/vcp-dates.js +0 -30
- data/spec/support/lib/microformats/blank_href.html +0 -23
- data/spec/support/lib/microformats/blank_href.js +0 -11
- data/spec/support/lib/microformats/implied_property/name-fail.html +0 -60
- data/spec/support/lib/microformats/implied_property/name-pass.html +0 -30
- data/spec/support/lib/microformats/implied_property/photo-fail.html +0 -60
- data/spec/support/lib/microformats/implied_property/photo-pass.html +0 -30
- data/spec/support/lib/microformats/implied_property/url-fail.html +0 -18
- data/spec/support/lib/microformats/implied_property/url-pass.html +0 -12
- data/spec/support/lib/microformats/implied_property/url-relative.html +0 -13
- data/spec/support/lib/microformats/implied_property/url-unnormalized.html +0 -12
- data/spec/support/lib/microformats/nested-format-with-property-of-same-name.html +0 -13
- data/spec/support/lib/microformats/nested-format-with-property-of-same-name.js +0 -16
- data/spec/support/lib/microformats/nested-format-with-property.html +0 -12
- data/spec/support/lib/microformats/nested-format-with-property.js +0 -16
- data/spec/support/lib/microformats/nested-format-without-property.html +0 -13
- data/spec/support/lib/microformats/nested-property.html +0 -12
- data/spec/support/lib/microformats/nested-property.js +0 -10
- data/spec/support/lib/microformats/rels-that-drop-the-base.html +0 -11
- data/spec/support/lib/microformats/rels-with-unnormalized-urls.html +0 -11
- data/spec/support/lib/microformats/rels.html +0 -12
- data/spec/support/lib/microformats/rels.js +0 -13
- data/spec/support/lib/microformats/simple.html +0 -23
- data/spec/support/lib/microformats/simple.js +0 -11
- data/vendor/tests/.gitignore +0 -25
- data/vendor/tests/LICENSE.md +0 -36
- data/vendor/tests/README.md +0 -48
- data/vendor/tests/app.js +0 -84
- data/vendor/tests/composer.json +0 -5
- data/vendor/tests/css/testsuite.css +0 -159
- data/vendor/tests/interface.js +0 -18
- data/vendor/tests/package.json +0 -27
- data/vendor/tests/tests/microformats-mixed/h-card/change-log.html +0 -63
- data/vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.html +0 -14
- data/vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.json +0 -22
- data/vendor/tests/tests/microformats-mixed/h-card/tworoots.html +0 -1
- data/vendor/tests/tests/microformats-mixed/h-card/tworoots.json +0 -10
- data/vendor/tests/tests/microformats-mixed/h-entry/mixedroots.html +0 -16
- data/vendor/tests/tests/microformats-mixed/h-entry/mixedroots.json +0 -38
- data/vendor/tests/tests/microformats-mixed/h-resume/change-log.html +0 -68
- data/vendor/tests/tests/microformats-mixed/h-resume/mixedroots.html +0 -16
- data/vendor/tests/tests/microformats-mixed/h-resume/mixedroots.json +0 -31
- data/vendor/tests/tests/microformats-v1/adr/change-log.html +0 -63
- data/vendor/tests/tests/microformats-v1/adr/simpleproperties.html +0 -8
- data/vendor/tests/tests/microformats-v1/adr/simpleproperties.json +0 -15
- data/vendor/tests/tests/microformats-v1/geo/abbrpattern.html +0 -5
- data/vendor/tests/tests/microformats-v1/geo/abbrpattern.json +0 -11
- data/vendor/tests/tests/microformats-v1/geo/change-log.1.html +0 -78
- data/vendor/tests/tests/microformats-v1/geo/change-log.html +0 -63
- data/vendor/tests/tests/microformats-v1/geo/hidden.html +0 -10
- data/vendor/tests/tests/microformats-v1/geo/hidden.json +0 -11
- data/vendor/tests/tests/microformats-v1/geo/simpleproperties.html +0 -6
- data/vendor/tests/tests/microformats-v1/geo/simpleproperties.json +0 -11
- data/vendor/tests/tests/microformats-v1/geo/valuetitleclass.html +0 -11
- data/vendor/tests/tests/microformats-v1/geo/valuetitleclass.json +0 -11
- data/vendor/tests/tests/microformats-v1/hcalendar/ampm.html +0 -41
- data/vendor/tests/tests/microformats-v1/hcalendar/ampm.json +0 -21
- data/vendor/tests/tests/microformats-v1/hcalendar/attendees.html +0 -13
- data/vendor/tests/tests/microformats-v1/hcalendar/attendees.json +0 -37
- data/vendor/tests/tests/microformats-v1/hcalendar/change-log.html +0 -68
- data/vendor/tests/tests/microformats-v1/hcalendar/combining.html +0 -15
- data/vendor/tests/tests/microformats-v1/hcalendar/combining.json +0 -31
- data/vendor/tests/tests/microformats-v1/hcalendar/concatenate.html +0 -7
- data/vendor/tests/tests/microformats-v1/hcalendar/concatenate.json +0 -12
- data/vendor/tests/tests/microformats-v1/hcalendar/time.html +0 -44
- data/vendor/tests/tests/microformats-v1/hcalendar/time.json +0 -22
- data/vendor/tests/tests/microformats-v1/hcard/change-log.html +0 -68
- data/vendor/tests/tests/microformats-v1/hcard/email.html +0 -14
- data/vendor/tests/tests/microformats-v1/hcard/email.json +0 -11
- data/vendor/tests/tests/microformats-v1/hcard/format.html +0 -6
- data/vendor/tests/tests/microformats-v1/hcard/format.json +0 -11
- data/vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.html +0 -3
- data/vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.json +0 -8
- data/vendor/tests/tests/microformats-v1/hcard/justahyperlink.html +0 -1
- data/vendor/tests/tests/microformats-v1/hcard/justahyperlink.json +0 -8
- data/vendor/tests/tests/microformats-v1/hcard/justaname.html +0 -1
- data/vendor/tests/tests/microformats-v1/hcard/justaname.json +0 -8
- data/vendor/tests/tests/microformats-v1/hcard/multiple.html +0 -74
- data/vendor/tests/tests/microformats-v1/hcard/multiple.json +0 -65
- data/vendor/tests/tests/microformats-v1/hcard/name.html +0 -11
- data/vendor/tests/tests/microformats-v1/hcard/name.json +0 -15
- data/vendor/tests/tests/microformats-v1/hcard/single.html +0 -14
- data/vendor/tests/tests/microformats-v1/hcard/single.json +0 -24
- data/vendor/tests/tests/microformats-v1/hentry/change-log.html +0 -73
- data/vendor/tests/tests/microformats-v1/hentry/summarycontent.html +0 -20
- data/vendor/tests/tests/microformats-v1/hentry/summarycontent.json +0 -24
- data/vendor/tests/tests/microformats-v1/hfeed/simple.html +0 -30
- data/vendor/tests/tests/microformats-v1/hfeed/simple.json +0 -49
- data/vendor/tests/tests/microformats-v1/hnews/all.html +0 -37
- data/vendor/tests/tests/microformats-v1/hnews/all.json +0 -74
- data/vendor/tests/tests/microformats-v1/hnews/change-log.html +0 -72
- data/vendor/tests/tests/microformats-v1/hnews/minimum.html +0 -25
- data/vendor/tests/tests/microformats-v1/hnews/minimum.json +0 -48
- data/vendor/tests/tests/microformats-v1/hproduct/aggregate.html +0 -26
- data/vendor/tests/tests/microformats-v1/hproduct/aggregate.json +0 -52
- data/vendor/tests/tests/microformats-v1/hproduct/change-log.html +0 -62
- data/vendor/tests/tests/microformats-v1/hproduct/simpleproperties.html +0 -13
- data/vendor/tests/tests/microformats-v1/hproduct/simpleproperties.json +0 -33
- data/vendor/tests/tests/microformats-v1/hresume/affiliation.html +0 -12
- data/vendor/tests/tests/microformats-v1/hresume/affiliation.json +0 -25
- data/vendor/tests/tests/microformats-v1/hresume/change-log.html +0 -73
- data/vendor/tests/tests/microformats-v1/hresume/contact.html +0 -18
- data/vendor/tests/tests/microformats-v1/hresume/contact.json +0 -32
- data/vendor/tests/tests/microformats-v1/hresume/education.html +0 -13
- data/vendor/tests/tests/microformats-v1/hresume/education.json +0 -29
- data/vendor/tests/tests/microformats-v1/hresume/skill.html +0 -12
- data/vendor/tests/tests/microformats-v1/hresume/skill.json +0 -33
- data/vendor/tests/tests/microformats-v1/hresume/work.html +0 -16
- data/vendor/tests/tests/microformats-v1/hresume/work.json +0 -30
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/change-log.html +0 -67
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.html +0 -18
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.json +0 -31
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.html +0 -6
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.json +0 -19
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.html +0 -13
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.json +0 -22
- data/vendor/tests/tests/microformats-v1/hreview/change-log.html +0 -73
- data/vendor/tests/tests/microformats-v1/hreview/item.html +0 -8
- data/vendor/tests/tests/microformats-v1/hreview/item.json +0 -19
- data/vendor/tests/tests/microformats-v1/hreview/vcard.html +0 -23
- data/vendor/tests/tests/microformats-v1/hreview/vcard.json +0 -58
- data/vendor/tests/tests/microformats-v1/includes/change-log.html +0 -72
- data/vendor/tests/tests/microformats-v1/includes/hcarditemref.html +0 -16
- data/vendor/tests/tests/microformats-v1/includes/hcarditemref.json +0 -49
- data/vendor/tests/tests/microformats-v1/includes/heventitemref.html +0 -25
- data/vendor/tests/tests/microformats-v1/includes/heventitemref.json +0 -33
- data/vendor/tests/tests/microformats-v1/includes/hyperlink.html +0 -18
- data/vendor/tests/tests/microformats-v1/includes/hyperlink.json +0 -43
- data/vendor/tests/tests/microformats-v1/includes/object.html +0 -23
- data/vendor/tests/tests/microformats-v1/includes/object.json +0 -42
- data/vendor/tests/tests/microformats-v1/includes/table.html +0 -12
- data/vendor/tests/tests/microformats-v1/includes/table.json +0 -19
- data/vendor/tests/tests/microformats-v2/h-adr/change-log.html +0 -62
- data/vendor/tests/tests/microformats-v2/h-adr/geo.html +0 -10
- data/vendor/tests/tests/microformats-v2/h-adr/geo.json +0 -16
- data/vendor/tests/tests/microformats-v2/h-adr/geourl.html +0 -4
- data/vendor/tests/tests/microformats-v2/h-adr/geourl.json +0 -13
- data/vendor/tests/tests/microformats-v2/h-adr/justaname.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-adr/justaname.json +0 -10
- data/vendor/tests/tests/microformats-v2/h-adr/lettercase.html +0 -21
- data/vendor/tests/tests/microformats-v2/h-adr/lettercase.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-adr/simpleproperties.html +0 -8
- data/vendor/tests/tests/microformats-v2/h-adr/simpleproperties.json +0 -16
- data/vendor/tests/tests/microformats-v2/h-as-note/note.html +0 -56
- data/vendor/tests/tests/microformats-v2/h-as-note/note.json +0 -98
- data/vendor/tests/tests/microformats-v2/h-card/baseurl.html +0 -6
- data/vendor/tests/tests/microformats-v2/h-card/baseurl.json +0 -26
- data/vendor/tests/tests/microformats-v2/h-card/change-log.html +0 -100
- data/vendor/tests/tests/microformats-v2/h-card/childimplied.html +0 -7
- data/vendor/tests/tests/microformats-v2/h-card/childimplied.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-card/extendeddescription.html +0 -10
- data/vendor/tests/tests/microformats-v2/h-card/extendeddescription.json +0 -15
- data/vendor/tests/tests/microformats-v2/h-card/hcard.html +0 -4
- data/vendor/tests/tests/microformats-v2/h-card/hcard.json +0 -19
- data/vendor/tests/tests/microformats-v2/h-card/horghcard.html +0 -4
- data/vendor/tests/tests/microformats-v2/h-card/horghcard.json +0 -19
- data/vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.html +0 -3
- data/vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-card/impliedname.html +0 -15
- data/vendor/tests/tests/microformats-v2/h-card/impliedname.json +0 -90
- data/vendor/tests/tests/microformats-v2/h-card/impliedphoto.html +0 -11
- data/vendor/tests/tests/microformats-v2/h-card/impliedphoto.json +0 -72
- data/vendor/tests/tests/microformats-v2/h-card/impliedurl.html +0 -5
- data/vendor/tests/tests/microformats-v2/h-card/impliedurl.json +0 -45
- data/vendor/tests/tests/microformats-v2/h-card/justahyperlink.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-card/justahyperlink.json +0 -11
- data/vendor/tests/tests/microformats-v2/h-card/justaname.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-card/justaname.json +0 -10
- data/vendor/tests/tests/microformats-v2/h-card/nested.html +0 -4
- data/vendor/tests/tests/microformats-v2/h-card/nested.json +0 -18
- data/vendor/tests/tests/microformats-v2/h-card/p-property.html +0 -21
- data/vendor/tests/tests/microformats-v2/h-card/p-property.json +0 -15
- data/vendor/tests/tests/microformats-v2/h-card/relativeurls.html +0 -6
- data/vendor/tests/tests/microformats-v2/h-card/relativeurls.json +0 -29
- data/vendor/tests/tests/microformats-v2/h-entry/change-log.html +0 -90
- data/vendor/tests/tests/microformats-v2/h-entry/encoding.html +0 -3
- data/vendor/tests/tests/microformats-v2/h-entry/encoding.json +0 -14
- data/vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.html +0 -9
- data/vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.json +0 -27
- data/vendor/tests/tests/microformats-v2/h-entry/justahyperlink.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-entry/justahyperlink.json +0 -11
- data/vendor/tests/tests/microformats-v2/h-entry/justaname.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-entry/justaname.json +0 -10
- data/vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.html +0 -4
- data/vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.json +0 -14
- data/vendor/tests/tests/microformats-v2/h-entry/summarycontent.html +0 -20
- data/vendor/tests/tests/microformats-v2/h-entry/summarycontent.json +0 -25
- data/vendor/tests/tests/microformats-v2/h-entry/u-property.html +0 -33
- data/vendor/tests/tests/microformats-v2/h-entry/u-property.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-entry/urlincontent.html +0 -13
- data/vendor/tests/tests/microformats-v2/h-entry/urlincontent.json +0 -14
- data/vendor/tests/tests/microformats-v2/h-event/ampm.html +0 -41
- data/vendor/tests/tests/microformats-v2/h-event/ampm.json +0 -21
- data/vendor/tests/tests/microformats-v2/h-event/attendees.html +0 -13
- data/vendor/tests/tests/microformats-v2/h-event/attendees.json +0 -37
- data/vendor/tests/tests/microformats-v2/h-event/change-log.html +0 -82
- data/vendor/tests/tests/microformats-v2/h-event/combining.html +0 -13
- data/vendor/tests/tests/microformats-v2/h-event/combining.json +0 -25
- data/vendor/tests/tests/microformats-v2/h-event/concatenate.html +0 -8
- data/vendor/tests/tests/microformats-v2/h-event/concatenate.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-event/dates.html +0 -13
- data/vendor/tests/tests/microformats-v2/h-event/dates.json +0 -26
- data/vendor/tests/tests/microformats-v2/h-event/dt-property.html +0 -23
- data/vendor/tests/tests/microformats-v2/h-event/dt-property.json +0 -20
- data/vendor/tests/tests/microformats-v2/h-event/justahyperlink.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-event/justahyperlink.json +0 -11
- data/vendor/tests/tests/microformats-v2/h-event/justaname.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-event/justaname.json +0 -10
- data/vendor/tests/tests/microformats-v2/h-event/time.html +0 -47
- data/vendor/tests/tests/microformats-v2/h-event/time.json +0 -25
- data/vendor/tests/tests/microformats-v2/h-feed/implied-title.html +0 -30
- data/vendor/tests/tests/microformats-v2/h-feed/implied-title.json +0 -23
- data/vendor/tests/tests/microformats-v2/h-feed/simple.html +0 -26
- data/vendor/tests/tests/microformats-v2/h-feed/simple.json +0 -33
- data/vendor/tests/tests/microformats-v2/h-geo/abbrpattern.html +0 -5
- data/vendor/tests/tests/microformats-v2/h-geo/abbrpattern.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-geo/altitude.html +0 -8
- data/vendor/tests/tests/microformats-v2/h-geo/altitude.json +0 -13
- data/vendor/tests/tests/microformats-v2/h-geo/change-log.html +0 -67
- data/vendor/tests/tests/microformats-v2/h-geo/hidden.html +0 -10
- data/vendor/tests/tests/microformats-v2/h-geo/hidden.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-geo/justaname.html +0 -3
- data/vendor/tests/tests/microformats-v2/h-geo/justaname.json +0 -10
- data/vendor/tests/tests/microformats-v2/h-geo/simpleproperties.html +0 -5
- data/vendor/tests/tests/microformats-v2/h-geo/simpleproperties.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.html +0 -11
- data/vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-news/all.html +0 -35
- data/vendor/tests/tests/microformats-v2/h-news/all.json +0 -51
- data/vendor/tests/tests/microformats-v2/h-news/change-log.html +0 -78
- data/vendor/tests/tests/microformats-v2/h-news/minimum.html +0 -24
- data/vendor/tests/tests/microformats-v2/h-news/minimum.json +0 -40
- data/vendor/tests/tests/microformats-v2/h-org/change-log.html +0 -57
- data/vendor/tests/tests/microformats-v2/h-org/hyperlink.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-org/hyperlink.json +0 -11
- data/vendor/tests/tests/microformats-v2/h-org/simple.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-org/simple.json +0 -10
- data/vendor/tests/tests/microformats-v2/h-org/simpleproperties.html +0 -4
- data/vendor/tests/tests/microformats-v2/h-org/simpleproperties.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-product/aggregate.html +0 -21
- data/vendor/tests/tests/microformats-v2/h-product/aggregate.json +0 -45
- data/vendor/tests/tests/microformats-v2/h-product/change-log.html +0 -62
- data/vendor/tests/tests/microformats-v2/h-product/justahyperlink.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-product/justahyperlink.json +0 -11
- data/vendor/tests/tests/microformats-v2/h-product/justaname.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-product/justaname.json +0 -10
- data/vendor/tests/tests/microformats-v2/h-product/simpleproperties.html +0 -10
- data/vendor/tests/tests/microformats-v2/h-product/simpleproperties.json +0 -26
- data/vendor/tests/tests/microformats-v2/h-recipe/all.html +0 -63
- data/vendor/tests/tests/microformats-v2/h-recipe/all.json +0 -54
- data/vendor/tests/tests/microformats-v2/h-recipe/change-log.html +0 -62
- data/vendor/tests/tests/microformats-v2/h-recipe/minimum.html +0 -7
- data/vendor/tests/tests/microformats-v2/h-recipe/minimum.json +0 -17
- data/vendor/tests/tests/microformats-v2/h-resume/affiliation.html +0 -12
- data/vendor/tests/tests/microformats-v2/h-resume/affiliation.json +0 -20
- data/vendor/tests/tests/microformats-v2/h-resume/change-log.html +0 -78
- data/vendor/tests/tests/microformats-v2/h-resume/contact.html +0 -17
- data/vendor/tests/tests/microformats-v2/h-resume/contact.json +0 -26
- data/vendor/tests/tests/microformats-v2/h-resume/education.html +0 -13
- data/vendor/tests/tests/microformats-v2/h-resume/education.json +0 -30
- data/vendor/tests/tests/microformats-v2/h-resume/justaname.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-resume/justaname.json +0 -10
- data/vendor/tests/tests/microformats-v2/h-resume/skill.html +0 -12
- data/vendor/tests/tests/microformats-v2/h-resume/skill.json +0 -12
- data/vendor/tests/tests/microformats-v2/h-resume/work.html +0 -16
- data/vendor/tests/tests/microformats-v2/h-resume/work.json +0 -31
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/change-log.html +0 -78
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.html +0 -13
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.json +0 -23
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.html +0 -8
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.json +0 -19
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.html +0 -18
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.json +0 -26
- data/vendor/tests/tests/microformats-v2/h-review/change-log.html +0 -84
- data/vendor/tests/tests/microformats-v2/h-review/hyperlink.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-review/hyperlink.json +0 -11
- data/vendor/tests/tests/microformats-v2/h-review/implieditem.html +0 -4
- data/vendor/tests/tests/microformats-v2/h-review/implieditem.json +0 -19
- data/vendor/tests/tests/microformats-v2/h-review/item.html +0 -8
- data/vendor/tests/tests/microformats-v2/h-review/item.json +0 -20
- data/vendor/tests/tests/microformats-v2/h-review/justaname.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-review/justaname.json +0 -10
- data/vendor/tests/tests/microformats-v2/h-review/photo.html +0 -1
- data/vendor/tests/tests/microformats-v2/h-review/photo.json +0 -11
- data/vendor/tests/tests/microformats-v2/h-review/vcard.html +0 -23
- data/vendor/tests/tests/microformats-v2/h-review/vcard.json +0 -48
- data/vendor/tests/tests/microformats-v2/rel/change-log.html +0 -67
- data/vendor/tests/tests/microformats-v2/rel/duplicate-rels.html +0 -10
- data/vendor/tests/tests/microformats-v2/rel/duplicate-rels.json +0 -75
- data/vendor/tests/tests/microformats-v2/rel/license.html +0 -1
- data/vendor/tests/tests/microformats-v2/rel/license.json +0 -12
- data/vendor/tests/tests/microformats-v2/rel/nofollow.html +0 -1
- data/vendor/tests/tests/microformats-v2/rel/nofollow.json +0 -12
- data/vendor/tests/tests/microformats-v2/rel/rel-urls.html +0 -8
- data/vendor/tests/tests/microformats-v2/rel/rel-urls.json +0 -33
- data/vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.html +0 -4
- data/vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.json +0 -20
- data/vendor/tests/tests/microformats-v2/rel/xfn-all.html +0 -19
- data/vendor/tests/tests/microformats-v2/rel/xfn-all.json +0 -92
- data/vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.html +0 -10
- data/vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.json +0 -40
@@ -1,18 +0,0 @@
|
|
1
|
-
// http://microformats.org/wiki/microformats-2
|
2
|
-
{
|
3
|
-
"items": [{
|
4
|
-
"type": ["h-card"],
|
5
|
-
"properties": {
|
6
|
-
"name": ["Mitchell Baker"],
|
7
|
-
"url": ["http://blog.lizardwrangler.com/"],
|
8
|
-
"org": [{
|
9
|
-
"value": "Mozilla Foundation",
|
10
|
-
"type": ["h-card", "h-org"],
|
11
|
-
"properties": {
|
12
|
-
"name": ["Mozilla Foundation"],
|
13
|
-
"url": ["http://mozilla.org/"]
|
14
|
-
}
|
15
|
-
}]
|
16
|
-
}
|
17
|
-
}]
|
18
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
// http://microformats.org/wiki/microformats-2
|
2
|
-
{
|
3
|
-
"items": [{
|
4
|
-
"type": ["h-card"],
|
5
|
-
"properties": {
|
6
|
-
"name": ["Mitchell Baker"],
|
7
|
-
"url": ["http://blog.lizardwrangler.com/"]
|
8
|
-
},
|
9
|
-
"children": [{
|
10
|
-
"type": ["h-card","h-org"],
|
11
|
-
"properties": {
|
12
|
-
"name": ["Mozilla Foundation"],
|
13
|
-
"url": ["http://mozilla.org/"]
|
14
|
-
}
|
15
|
-
}]
|
16
|
-
}]
|
17
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
// http://microformats.org/wiki/microformats-2
|
2
|
-
{
|
3
|
-
"items": [{
|
4
|
-
"type": ["h-card"],
|
5
|
-
"properties": {
|
6
|
-
"name": ["Mitchell Baker"],
|
7
|
-
"url": ["http://blog.lizardwrangler.com/"]
|
8
|
-
},
|
9
|
-
"children": [{
|
10
|
-
"type": ["h-card"],
|
11
|
-
"properties": {
|
12
|
-
"name": ["Mozilla Foundation"],
|
13
|
-
"url": ["http://mozilla.org/"]
|
14
|
-
}
|
15
|
-
}]
|
16
|
-
}]
|
17
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<base href="http://example.org/">
|
4
|
-
<body>
|
5
|
-
<div class="h-card">
|
6
|
-
<a href="/" class="u-url p-name">
|
7
|
-
Jessica Lynn Suttles
|
8
|
-
</a>
|
9
|
-
<a href="" class="u-url">
|
10
|
-
@jlsuttles
|
11
|
-
</a>
|
12
|
-
<a href="http://twitter.com/jlsuttles" class="u-url">
|
13
|
-
@jlsuttles
|
14
|
-
</a>
|
15
|
-
<time class="dt-bday" datetime="1990-10-15">
|
16
|
-
October 15, 1990
|
17
|
-
</time>
|
18
|
-
<div class="e-content">
|
19
|
-
<p>Vegan. Cat lover. Coder.</p>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
</body>
|
23
|
-
</html>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
{ "items": [{
|
2
|
-
"type": ["h-card"],
|
3
|
-
"properties": {
|
4
|
-
"url": ["http://example.org/", "http://example.org/", "http://twitter.com/jlsuttles"],
|
5
|
-
"name": ["Jessica Lynn Suttles"],
|
6
|
-
"bday": ["1990-10-15"],
|
7
|
-
"content": [{
|
8
|
-
"value": "Vegan. Cat lover. Coder.",
|
9
|
-
"html": "\n <p>Vegan. Cat lover. Coder.</p>\n"
|
10
|
-
}]
|
11
|
-
}
|
12
|
-
}],
|
13
|
-
"rels": {},
|
14
|
-
"rel-urls": {}
|
15
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<base href="http://example.org/">
|
4
|
-
<body>
|
5
|
-
<div class="h-card">
|
6
|
-
<a href="/" class="u-url p-name">
|
7
|
-
Jessica Lynn Suttles
|
8
|
-
</a>
|
9
|
-
<a href="http://flickr.com" class="u-url" rel="">
|
10
|
-
@jlsuttles
|
11
|
-
</a>
|
12
|
-
<a href="http://twitter.com/jlsuttles" class="u-url" rel="me">
|
13
|
-
@jlsuttles
|
14
|
-
</a>
|
15
|
-
<time class="dt-bday" datetime="1990-10-15">
|
16
|
-
October 15, 1990
|
17
|
-
</time>
|
18
|
-
<div class="e-content">
|
19
|
-
<p>Vegan. Cat lover. Coder.</p>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
</body>
|
23
|
-
</html>
|
@@ -1,41 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"items": [
|
3
|
-
{
|
4
|
-
"type": [
|
5
|
-
"h-card"
|
6
|
-
],
|
7
|
-
"properties": {
|
8
|
-
"url": [
|
9
|
-
"http://example.org/",
|
10
|
-
"http://flickr.com",
|
11
|
-
"http://twitter.com/jlsuttles"
|
12
|
-
],
|
13
|
-
"name": [
|
14
|
-
"Jessica Lynn Suttles"
|
15
|
-
],
|
16
|
-
"bday": [
|
17
|
-
"1990-10-15"
|
18
|
-
],
|
19
|
-
"content": [
|
20
|
-
{
|
21
|
-
"value": "Vegan. Cat lover. Coder.",
|
22
|
-
"html": "\n <p>Vegan. Cat lover. Coder.</p>\n"
|
23
|
-
}
|
24
|
-
]
|
25
|
-
}
|
26
|
-
}
|
27
|
-
],
|
28
|
-
"rels": {
|
29
|
-
"me": [
|
30
|
-
"http://twitter.com/jlsuttles"
|
31
|
-
]
|
32
|
-
},
|
33
|
-
"rel-urls": {
|
34
|
-
"http://twitter.com/jlsuttles": {
|
35
|
-
"text": "@jlsuttles",
|
36
|
-
"rels": [
|
37
|
-
"me"
|
38
|
-
]
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<base href="http://example.org/">
|
4
|
-
<body>
|
5
|
-
<div class="h-card">
|
6
|
-
<img src="" class="u-photo" />
|
7
|
-
<a href="/" class="u-url p-name">
|
8
|
-
Jessica Lynn Suttles
|
9
|
-
</a>
|
10
|
-
<a href="http://flickr.com" class="u-url">
|
11
|
-
@jlsuttles
|
12
|
-
</a>
|
13
|
-
<a href="http://twitter.com/jlsuttles" class="u-url">
|
14
|
-
@jlsuttles
|
15
|
-
</a>
|
16
|
-
<time class="dt-bday" datetime="1990-10-15">
|
17
|
-
October 15, 1990
|
18
|
-
</time>
|
19
|
-
<div class="e-content">
|
20
|
-
<p>Vegan. Cat lover. Coder.</p>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</body>
|
24
|
-
</html>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{ "items": [{
|
2
|
-
"type": ["h-card"],
|
3
|
-
"properties": {
|
4
|
-
"photo": ["http://example.org/"],
|
5
|
-
"url": ["http://example.org/", "http://flickr.com", "http://twitter.com/jlsuttles"],
|
6
|
-
"name": ["Jessica Lynn Suttles"],
|
7
|
-
"bday": ["1990-10-15"],
|
8
|
-
"content": [{
|
9
|
-
"value": "Vegan. Cat lover. Coder.",
|
10
|
-
"html": "\n <p>Vegan. Cat lover. Coder.</p>\n"
|
11
|
-
}]
|
12
|
-
}
|
13
|
-
}],
|
14
|
-
"rels": {},
|
15
|
-
"rel-urls": {}
|
16
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<base href="http://example.org/index.html">
|
4
|
-
<body>
|
5
|
-
<div class="h-card">
|
6
|
-
<a href="/" class="u-url p-name">
|
7
|
-
Jessica Lynn Suttles
|
8
|
-
</a>
|
9
|
-
<a href="relative/page.html" class="u-url">
|
10
|
-
@jlsuttles
|
11
|
-
</a>
|
12
|
-
<a href="http://twitter.com/jlsuttles" class="u-url">
|
13
|
-
@jlsuttles
|
14
|
-
</a>
|
15
|
-
<a href="#fragment" class="u-url">
|
16
|
-
something on this page
|
17
|
-
</a>
|
18
|
-
<a href="#" class="u-url">
|
19
|
-
this page
|
20
|
-
</a>
|
21
|
-
<time class="dt-bday" datetime="1990-10-15">
|
22
|
-
October 15, 1990
|
23
|
-
</time>
|
24
|
-
<div class="e-content">
|
25
|
-
<p>Vegan. Cat lover. Coder.</p>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
</body>
|
29
|
-
</html>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
{ "items": [{
|
2
|
-
"type": ["h-card"],
|
3
|
-
"properties": {
|
4
|
-
"url": ["http://example.org/", "http://example.org/relative/page.html", "http://twitter.com/jlsuttles", "http://example.org/index.html#fragment", "http://example.org/index.html#" ],
|
5
|
-
"name": ["Jessica Lynn Suttles"],
|
6
|
-
"bday": ["1990-10-15"],
|
7
|
-
"content": [{
|
8
|
-
"value": "Vegan. Cat lover. Coder.",
|
9
|
-
"html": "\n <p>Vegan. Cat lover. Coder.</p>\n"
|
10
|
-
}]
|
11
|
-
}
|
12
|
-
}],
|
13
|
-
"rels": {},
|
14
|
-
"rel-urls": {}
|
15
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<base href="http://example.org/">
|
4
|
-
<body>
|
5
|
-
<div class="h-event">
|
6
|
-
<span class="e-summary">HomebrewWebsiteClub Berlin</span> will be next on
|
7
|
-
<span class="dt-start">
|
8
|
-
<span class="value">2017-05-31</span>, from
|
9
|
-
<span class="value">19:00</span> (UTC<span class="value">+02:00</span>)
|
10
|
-
</span> to <span class="dt-end">21:00</span>.
|
11
|
-
</div>
|
12
|
-
</body>
|
13
|
-
</html>
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"items": [
|
3
|
-
{
|
4
|
-
"type": [
|
5
|
-
"h-event"
|
6
|
-
],
|
7
|
-
"properties": {
|
8
|
-
"summary": [
|
9
|
-
{
|
10
|
-
"value": "HomebrewWebsiteClub Berlin",
|
11
|
-
"html": "HomebrewWebsiteClub Berlin"
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"start": [
|
15
|
-
"2017-05-31 19:00+0200"
|
16
|
-
],
|
17
|
-
"end": [
|
18
|
-
"2017-05-31 21:00"
|
19
|
-
],
|
20
|
-
"name": [
|
21
|
-
"HomebrewWebsiteClub Berlin will be next on \n \n 2017-05-31, from\n 19:00 (UTC+02:00)\n to 21:00."
|
22
|
-
]
|
23
|
-
}
|
24
|
-
}
|
25
|
-
],
|
26
|
-
"rels": {
|
27
|
-
},
|
28
|
-
"rel-urls": {
|
29
|
-
}
|
30
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<base href="http://example.org/">
|
4
|
-
<body>
|
5
|
-
<div class="h-card">
|
6
|
-
<a href="/" class="u-url p-name">
|
7
|
-
Jessica Lynn Suttles
|
8
|
-
</a>
|
9
|
-
<a href="" class="u-url">
|
10
|
-
@jlsuttles
|
11
|
-
</a>
|
12
|
-
<a href="http://twitter.com/jlsuttles" class="u-url">
|
13
|
-
@jlsuttles
|
14
|
-
</a>
|
15
|
-
<time class="dt-bday" datetime="1990-10-15">
|
16
|
-
October 15, 1990
|
17
|
-
</time>
|
18
|
-
<div class="e-content">
|
19
|
-
<p>Vegan. Cat lover. Coder.</p>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
</body>
|
23
|
-
</html>
|
@@ -1,11 +0,0 @@
|
|
1
|
-
{ "items": [{
|
2
|
-
"type": ["h-card"],
|
3
|
-
"properties": {
|
4
|
-
"url": ["http://example.org/", "", "http://twitter.com/jlsuttles"],
|
5
|
-
"name": ["Jessica Lynn Suttles"],
|
6
|
-
"bday": ["1990-10-15"],
|
7
|
-
"content": ["<p>Vegan. Cat lover. Coder.</p>"]
|
8
|
-
}
|
9
|
-
}],
|
10
|
-
"rels": {}
|
11
|
-
}
|
@@ -1,60 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<body>
|
4
|
-
|
5
|
-
<div class="h-card">
|
6
|
-
<img alt="Jessica">
|
7
|
-
<img alt="Shane">
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="h-card">
|
11
|
-
<abbr title="Jessica" />
|
12
|
-
<abbr title="Shane" />
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="h-card">
|
16
|
-
<div>
|
17
|
-
<img alt="Jessica">
|
18
|
-
<img alt="Shane">
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
|
22
|
-
<div class="h-card">
|
23
|
-
<div></div>
|
24
|
-
<div>
|
25
|
-
<img alt="Jessica">
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<div class="h-card">
|
30
|
-
<div>
|
31
|
-
<abbr title="Jessica" />
|
32
|
-
<abbr title="Shane" />
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div class="h-card">
|
37
|
-
<div></div>
|
38
|
-
<div>
|
39
|
-
<abbr title="Jessica" />
|
40
|
-
</div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div class="h-card">
|
44
|
-
<div>
|
45
|
-
<div>
|
46
|
-
<img alt="Jessica">
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
<div class="h-card">
|
52
|
-
<div>
|
53
|
-
<div>
|
54
|
-
<abbr title="Jessica" />
|
55
|
-
</div>
|
56
|
-
</div>
|
57
|
-
</div>
|
58
|
-
|
59
|
-
</body>
|
60
|
-
</html>
|