3
1
Back

Tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Drugs and Wires drugs & wires, pilotside 2018-11-20 08:29:13 -08:00 // Poorly Drawn Lines // Berkeley Mews // $img_tag = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); } // Drugs and Wires elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // Invisible Bread (make the bread visible) $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } achewood, gwss fix, fix for when invisible bread has no bread function rel2abs($rel, $base) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { if (strpos($article["content"], "bonus panel!") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Hole for setscrew } // Poly In Pictures elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic.

New Pull Request