3
1
Back

AR Path="/607ED812/60802B98" Ref="R29" Part="1" AR Path="/60970E37" Ref="S?" Part="1" AR Path="/607ED812/60A9C088" Ref="R14" Part="1" AR Path="/609384DB" Ref="#FLG?" Part="1" AR Path="/607ED812/60C3833D" Ref="R21" Part="1" AR Path="/6091D1B4" Ref="S?" Part="1" AR Path="/607ED812/60C38343" Ref="R22" Part="1" From 3d279dd88cba890e1ff05b6fd01cb5480b1f325e Mon Sep 17 00:00:00 2001 Subject: [PATCH] More tweaks after pro review elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // And get blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); Assorted updates Assorted updates elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { //no-op function rel2abs($rel, $base) { Various updates, additions Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') .

New Pull Request