3
1
Back

16] if (h < four_hole_threshold) { if ($doc === NULL) { foreach ($article['debug'] as $msg) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { if ($img->getAttribute('title')) { // Two Lumps elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); Added The Trenches; yet more code style tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Timothy Winchester (People I Know elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) .

New Pull Request