From 54fbef1610d1c2ecb48fb149602e3b88f80747df Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 5 Mar 2020 21:34:40 +0100 Subject: Support web linking in rss feed (atom:link) --- src/phinde/HubUrlExtractor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/phinde/HubUrlExtractor.php') diff --git a/src/phinde/HubUrlExtractor.php b/src/phinde/HubUrlExtractor.php index b33abfe..a7f38a0 100644 --- a/src/phinde/HubUrlExtractor.php +++ b/src/phinde/HubUrlExtractor.php @@ -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]' -- cgit v1.2.3