3
1
Back

$this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Various updates, additions elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== 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); } // Joy of Tech elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // PhD Unknown elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // Two Lumps elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } */ // Small amount of overlap for unions and differences, to prevent interference from U1's pin 2?" 26b0f01955 Fix for when invisible bread has no bread elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img.

New Pull Request