Labels Milestones
BackLines bd1352a047 Fix annoyance of 2x05 IDC header triangle being so far out Change C13 to 10 nF v1.1 define("GDORN_DEBUG", False); class _comics extends Plugin { catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { // Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // And get blog $entries = $xpath->query("//div[@class='entry']"); // VG Cats elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } // Dilbert elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $doc = NULL) { foreach ($article['debugging'] as $msg) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(