1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-21 23:55:56 +02:00

[bridges] Change all bridges to use BridgeAbstract with getSimpleHTMLDOMCached

This commit is contained in:
logmanoriginal
2016-09-10 19:11:09 +02:00
parent 9f2dd48684
commit 2eec89ab27
21 changed files with 27 additions and 27 deletions

View File

@@ -17,7 +17,7 @@ class NextInpactBridge extends FeedExpander {
}
private function ExtractContent($url) {
$html2 = $this->get_cached($url);
$html2 = $this->getSimpleHTMLDOMCached($url);
$text = '<p><em>'.$html2->find('span.sub_title', 0)->innertext.'</em></p>'
.'<p><img src="'.$html2->find('div.container_main_image_article', 0)->find('img.dedicated',0)->src.'" alt="-" /></p>'
.'<div>'.$html2->find('div[itemprop=articleBody]', 0)->innertext.'</div>';