3
1
Back

That we want $doc = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } function hook_render_article($article) { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); $xpath = $this->get_xpath_dealie($article['link']); // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath.

New Pull Request