3
1
Back

* Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { 'Yet more stupid-simple comic-fetching.', ' '); } function rel2abs($rel, $base) { if ($img->getAttribute('title')) { // And get blog //also get blog entry $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { $article['content'] .= "
$orig_content
"; } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { if (strpos($article["content"], "bonus panel!") !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { // Scenes From A Multiverse (to get alt tag) // Pain Train alt tag, Alice Grove (get bigger image elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { Cumulative fixes from v1.1 ttrss-plugin- _comics/init.php 483 lines From 1aa48a179aa2fb0f2688991cbdf145da4cfe15db.

New Pull Request