3
1
Back

(page 4) if we want $url_xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); if ($bread) { $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; return array( 0.1, 'Yet more stupid-simple comic-fetching.', } function api_version() { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' ' ); } function about() { return 2; } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } function about() { return $rel; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys.

New Pull Request