3
1
Back

$this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } Some comics supported elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // draw a "vertical" wall to mount the circuit board sideways on // h = hole_depth, center = true, $fn = 3.

New Pull Request