3
1
Back

Both it and this is a few comics; standardized appending alt/title text under images (extra useful for non-browser users $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

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

"; } } } // Poly In Pictures elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Wondermark (alt tag already present) // Wondermark (alt tag already present foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $doc->saveXML(); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); Assorted updates elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE.

New Pull Request