3
1
Back

Wires ttrss-plugin- _comics/init.php 511 lines elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $article['content'] = $img; } } // Invisible Bread (make the bread visible) $article['content'] = $img_tag . $article['content']; $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } */ // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } function about() { return $base . $rel; } /* absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) { } if ($alt_text && !$title_text){ Various updates, additions // PhD Unknown elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; // only keep everything starting at the first } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); // Awkward Zombie elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } Clean up code formatting; added a few more 'simple' Unseen Servant functions fd8b2dd8a7c07368476bde4f42aea6df4bff239b tracks the ratsnest and compactifies.

New Pull Request