3
1
Back

$doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches //No matches //No matches //No matches //No matches if ($img->getAttribute('title')) { $article['content'] .= "
Alt: " . $article['id']; $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debugging'] as $msg) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); // Pain Train alt tag, Alice Grove bigger img Gunnerkrigg and cleanup of alt-tag-only sites Clean up code formatting; added.

New Pull Request