Merge branch 'methods2functions' of https://framagit.org/peetah/rss-bridge

This commit is contained in:
logmanoriginal 2016-10-02 16:05:58 +02:00
commit 970e216c1f
114 changed files with 899 additions and 904 deletions

View file

@ -43,8 +43,8 @@ class JapanExpoBridge extends BridgeAbstract {
}
};
$html = $this->getSimpleHTMLDOM(self::URI)
or $this->returnServerError('Could not request JapanExpo: '.self::URI);
$html = getSimpleHTMLDOM(self::URI)
or returnServerError('Could not request JapanExpo: '.self::URI);
$fullcontent = $this->getInput('mode');
$count = 0;
@ -61,7 +61,7 @@ class JapanExpoBridge extends BridgeAbstract {
break;
}
$article_html = $this->getSimpleHTMLDOMCached('Could not request JapanExpo: '.$url);
$article_html = getSimpleHTMLDOMCached('Could not request JapanExpo: '.$url);
$header = $article_html->find('header.pageHeadBox', 0);
$timestamp = strtotime($header->find('time', 0)->datetime);
$title_html = $header->find('div.section', 0)->next_sibling();