mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-27 10:04:53 +02:00
Merge branch 'methods2functions' of https://framagit.org/peetah/rss-bridge
This commit is contained in:
@@ -79,9 +79,9 @@ class MangareaderBridge extends BridgeAbstract {
|
||||
|
||||
public function collectData(){
|
||||
// We'll use the DOM parser for this as it makes navigation easier
|
||||
$html = $this->getContents($this->getURI());
|
||||
$html = getContents($this->getURI());
|
||||
if(!$html){
|
||||
$this->returnClientError('Could not receive data for ' . $path . '!');
|
||||
returnClientError('Could not receive data for ' . $path . '!');
|
||||
}
|
||||
libxml_use_internal_errors(true);
|
||||
$doc = new DomDocument;
|
||||
|
Reference in New Issue
Block a user