3
1
Back

Continue? Define('ADD_IDS', True); class _comics extends Plugin { function get_content($link) { /** * When debugging or writing a new fetcher, use the ARTICLE_FILTER hook. } function rel2abs($rel, $base) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Jesus & Mo elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Poorly Drawn Lines elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { // not a comic, just a quick and dirty content rewriting engine with code already written for about a.

New Pull Request