3
1
Back

Far simpler than this foreach($imgs as $img){ // Questionable Content (cleanup) elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] .= "

" . $entry->textContent . ""; // XKCD (alt tags we don't need to call out for.

New Pull Request