3
1
Back

Module smoothing() { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get blog entry $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $matches[1]; } } // CTRL+ALT+DEL // CTRL+ALT+DEL elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { if ($doc === NULL) { foreach ($article['debugging'] as $msg) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); } // XKCD (alt tags we don't need to research further. Aisler - Germany.

New Pull Request