3
1
Back

Comics; standardized appending alt/title text Fix for when invisible bread has no bread $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = new DOMDocument(); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Questionable Content (cleanup elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Breaking Cat News // Breaking Cat News elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Awkward Zombie $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Some comics supported 2015-02-23 04:25:44 -0800 e89a2a057d From d952ec97f3d5e1172c33dcefe438ee5d18f8d87d Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fixes for CAD and sorcery101 Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); // Joy of Tech elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // The OpenSCAD default. // go positive if you need to call out for if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // Three Panel Soul elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } // Dead Philosophers Added BCN, Something Positive elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // h[p] //module title(string, size=9, halign="center", font="Futura Md BT:style=Medium.

New Pull Request