3
1
Back

= $doc->saveHTML(); elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { if (preg_match("@.*(get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { //no-op else { return $this->mangle_article($article); } function hook_render_article($article) { try { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' ' ); } function mangle_article($article) { if ($rel[0] == '#' || $rel[0] == .

New Pull Request