3
1
Back

'ENG_')]", $article); } // SBMC elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Timothy Winchester (People I Know elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // only keep everything starting at the first if (preg_match("@.*(get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Dinosaur Comics Cleanup $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } // SatW elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) .

New Pull Request