From ff822639f30c600f5d489f546c371343bb3b766f Mon Sep 17 00:00:00 2001 From: Kevin Marks Date: Wed, 27 May 2015 01:32:40 -0700 Subject: [PATCH] correct rel parsing results alternate must be a relative url in this case as we have no base. --- tests/microformats-v2/rel=alternate/alternate.json | 2 +- tests/microformats-v2/rel=license/license.json | 2 +- tests/microformats-v2/rel=nofollow/nofollow.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/microformats-v2/rel=alternate/alternate.json b/tests/microformats-v2/rel=alternate/alternate.json index ebf3467..85f5adb 100644 --- a/tests/microformats-v2/rel=alternate/alternate.json +++ b/tests/microformats-v2/rel=alternate/alternate.json @@ -2,7 +2,7 @@ "items": [], "rels": {}, "alternates": [{ - "url": "http://tantek.com/updates.atom", + "url": "updates.atom", "type": "application/atom+xml", "rel": "updates" }] diff --git a/tests/microformats-v2/rel=license/license.json b/tests/microformats-v2/rel=license/license.json index 4bfd42e..2760eb2 100644 --- a/tests/microformats-v2/rel=license/license.json +++ b/tests/microformats-v2/rel=license/license.json @@ -1,4 +1,4 @@ { "items": [], - "rels": {} + "rels": {'license': ['http://creativecommons.org/licenses/by/2.5/']} } \ No newline at end of file diff --git a/tests/microformats-v2/rel=nofollow/nofollow.json b/tests/microformats-v2/rel=nofollow/nofollow.json index 4bfd42e..8bb9b9b 100644 --- a/tests/microformats-v2/rel=nofollow/nofollow.json +++ b/tests/microformats-v2/rel=nofollow/nofollow.json @@ -1,4 +1,4 @@ { "items": [], - "rels": {} + "rels": {'nofollow': ['http://microformats.org/wiki/microformats:copyrights']} } \ No newline at end of file