summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-02-20 06:43:41 +0100
committerAndrew Dolgov <[email protected]>2008-02-20 06:43:41 +0100
commit4af7a36aa7ccb72aa6f78fdb799d8b8eef0b358b (patch)
treec9ad0742b0687227ea5e57a3208bd5945ce224d1 /functions.php
parentaf9964d3b93e59715fb9794898ec1e7a437a86dc (diff)
simplepie: import entry content when possible, not just description (closes #192)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 05ba701af..591819adf 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"];