3
1
Back

Plugin!" . $e->getMessage(); function mangle_article($article) { // SBMC elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Poorly Drawn Lines elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Joy of Tech Scenes From A Multiverse Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Scenes From A Multiverse (to get alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] .= "
$orig_content
"; // Awkward Zombie elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } Dead Philosophers // Dead Philosophers 2015-02-25 15:05:54 -08:00 // Eat That Toast elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); //and sometimes necessary for old.

New Pull Request