3
1
Back

Might include the Program if, at the first if(preg_match("@.*()@", $article['content'], $matches)){ $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { // Three Panel Soul elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } // $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // Dead Philosophers $doc->loadHTML($article['content']); // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] = $img_tag . $article['content']; } // Girls with Slingshots elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // 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.

New Pull Request