3
1
Back

From 085327769df1923053fc21adb0ef584f908b8264 Mon Sep 17 00:00:00 2001 Subject: [PATCH] MK VCO and Luthers Update README.md 2015-02-23 04:37:33 -08:00 It's really 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'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); } elseif (strpos($alt_text, $title_text) !== false){ } elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = preg_replace("@@", '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; } } //noop } // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img .

New Pull Request