3
1
Back

$this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // Something Positive elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Berkeley Mews elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = new DOMXPath($doc); } function get_img_tags($xpath, $query, $article, $base_url=NULL) { /* absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) { } /* dirty absolute URL is ready!

New Pull Request