diff options
author | Friendika <info@friendika.com> | 2011-01-30 19:38:03 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-30 19:38:03 -0800 |
commit | 3eefe8b50003c858d4930c03cc06d2679a14347c (patch) | |
tree | de65f34172a862f7f720ce7e2cc922a6b9f07a31 /include | |
parent | a598f17e6d95d8a82df2994d61bfab74271dfe58 (diff) | |
download | volse-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')
-rw-r--r-- | include/items.php | 4 | ||||
-rw-r--r-- | include/poller.php | 3 |
2 files changed, 7 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 = ''; diff --git a/include/poller.php b/include/poller.php index 0dbc6f583..4567a5cfc 100644 --- a/include/poller.php +++ b/include/poller.php @@ -58,6 +58,9 @@ function poller_run($argv, $argc){ foreach($contacts as $contact) { + if($manual_id) + $contact['last-update'] = '0000-00-00 00:00:00'; + if($contact['priority'] || $contact['subhub']) { $hub_update = true; |