aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-30 19:38:03 -0800
committerFriendika <info@friendika.com>2011-01-30 19:38:03 -0800
commit3eefe8b50003c858d4930c03cc06d2679a14347c (patch)
treede65f34172a862f7f720ce7e2cc922a6b9f07a31 /include/items.php
parenta598f17e6d95d8a82df2994d61bfab74271dfe58 (diff)
downloadvolse-hubzilla-3eefe8b50003c858d4930c03cc06d2679a14347c.tar.gz
volse-hubzilla-3eefe8b50003c858d4930c03cc06d2679a14347c.tar.bz2
volse-hubzilla-3eefe8b50003c858d4930c03cc06d2679a14347c.zip
more ssl_policy cleanup, allow manual feed update per contact when hub is whacked, log feed parse errors
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index e238280fc..a5991d663 100644
--- a/include/items.php
+++ b/include/items.php
@@ -903,6 +903,10 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
$feed->enable_order_by_date(false);
$feed->init();
+ if($feed->error())
+ logger('consume_feed: Error parsing XML: ' . $feed->error());
+
+
// Check at the feed level for updated contact name and/or photo
$name_updated = '';