Labels Milestones
BackBlogs into Tiny Tiny RSS entries. Binary files /dev/null and b/Panels/futura medium condensed bt.ttf' Delete 'Panels/Futura XBlk BT.ttf' ttrss-plugin- _comics/init.php 334 lines if (strpos($article["link"], "penny-arcade.com") !== FALSE && // SatW elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Something Positive elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL // CTRL+ALT+DEL // Three Panel Soul // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); // $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 hook_render_article($article) { return $base.$rel; if ($rel[0] == '/') { $path = ''; function get_xpath_dealie($link) { } function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } Dead Philosophers elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = new DOMDocument(); // replace the