3
1
Back

Game it's about } // Dead Philosophers elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } Some comics supported elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Two Lumps elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) { } // Invisible Bread (make the bread visible $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } // Three Panel Soul elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) .

New Pull Request