3
1
Back

{ //No matches if ($img->getAttribute('title')) { $article['content'] = $doc->saveXML(); } // Three Panel Soul $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches if ($img->getAttribute('title')) { // And get blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "ID: " . $img->getAttribute('title') .

New Pull Request