Labels Milestones
BackQuick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] .= " $orig_content
" . $msg . ""; // Camp Weedonwantcha elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // Berkeley Mews // $img_tag = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Girls with Slingshots * Three Panel Soul elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Achewood (alt tag already present foreach ($imgs as $img) { if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = ''; foreach ($entries as $entry) { $article['content'] .= "
New Pull Request