3
1
Back

D81094c64ef3dbd9cdcdc0341bc85fcc9deb080e Mon Sep 17 00:00:00 2001 Subject: [PATCH] Merge issues to be fixed elsewhere elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Drugs and Wires elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Questionable Content (cleanup elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath .

New Pull Request