3
1
Back

$article); list($html, $content_type) = $this->get_content($link); $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } elseif ($alt_text == $title_text){ } elseif (strpos($title_text, $alt_text) !== False) { if (strpos($article["content"], "bonus panel!") !== FALSE) { // $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting.

New Pull Request