mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
Merge branch 'methods2functions' of https://framagit.org/peetah/rss-bridge
This commit is contained in:
commit
970e216c1f
114 changed files with 899 additions and 904 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue