1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:45:56 +00:00

fix rss content:encoded not used

This commit is contained in:
Andrew Dolgov
2013-05-01 22:05:59 +04:00
parent b4d1690097
commit 8a95d630a9
2 changed files with 8 additions and 0 deletions

View File

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