3
1
Back

Tags. Return array( 0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function rel2abs($rel, $base) { function rel2abs($rel, $base) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); //also get the blog $entries = $xpath->query($query); $result_html = ''; } /* replace '//' or '/./' or '/foo/../' with '/' */ } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; if (preg_match("@.*(

New Pull Request