3
1
Back

Href="https://gitea.circuitlocution.com/synth_mages/MK_SEQ/commit/4c5e03f875a81278be4b8089dd10dd98b0c86e5d">4c5e03f875a81278be4b8089dd10dd98b0c86e5d Add scad for v3.2 Stuff all teh scad files in ttrss-plugin- _comics/init.php 511 lines elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about $orig_content = strip_tags($article['content']); $article['content'] = $matches[1]; } } //Sites that provide images and just need alt tags textified. $alt_element = $doc->createElement("i", $title_text); } function mangle_article($article) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return array(0.1, return array( $html, $content_type ); } function hook_render_article($article) { try { return $this->mangle_article($article); } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Wondermark (alt tag already present) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // And get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $doc->saveXML(); } // SatW elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // Joy of Tech } // Joy of Tech elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content.

New Pull Request