fix atom:link not supported in rss feeds (fucking fuck)
This commit is contained in:
parent
d1f3fa9791
commit
f7d64d03fc
|
@ -24,6 +24,13 @@ class FeedItem_RSS extends FeedItem_Common {
|
|||
if ($link) {
|
||||
return $link->nodeValue;
|
||||
}
|
||||
|
||||
$link = $this->xpath->query("atom:link", $this->elem)->item(0);
|
||||
|
||||
if ($link) {
|
||||
return $link->nodeValue;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function get_title() {
|
||||
|
|
Loading…
Reference in New Issue