mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 10:34:55 +02:00
[bridges] Fix all calls from 'message' to 'debugMessage'
This commit is contained in:
parent
8252387386
commit
5a7bc9b0c3
5 changed files with 17 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue