Labels Milestones
BackGate stops working after a new fetcher, use the ARTICLE_FILTER hook. */ // Girls with Slingshots elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { //noop $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); } // Girls with Slingshots elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Alice Grove (get bigger image) elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // XKCD (alt tags we don't need to call out for if(preg_match("@.*(