3
1
Back

(!$alt_text){ Added BCN, Something Positive // Something Positive elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Eat That Toast bog-standard example elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

" . $entry->textContent . "

"; } } Clean up code formatting; added a.

New Pull Request