3
1
Back

$article['content']); $article['content'] = $matches[1]; $img = $matches[1]; $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { // And get blog entry $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { // only keep everything starting at the first if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content.

New Pull Request