]> git.wh0rd.org - tt-rss.git/commitdiff
simplepie: import entry content when possible, not just description (closes #192)
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 20 Feb 2008 05:43:41 +0000 (06:43 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 20 Feb 2008 05:43:41 +0000 (06:43 +0100)
functions.php

index 05ba701af7acbb89360caca6eb3571d35b6ad71d..591819adf2a152c1ae4e644fce0b94dc4f60d5f3 100644 (file)
                                $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"];