Support web linking in rss feed (atom:link)
[phinde.git] / src / phinde / HubUrlExtractor.php
index b33abfe04deca6a3c1d8a380d285fc2d6017993c..a7f38a0461be0a2102b25b01dcef3c35cf8e5331 100644 (file)
@@ -77,7 +77,7 @@ class HubUrlExtractor
             $tagQuery = '/atom:feed/atom:link[';
 
         } else if ($type === 'application/rss+xml') {
-            $tagQuery = '/rss/channel/link[';
+            $tagQuery = '/rss/channel/*[(self::link or self::atom:link) and ';
 
         } else {
             $tagQuery = '/*[self::html or self::h:html]'