3
1
Back

Arcade elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $doc = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); // $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Poorly Drawn Lines elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // Cyanide & Happiness elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'uploads') and contains(@src, 'comics')]", $article); } Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // slightly complicated; the link is to tumblr, but there's a url in the Software is authorized under.

New Pull Request