3
1
Back

How to use the ARTICLE_FILTER hook. */ // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); function hook_render_article_cdm($article) { return $base.$rel; } extract(parse_url($base)); $path = ''; foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } // Cyanide & Happiness elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE && strpos($article["title"], "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.robot-hugs.com/') !== FALSE) { elseif (strpos($article['content.

New Pull Request