3
1
Back

Out for elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Wondermark (alt tag already present) // Wondermark (alt tag already present foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $img; } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] .= "

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

"; } } // Dilbert // Dilbert elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date.

New Pull Request