3
1
Back

/ttrss-plugin- _comics/commit/969311f00cbb6d6ece9a25b5fb1d4e2884e468c0" rel="nofollow">969311f00cbb6d6ece9a25b5fb1d4e2884e468c0 Assorted updates elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); } function hook_render_article($article) { try { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function mangle_article($article) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] = $matches[1]; } } // Camp Weedonwantcha elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE.

New Pull Request