mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-16 21:44:01 +02:00
Merge branch 'methods2functions' of https://framagit.org/peetah/rss-bridge
This commit is contained in:
@@ -8,8 +8,8 @@ class MondeDiploBridge extends BridgeAbstract{
|
||||
const DESCRIPTION = "Returns most recent results from MondeDiplo.";
|
||||
|
||||
public function collectData(){
|
||||
$html = $this->getSimpleHTMLDOM(self::URI)
|
||||
or $this->returnServerError('Could not request MondeDiplo. for : ' . self::URI);
|
||||
$html = getSimpleHTMLDOM(self::URI)
|
||||
or returnServerError('Could not request MondeDiplo. for : ' . self::URI);
|
||||
|
||||
foreach($html->find('div.unarticle') as $article) {
|
||||
$element = $article->parent();
|
||||
|
Reference in New Issue
Block a user