Le Journal du Geek Bridge

This commit is contained in:
Paul Vayssiere 2014-07-14 13:12:52 -05:00
parent 9da81ee290
commit ee45f0a829
2 changed files with 70 additions and 1 deletions

View file

@ -19,7 +19,7 @@ class GizmodoFRBridge extends BridgeAbstract{
$text = $text.$articleHTMLContent->find('div.entry-excerpt', 0)->innertext;
$text = $text.$articleHTMLContent->find('div.entry-content', 0)->innertext;
foreach($articleHTMLContent->find('pagespeed_iframe') as $element) {
$text = $text.'<p>link to a iframe (could be a video): <a href="'.$element->src.'">'.$element->src.'</a></p>';
$text = $text.'<p>link to a iframe (could be a video): <a href="'.$element->src.'">'.$element->src.'</a></p><br>';
}
$text = strip_tags($text, '<p><b><a><blockquote><img><em>');