3
1
Back

EconoPACK 2, same as above if not a comic, just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: * Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = $matches[1]; // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE && // SatW elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath.

New Pull Request