summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 60c3fe59a..4e9796147 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -1779,7 +1779,7 @@
$doc->loadHTML($content);
$xpath = new DOMXPath($doc);
$entries = $xpath->query('/html/head/link[@rel="alternate" and '.
- '(contains(@type,"rss") or contains(@type,"atom"))]|/html/head/link[@rel="feed" or @rel="alternate feed"]');
+ '(contains(@type,"rss") or contains(@type,"atom"))]|/html/head/link[@rel="feed"]');
$feedUrls = array();
foreach ($entries as $entry) {
if ($entry->hasAttribute('href')) {