3
1
Back

$this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach ($entries as $entry) { $article['content'] = preg_replace("@@", '', $article['content']); } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Dilbert // Dilbert elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Berkeley Mews elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } Assorted updates 289eacd41f936a34813e1e82f711b9b6ca96fb7b Checkpoint after fixes but before shrinking boards 007cc05932dfa23f85127799f5505afc7b25772e

New Pull Request