3
1
Back

$this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'comics')]", $article); } function rel2abs($rel, $base) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $article['content'] = $matches[1]; $article['content'] = preg_replace("@@", '', $article['content']); } // Jesus & Mo elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ // Questionable Content (cleanup) $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); } } Clean.

New Pull Request