diff options
author | Andrew Dolgov <[email protected]> | 2013-05-01 22:05:59 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-01 22:05:59 +0400 |
commit | 8a95d630a9183bf2c7b79f9e1f015eec328d8804 (patch) | |
tree | 84bfd5560fb0a7b00a41b52171b41098793a0827 /classes/feeditem | |
parent | b4d1690097946bdf89dc88f218e7790126f4fd3b (diff) |
fix rss content:encoded not used
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 29c8cb6b4..5b43d0e8c 100644 --- a/classes/feeditem/rss.php +++ b/classes/feeditem/rss.php @@ -40,6 +40,13 @@ class FeedItem_RSS extends FeedItem_Common { if ($content) { return $content->nodeValue; } + + $content = $this->xpath->query("content:encoded", $this->elem)->item(0); + + if ($content) { + return $content->nodeValue; + } + } function get_description() { |