From 799ae08296e60408b27e052ee5170db80475b759 Mon Sep 17 00:00:00 2001 From: Jan-Petter Gundersen Date: Sat, 25 Mar 2017 19:37:56 +0100 Subject: [PATCH] Added more feed types Added more feed types. --- src/Providers/Html.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Providers/Html.php b/src/Providers/Html.php index 8354ccbf..d4b730a3 100644 --- a/src/Providers/Html.php +++ b/src/Providers/Html.php @@ -251,8 +251,11 @@ private function extractLinks(DOMDocument $html) case 'alternate': switch ($link->getAttribute('type')) { - case 'application/rss+xml': case 'application/atom+xml': + case 'application/rdf+xml': + case 'application/rss+xml': + case 'application/xml': + case 'text/xml': $this->bag->add('feeds', $href); break; }