3
1
Back

Over about 20mm in diameter at the first elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'uploads') and contains(@src, 'comics')]", $article); } // XKCD (alt tags we don't need to call out for foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies // Two Lumps elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Three Panel Soul elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than having hundreds.

New Pull Request