3
1
Back

And passed on, we want $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

" . $entry->textContent . "

"; } } } // Poly In Pictures elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // CTRL+ALT+DEL Sillies // Two Lumps $orig_content = strip_tags($article['content']); // Awkward Zombie $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } if(preg_match("@.*( New Pull Request