3
1
Back

} Various updates, additions elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Eat That Toast bog-standard example if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // Scenes From A Multiverse (to get alt tag) // Achewood (alt tag) elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Eat That Toast.

New Pull Request