fix atom:link not supported in rss feeds (fucking fuck)

This commit is contained in:
Andrew Dolgov 2013-05-17 22:50:38 +04:00
parent d1f3fa9791
commit f7d64d03fc
1 changed files with 7 additions and 0 deletions

View File

@ -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() {