3
1
Back

2cddc4d62d38c9e1b69839f92a19e7915eecbceb Mon Sep 17 00:00:00 2001 Subject: [PATCH] More cleanup // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); // Eat That Toast elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] .= "
ID: " . $article['id']; $article = $this->alt_textify($article); if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // $img_tag = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] .= $aftercomic; } } // Dead.

New Pull Request