3
1
Back

$this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== 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, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Something Positive elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Girls with Slingshots // Girls with Slingshots // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog //also get the blog //also get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach.

New Pull Request