3
1
Back

Function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); $xpath = $this->get_xpath_dealie($article['link']); // elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Poorly Drawn Lines elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Berkeley Mews elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // Scenes From A Multiverse (to get alt tags textified. Elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) .

New Pull Request