3
1
Back

{ $new_element = $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Wondermark (alt tag elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Girls with Slingshots elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], '//theoatmeal.com/comics/') .

New Pull Request