3
1
Back

Dilbert // Dilbert elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "" . $entry->textContent . "

"; } } } // Questionable Content (cleanup) // Questionable Content (cleanup elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { // Alice Grove bigger img Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than.

New Pull Request