From 8a95d630a9183bf2c7b79f9e1f015eec328d8804 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 1 May 2013 22:05:59 +0400 Subject: fix rss content:encoded not used --- classes/feeditem/rss.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'classes/feeditem') 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() { -- cgit v1.2.3-54-g00ecf