3
1
Back

$img_tag = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog //also get blog entry $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // XKCD (alt tags we don't need to call out for) $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Something Positive elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } foreach($imgs as $img){ // Questionable Content (cleanup) // Questionable Content (cleanup) // Questionable Content (cleanup) elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { //noop elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0.

New Pull Request