From 6730e13df15d4289327379aa7616febe9debd16e Mon Sep 17 00:00:00 2001 From: Reinhold Fuereder Date: Wed, 3 Jan 2018 11:33:50 +0000 Subject: [PATCH 1/3] Merged 'origin/support-atom-feed' --- linkcheck/checker/urlbase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linkcheck/checker/urlbase.py b/linkcheck/checker/urlbase.py index 929cca071..e30f7ab5e 100644 --- a/linkcheck/checker/urlbase.py +++ b/linkcheck/checker/urlbase.py @@ -90,6 +90,8 @@ class UrlBase (object): # It does not harm other URL schemes like HTTP since HTTP servers # should not send this content type. They send text/html instead. "application/x-httpd-php": "html", + # Support Atom web feeds. + "application/atom+xml": "html", "text/css": "css", "application/x-shockwave-flash": "swf", "application/msword": "word", From 1fd20c8ca0d7d8ea800ea631e4266851029ff156 Mon Sep 17 00:00:00 2001 From: Reinhold Fuereder Date: Wed, 3 Jan 2018 11:36:26 +0000 Subject: [PATCH 2/3] Merged 'origin/issue-115-fix-version-warning' --- linkcheck/configuration/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkcheck/configuration/__init__.py b/linkcheck/configuration/__init__.py index 87141dc6d..c841ba27b 100644 --- a/linkcheck/configuration/__init__.py +++ b/linkcheck/configuration/__init__.py @@ -403,7 +403,7 @@ def make_userdir(child): # Windows forbids filenames with leading dot unless # a trailing dot is added. userdir += "." - os.mkdir(userdir, 0700) + os.makedirs(userdir, 0700) def get_user_config(): From 583551e6f3c86c6f9c860940caca6a916d3f85bb Mon Sep 17 00:00:00 2001 From: Reinhold Fuereder Date: Wed, 3 Jan 2018 11:33:50 +0000 Subject: [PATCH 3/3] Merged 'origin/support-atom-feed' --- linkcheck/checker/urlbase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linkcheck/checker/urlbase.py b/linkcheck/checker/urlbase.py index 929cca071..e30f7ab5e 100644 --- a/linkcheck/checker/urlbase.py +++ b/linkcheck/checker/urlbase.py @@ -90,6 +90,8 @@ class UrlBase (object): # It does not harm other URL schemes like HTTP since HTTP servers # should not send this content type. They send text/html instead. "application/x-httpd-php": "html", + # Support Atom web feeds. + "application/atom+xml": "html", "text/css": "css", "application/x-shockwave-flash": "swf", "application/msword": "word",