3
1
Back

= $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Dead Philosophers elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE.

New Pull Request