mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-20 15:22:17 +02:00
bridges: rename file_get_html to getSimpleHTMLDOM
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -94,7 +94,7 @@ class KununuBridge extends BridgeAbstract{
|
||||
$this->uri .= "/{$site}/{$company}/{$section}";
|
||||
|
||||
// Load page
|
||||
$html = $this->file_get_html($this->uri);
|
||||
$html = $this->getSimplHTMLDOM($this->uri);
|
||||
if($html === false)
|
||||
$this->returnServerError('Unable to receive data from ' . $this->uri . '!');
|
||||
|
||||
@@ -267,7 +267,7 @@ class KununuBridge extends BridgeAbstract{
|
||||
*/
|
||||
private function extract_full_description($uri){
|
||||
// Load full article
|
||||
$html = file_get_html($uri);
|
||||
$html = $this->getSimpleHTMLDOM($uri);
|
||||
if($html === false)
|
||||
$this->returnServerError('Could not load full description!');
|
||||
|
||||
|
Reference in New Issue
Block a user