3
1
Back

"//div//img[contains(@src, 'images') and contains(@src, 'png')]", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); // Eat That Toast elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { $img_tag = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Something Positive elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Softer World (alt tags we don't need to be able to understand it. 5. Termination 5.1. The rights granted under this.

New Pull Request