git.cweiske.de
/
phinde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support web linking in rss feed (atom:link)
[phinde.git]
/
src
/
phinde
/
HubUrlExtractor.php
diff --git
a/src/phinde/HubUrlExtractor.php
b/src/phinde/HubUrlExtractor.php
index b33abfe04deca6a3c1d8a380d285fc2d6017993c..a7f38a0461be0a2102b25b01dcef3c35cf8e5331 100644
(file)
--- 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 = '/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]'
} else {
$tagQuery = '/*[self::html or self::h:html]'