3
1
Back

{ //also get blog elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Wondermark (alt tag already present) // Wondermark (alt tag already present elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Scenes From A Multiverse (to get alt tags textified. $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img.

New Pull Request