3
1
Back

2 false XS1 PWM CV // VG Cats elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } } Dead Philosophers elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Three Panel Soul * Scenes From A Multiverse (to get alt tag) // Pain Train alt tag, Alice Grove bigger img Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { //also get blog $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry){ $article['content'] .= "
$orig_content
"; // Awkward Zombie elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable.

New Pull Request