3
1
Back

$this->get_content($link); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Hole for setscrew } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img.

New Pull Request