3
1
Back

Rel2abs($rel, $base) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $title_text) !== False) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base.$rel; } extract(parse_url($base)); $path = ''; function rel2abs($rel, $base) { function rel2abs($rel, $base) { if ($img->getAttribute('title')) { // Breaking Cat News elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveHTML(); function get_img_tags($xpath, $query, $article){ /* dirty absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) { } module arrow_indicator() { } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Two Lumps // Breaking Cat News // Breaking Cat News // Something Positive // Something Positive elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { Clean up code formatting; added a few due to referer checks elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] .

New Pull Request