3
1
Back

5a4e89eea63bf71c8fd68e1168f096dfb3459aa4 More cleanup c5e8dbdd1f5bb4b2a027556e63f3cebc1db3a56a More cleanup More cleanup // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); // Eat That Toast bog-standard example if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Questionable Content (cleanup) elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath.

New Pull Request