3
1
Back

Boards From 90eb4a59497d2a7cd5af40574d33a6babf5b03e3 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Update README.md 2015-02-23 04:37:33 -08:00 It's really just a borked RSS feed elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { //no-op function rel2abs($rel, $base) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Joy of.

New Pull Request