3
1
Back

Found. // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); // Joy of Tech elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'jpg')]", $article, "http://vgcats.com/comics/"); // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'somethingpositive.net.

New Pull Request