3
1
Back

The post that we want $url_xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Pain Train (to get alt tag) // Achewood (alt tag already present foreach($imgs as $img){ // Softer World.

New Pull Request