3
1
Back

$doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } //noop elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Invisible Bread (make the bread visible if (preg_match("@.*(

New Pull Request