3
1
Back

For you if you feel like it, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } Assorted updates jesus and mo, maintenance jesus and mo, maintenance Fixes for CAD and sorcery101 9a2ab6dc7f initial notes for v1 build - C1 is too small for a VC version. ** not a comic, just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } } // Poly In Pictures elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // only keep everything starting at the first elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; Invisible Bread, Softer World (alt tags we don't need to call out for) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes.

New Pull Request