3
1
Back

Examples: Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' ' ); } function get_img_tags($xpath, $query, $article, $base_url=NULL) { function about() { return 2; } /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; if (preg_match("@.*(

New Pull Request