microformats 4.0.7 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.editorconfig +10 -0
- data/.gitignore +33 -15
- data/.rspec +3 -2
- data/.rubocop +3 -0
- data/.rubocop.yml +22 -0
- data/.ruby-version +1 -0
- data/.simplecov +11 -0
- data/.travis.yml +17 -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 +39 -39
- 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 +124 -451
- 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 +0,0 @@
|
|
1
|
-
<a class="h-review" href="https://plus.google.com/116941523817079328322/about">Crepes on Cole</a>
|
@@ -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
|
-
"name": ["Crepes on Cole"],
|
10
|
-
"url": ["http://example.com/crepeoncole"]
|
11
|
-
}
|
12
|
-
}],
|
13
|
-
"rating": ["4.7"],
|
14
|
-
"name": ["Crepes on Cole\n 4.7 out of 5 stars"]
|
15
|
-
}
|
16
|
-
}],
|
17
|
-
"rels": {},
|
18
|
-
"rel-urls": {}
|
19
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
<base href="http://example.com" >
|
2
|
-
<div class="h-review">
|
3
|
-
<p class="p-item h-item">
|
4
|
-
<img class="u-photo" src="images/photo.gif" />
|
5
|
-
<a class="p-name u-url" href="http://example.com/crepeoncole">Crepes on Cole</a>
|
6
|
-
</p>
|
7
|
-
<p><span class="p-rating">5</span> out of 5 stars</p>
|
8
|
-
</div>
|
@@ -1,20 +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
|
-
"name": ["Crepes on Cole\n \n 5 out of 5 stars"]
|
16
|
-
}
|
17
|
-
}],
|
18
|
-
"rels": {},
|
19
|
-
"rel-urls": {}
|
20
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
<p class="h-review">Crepes on Cole</p>
|
@@ -1 +0,0 @@
|
|
1
|
-
<base href="http://example.com" ><img class="h-review" src="images/photo.gif" alt="Crepes on Cole" />
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<div class="h-review">
|
2
|
-
<span><span class="p-rating">5</span> out of 5 stars</span>
|
3
|
-
<h4 class="p-name">Crepes on Cole is awesome</h4>
|
4
|
-
<span class="p-reviewer h-card">
|
5
|
-
Reviewer: <span class="p-name">Tantek</span> -
|
6
|
-
</span>
|
7
|
-
<time class="dt-reviewed" datetime="2005-04-18">April 18, 2005</time>
|
8
|
-
<div class="e-description">
|
9
|
-
<p class="p-item h-card">
|
10
|
-
<span class="p-name p-org">Crepes on Cole</span> is one of the best little
|
11
|
-
creperies in <span class="p-adr h-adr"><span class="p-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 class="p-category" href="http://en.wikipedia.org/wiki/crepe">crepe</a></p>
|
21
|
-
<p>Permanent link for review: <a class="u-url" 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,48 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"items": [{
|
3
|
-
"type": ["h-review"],
|
4
|
-
"properties": {
|
5
|
-
"rating": ["5"],
|
6
|
-
"name": ["Crepes on Cole is awesome"],
|
7
|
-
"reviewer": [{
|
8
|
-
"value": "Tantek",
|
9
|
-
"type": ["h-card"],
|
10
|
-
"properties": {
|
11
|
-
"name": ["Tantek"]
|
12
|
-
}
|
13
|
-
}],
|
14
|
-
"reviewed": ["2005-04-18"],
|
15
|
-
"description": [{
|
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=\"p-item h-card\">\n <span class=\"p-name p-org\">Crepes on Cole</span> is one of the best little \n creperies in <span class=\"p-adr h-adr\"><span class=\"p-locality\">San Francisco</span></span>.\n Excellent food and service. Plenty of tables in a variety of sizes \n for parties large and small. Window seating makes for excellent \n people watching to/from the N-Judah which stops right outside. \n I've had many fun social gatherings here, as well as gotten \n plenty of work done thanks to neighborhood WiFi.\n </p>\n"
|
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
|
-
"name": ["San Francisco"]
|
31
|
-
}
|
32
|
-
}]
|
33
|
-
}
|
34
|
-
}],
|
35
|
-
"category": ["crepe"],
|
36
|
-
"url": ["http://example.com/crepe"]
|
37
|
-
}
|
38
|
-
}],
|
39
|
-
"rels": {
|
40
|
-
"license": ["http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License"]
|
41
|
-
},
|
42
|
-
"rel-urls": {
|
43
|
-
"http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License": {
|
44
|
-
"text": "Creative Commons Attribution-ShareAlike License",
|
45
|
-
"rels": ["license"]
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
@@ -1,67 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8" />
|
5
|
-
<title>rel=license 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">rel=license</span> parsing tests ‐ change logs</h1>
|
17
|
-
|
18
|
-
<p class="p-description">The files in this directory where designed to test the parsing of rel=* and xfn. </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">Added new rel-urls test, taken from wiki mf2 parsing page</span> ‐
|
26
|
-
<time class="dt-published" datetime="2015-06-21">1 June 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">Fixed empty JSON structure</span> ‐
|
31
|
-
<time class="dt-published" datetime="2015-05-21">21 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> ‐
|
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> ‐
|
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">Created</span> ‐
|
46
|
-
<time class="dt-published" datetime="2013-01-11">11 January 2013</time>
|
47
|
-
by <span class="p-author">Glenn Jones</span>
|
48
|
-
</li>
|
49
|
-
</ul>
|
50
|
-
|
51
|
-
|
52
|
-
<h2>Contributors:</h2>
|
53
|
-
<ul>
|
54
|
-
<!-- If you Contribute to the test please add yourself as an author using p-author h-card -->
|
55
|
-
<li class="p-author h-card">
|
56
|
-
<a class="u-url p-name" rel="author" href="http://www.glennjones.net/">Glenn Jones</a>
|
57
|
-
</li>
|
58
|
-
</ul>
|
59
|
-
|
60
|
-
|
61
|
-
<footer>
|
62
|
-
All content and code is released into the <a href="http://en.wikipedia.org/wiki/public_domain">public domain</a>
|
63
|
-
</footer>
|
64
|
-
|
65
|
-
</body>
|
66
|
-
|
67
|
-
</html>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<a href="http://ma.tt/2015/05/beethoven-mozart-bach/"
|
2
|
-
title="Permalink to Beethoven, Mozart, Bach" rel="bookmark">
|
3
|
-
<time class="entry-date" datetime="2015-05-31T22:42:00+00:00">May 31, 2015</time></a></span>
|
4
|
-
<a href="http://ma.tt/category/asides/" rel="category tag">Asides</a>
|
5
|
-
<span class="author vcard">
|
6
|
-
<a class="url fn n" href="http://ma.tt/author/saxmatt/"
|
7
|
-
title="View all posts by Matt" rel="author">Matt</a></span>
|
8
|
-
<span class="date"><a href="http://ma.tt/2015/06/jefferson-on-idleness/" title="Permalink to Jefferson on Idleness" rel="bookmark"><time class="entry-date" datetime="2015-06-02T21:26:00+00:00">June 2, 2015</time></a></span>
|
9
|
-
<span class="categories-links"><a href="http://ma.tt/category/asides/" rel="category tag">Asides</a></span>
|
10
|
-
<span class="author vcard"><a class="url fn n" href="http://ma.tt/author/saxmatt/" title="View all posts by Matt" rel="author">Matt</a></span>
|
@@ -1,75 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"rels": {
|
3
|
-
"bookmark": [
|
4
|
-
"http://ma.tt/2015/05/beethoven-mozart-bach/",
|
5
|
-
"http://ma.tt/2015/06/jefferson-on-idleness/"
|
6
|
-
],
|
7
|
-
"category": [
|
8
|
-
"http://ma.tt/category/asides/"
|
9
|
-
],
|
10
|
-
"tag": [
|
11
|
-
"http://ma.tt/category/asides/"
|
12
|
-
],
|
13
|
-
"author": [
|
14
|
-
"http://ma.tt/author/saxmatt/"
|
15
|
-
]
|
16
|
-
},
|
17
|
-
"items": [
|
18
|
-
{
|
19
|
-
"type": [
|
20
|
-
"h-card"
|
21
|
-
],
|
22
|
-
"properties": {
|
23
|
-
"url": [
|
24
|
-
"http://ma.tt/author/saxmatt/"
|
25
|
-
],
|
26
|
-
"name": [
|
27
|
-
"Matt"
|
28
|
-
]
|
29
|
-
}
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"type": [
|
33
|
-
"h-card"
|
34
|
-
],
|
35
|
-
"properties": {
|
36
|
-
"url": [
|
37
|
-
"http://ma.tt/author/saxmatt/"
|
38
|
-
],
|
39
|
-
"name": [
|
40
|
-
"Matt"
|
41
|
-
]
|
42
|
-
}
|
43
|
-
}
|
44
|
-
],
|
45
|
-
"rel-urls": {
|
46
|
-
"http://ma.tt/category/asides/": {
|
47
|
-
"rels": [
|
48
|
-
"category",
|
49
|
-
"tag"
|
50
|
-
],
|
51
|
-
"text": "Asides"
|
52
|
-
},
|
53
|
-
"http://ma.tt/author/saxmatt/": {
|
54
|
-
"rels": [
|
55
|
-
"author"
|
56
|
-
],
|
57
|
-
"text": "Matt",
|
58
|
-
"title": "View all posts by Matt"
|
59
|
-
},
|
60
|
-
"http://ma.tt/2015/05/beethoven-mozart-bach/": {
|
61
|
-
"rels": [
|
62
|
-
"bookmark"
|
63
|
-
],
|
64
|
-
"text": "May 31, 2015",
|
65
|
-
"title": "Permalink to Beethoven, Mozart, Bach"
|
66
|
-
},
|
67
|
-
"http://ma.tt/2015/06/jefferson-on-idleness/": {
|
68
|
-
"rels": [
|
69
|
-
"bookmark"
|
70
|
-
],
|
71
|
-
"text": "June 2, 2015",
|
72
|
-
"title": "Permalink to Jefferson on Idleness"
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
<a rel="license" href="http://creativecommons.org/licenses/by/2.5/">cc by 2.5</a>
|
@@ -1 +0,0 @@
|
|
1
|
-
<a rel="nofollow" href="http://microformats.org/wiki/microformats:copyrights">Copyrights</a>
|
@@ -1,8 +0,0 @@
|
|
1
|
-
<a rel="author" href="http://example.com/a">author a</a>
|
2
|
-
<a rel="author" href="http://example.com/b">author b</a>
|
3
|
-
<a rel="in-reply-to" href="http://example.com/1">post 1</a>
|
4
|
-
<a rel="in-reply-to" href="http://example.com/2">post 2</a>
|
5
|
-
<a rel="alternate home"
|
6
|
-
href="http://example.com/fr"
|
7
|
-
media="handheld"
|
8
|
-
hreflang="fr">French mobile homepage</a>
|
@@ -1,33 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"items": [],
|
3
|
-
"rels": {
|
4
|
-
"author": [ "http://example.com/a", "http://example.com/b" ],
|
5
|
-
"in-reply-to": [ "http://example.com/1", "http://example.com/2" ],
|
6
|
-
"home": [ "http://example.com/fr" ],
|
7
|
-
"alternate": [ "http://example.com/fr" ]
|
8
|
-
},
|
9
|
-
"rel-urls": {
|
10
|
-
"http://example.com/a": {
|
11
|
-
"rels": ["author"],
|
12
|
-
"text": "author a"
|
13
|
-
},
|
14
|
-
"http://example.com/b": {
|
15
|
-
"rels": ["author"],
|
16
|
-
"text": "author b"
|
17
|
-
},
|
18
|
-
"http://example.com/1": {
|
19
|
-
"rels": ["in-reply-to"],
|
20
|
-
"text": "post 1"
|
21
|
-
},
|
22
|
-
"http://example.com/2": {
|
23
|
-
"rels": ["in-reply-to"],
|
24
|
-
"text": "post 2"
|
25
|
-
},
|
26
|
-
"http://example.com/fr": {
|
27
|
-
"rels": ["alternate", "home"],
|
28
|
-
"media": "handheld",
|
29
|
-
"hreflang": "fr",
|
30
|
-
"text": "French mobile homepage"
|
31
|
-
}
|
32
|
-
}
|
33
|
-
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
This is a contrived example - not found links like this in the wild:
|
2
|
-
<a href="http://ma.tt/category/asides/" rel="category tag">Asides</a>
|
3
|
-
<a href="http://ma.tt/category/asides/" rel="category tag">B-sides</a>
|
4
|
-
<a href="http://ma.tt/category/asides/" rel="category tag">seasides</a>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"rels": {
|
3
|
-
"category": [
|
4
|
-
"http://ma.tt/category/asides/"
|
5
|
-
],
|
6
|
-
"tag": [
|
7
|
-
"http://ma.tt/category/asides/"
|
8
|
-
]
|
9
|
-
},
|
10
|
-
"items": [],
|
11
|
-
"rel-urls": {
|
12
|
-
"http://ma.tt/category/asides/": {
|
13
|
-
"rels": [
|
14
|
-
"category",
|
15
|
-
"tag"
|
16
|
-
],
|
17
|
-
"text": "Asides"
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|