3
1
Back

2.913381" It's really just a borked RSS feed elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { // Breaking Cat News elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = new DOMXpath($doc); elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // } // Dead Philosophers // Dead Philosophers elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); // And get blog entry $article['content'] .= "

" . $entry->textContent . "

"; } } // Dead Philosophers elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // only keep everything starting at the first // only keep everything starting at the first if(preg_match("@.*(get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } // Wondermark (alt tag already present) // Wondermark (alt tag already present) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { // SBMC elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) .

New Pull Request