3
1
Back

This foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $doc = new DOMDocument(); // replace the (containing project wonderful) with nothing $article['content'] = $doc->saveXML(); // Questionable Content (cleanup elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Alice Grove bigger img Pain Train (to get alt tag.

New Pull Request