3
1
Back

Schematics/SynthMages.pretty/P160_pot_hole_nonpcb.kicad_mod ttrss-plugin- _comics/init.php 511 lines elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // Gunnerkrigg Court elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { //no-op From 269f3bf9f9109b69cf4264b79cb1ed6f6a114782 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users else { return $this->mangle_article($article); } function hook_render_article($article) { return array( 0.1, 'Yet more stupid-simple comic-fetching.', ' '); ' ' ); } function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); ' ' ); } function get_xpath_dealie($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, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Dinosaur Comics (alt tags+blog), CAD.

New Pull Request