3
1
Back

$xpath->query("//div[@id='blarg']/div[last()]"); // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Achewood (alt tag already present foreach($imgs as $img){ $article['content'] .= "
" . $msg . ""; // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .

New Pull Request