From: Andrew Dolgov Date: Wed, 20 Feb 2008 05:43:41 +0000 (+0100) Subject: simplepie: import entry content when possible, not just description (closes #192) X-Git-Tag: 1.2.20~20 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4af7a36aa7ccb72aa6f78fdb799d8b8eef0b358b;p=tt-rss.git simplepie: import entry content when possible, not just description (closes #192) --- diff --git a/functions.php b/functions.php index 05ba701a..591819ad 100644 --- a/functions.php +++ b/functions.php @@ -848,7 +848,8 @@ $entry_link = strip_tags($entry_link); if ($use_simplepie) { - $entry_content = $item->get_description(); + $entry_content = $item->get_content(); + if (!$entry_content) $entry_content = $item->get_description(); } else { $entry_content = $item["content:escaped"];