3
1
Back

1.016 2.54 (end -1.016 -2.54 (offset 0) hide (length 0) hide From d48d677c9103ec90137a6830434841a576342e9a Mon Sep 17 00:00:00 2001 Subject: [PATCH] Current draw From b886abe4036c263df71a7c0b70fd44b77a53e633 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Add VCA shaek layout ttrss-plugin- _comics/init.php 264 lines define('ADD_IDS', True); class _comics extends Plugin { 'Yet more stupid-simple comic-fetching.', ' '); } function rel2abs($rel, $base) { function get_img_tags($xpath, $query, $article){ $new_src = $this->rel2abs($orig_src, $article['link']); if ($alt_text && !$title_text){ Various updates, additions // PhD Unknown elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { Clean up code formatting; added a few due to referer checks Dead Philosophers elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); function mangle_article($article) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return 2; } /* absolute URL */ $abs.

New Pull Request