Labels Milestones
BackFunction alt_textify($article, $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { // slightly complicated; the link is to tumblr, but there's a url in the documentation and/or other materials provided.
New Pull Request