3
1
Back

15:05:54 -08:00 // Poorly Drawn Lines elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // Pain Train (to get alt tag elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if ($rel[0]=='#' || $rel[0]=='?') { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function rel2abs($rel, $base) { $rel = trim($rel); if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } function rel2abs($rel, $base) { $rel = trim($rel); Final work.

New Pull Request