3
1
Back

if (preg_match("@.*()@", $article['content'], $matches)) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . ""; $img_tag = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); Invisible Bread, Softer World (alt tags we don't need to call out for if(preg_match("@.*()@", $article['content'], $matches)){ function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

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

"; } } } // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one.

New Pull Request