3
1
Back

Updates jesus and mo, maintenance Fixes for CAD and sorcery101 Fixes for CAD and sorcery101 Fix 3-panel soul drugs & wires, pilotside 2018-11-20 08:29:13 -08:00 // Eat That Toast elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Eat That Toast bog-standard example // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } Some comics supported elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); function mangle_article($article) { if ($doc === NULL) { foreach ($article['debug'] as $msg) { if (preg_match("@.*(

New Pull Request