3
1
Back

$doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] .= "" . $entry->textContent . "

"; } } } } //noop } // Dinosaur Comics alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks Dead Philosophers elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath.

New Pull Request