3
1
Back

$base.$rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); } function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { // Alice Grove bigger img Pain Train (to get alt tags) } // Two Lumps elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. Elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } // Breaking Cat News elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { Cumulative fixes from v1.1 74231bd333b049ab7b99365de62d937af76b0e42 Finish PCBs Finish PCBs d74befe391233bd8b162f7f5705c277e04d9b135 Checkpoint after re-centering sliders.

New Pull Request