3
1
Back

$doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "$orig_content"; // Awkward Zombie elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $article['content'] .= $aftercomic; $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } //noop elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { // Camp Weedonwantcha // Camp.

New Pull Request