3
1
Back

Supported if (strpos($article["link"], "penny-arcade.com") !== FALSE && // SatW elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE && // Cyanide & Happiness elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } return $article; } function hook_render_article($article) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // only keep everything starting at the first // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // CTRL+ALT+DEL elseif (strpos($article['link.

New Pull Request