diff options
author | Andrew Dolgov <[email protected]> | 2013-05-17 22:50:38 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-17 22:50:38 +0400 |
commit | f7d64d03fc36c4c238e3ea699054a8fdef5597fe (patch) | |
tree | 8f9b1126932092fca80f865d9497bc0e715238d4 /classes/feeditem | |
parent | d1f3fa9791a48de4991e8eae9e9939afd0316be3 (diff) |
fix atom:link not supported in rss feeds (fucking fuck)
Diffstat (limited to 'classes/feeditem')
-rw-r--r-- | classes/feeditem/rss.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/feeditem/rss.php b/classes/feeditem/rss.php index 2f363b4f6..93aa5ea8a 100644 --- a/classes/feeditem/rss.php +++ b/classes/feeditem/rss.php @@ -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() { |