3
1
Back

$article); function mangle_article($article) { // Scenes From A Multiverse (to get alt tag) // Achewood (alt tag already present elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $img_tag . $article['content']; $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] = preg_replace("@@", '', $article['content']); } // Awkward Zombie elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { elseif.

New Pull Request