3
1
Back

Lines ttrss-plugin- _comics/init.php 399 lines } Pain Train (to get alt tags elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); $article['content'] .= "

" . $entry->textContent . "

"; } } // Three Panel Soul elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog //also get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "
" . $msg . ""; $img_tag = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // The Oatmeal $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] .= "
" . $msg . ""; } if ($rel[0]=='#' || $rel[0]=='?') { return array(0.1, return array( $html, $content_type); } function rel2abs($rel, $base.

New Pull Request