mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-17 22:02:09 +02:00
Merge branch 'methods2functions' of https://framagit.org/peetah/rss-bridge
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user