[bridges] Fix all calls from 'message' to 'debugMessage'

This commit is contained in:
logmanoriginal 2016-08-24 20:19:30 +02:00
parent 8252387386
commit 5a7bc9b0c3
5 changed files with 17 additions and 17 deletions

View file

@ -21,14 +21,14 @@ class FreenewsBridge extends RssExpander {
protected function parseRSSItem($newsItem) {
$item = array();
$item['title'] = trim($newsItem->title);
$this->message("item has for title \"".$item['title']."\"");
$this->debugMessage("item has for title \"".$item['title']."\"");
if(empty($newsItem->guid)) {
$item['uri'] = (string) $newsItem->link;
} else {
$item['uri'] = (string) $newsItem->guid;
}
// now load that uri from cache
$this->message("now loading page ".$item['uri']);
$this->debugMessage("now loading page ".$item['uri']);
$articlePage = str_get_html($this->get_cached($item['uri']));
$content = $articlePage->find('.post-container', 0);