3
1
Back

Wires ttrss-plugin- _comics/init.php 264 lines define('ADD_IDS', True); class _comics extends Plugin { function about() { return $base.$rel; } extract(parse_url($base)); $path = ''; foreach ($entries as $entry) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } if ($rel[0]=='#' || $rel[0]=='?') { return $rel; } if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("div"); $para_element .

New Pull Request