1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-22 16:13:35 +02:00

bridges: rename file_get_html to getSimpleHTMLDOM

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière
2016-08-09 14:57:42 +02:00
parent 86515a1560
commit 6e2c7ceaf4
12 changed files with 38 additions and 38 deletions

View File

@@ -112,7 +112,7 @@ class WikipediaBridge extends BridgeAbstract{
}
// This will automatically send us to the correct main page in any language (try it!)
$html = $this->file_get_html($this->uri . '/wiki');
$html = $this->getSimpleHTMLDOM($this->uri . '/wiki');
if(!$html)
$this->returnServerError('Could not load site: ' . $this->uri . '!');
@@ -209,7 +209,7 @@ class WikipediaBridge extends BridgeAbstract{
* Loads the full article from a given URI
*/
private function LoadFullArticle($uri){
$content_html = $this->file_get_html($uri);
$content_html = $this->getSimpleHTMLDOM($uri);
if(!$content_html)
$this->returnServerError('Could not load site: ' . $uri . '!');