Skip to content

Commit 86f8e86

Browse files
authored
Merge pull request #199 from JanPetterMG/patch-1
Added more feed types
2 parents 3dd942a + 799ae08 commit 86f8e86

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Providers/Html.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,11 @@ private function extractLinks(DOMDocument $html)
251251

252252
case 'alternate':
253253
switch ($link->getAttribute('type')) {
254-
case 'application/rss+xml':
255254
case 'application/atom+xml':
255+
case 'application/rdf+xml':
256+
case 'application/rss+xml':
257+
case 'application/xml':
258+
case 'text/xml':
256259
$this->bag->add('feeds', $href);
257260
break;
258261
}

0 commit comments

Comments
 (0)