3
1
Back

Versions If you don't need to call out for if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } /* dirty absolute URL is ready! */ } function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return array(0.1, 'Yet more stupid-simple comic-fetching.', } function get_content($link) { /** * Use this if.

New Pull Request