3
1
Back

Sheet d9153c70802a10d2fe554f80f1a497b409aac630 969311f00cbb6d6ece9a25b5fb1d4e2884e468c0 Assorted updates elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Drugs and Wires elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users) 2015-03-02 17:38:43 -08:00 } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debug'] as $msg) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Joy of Tech elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'uploads') and contains(@src, 'png')]", $article); } /* absolute URL is ready! */ Assorted updates elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] = $matches[1]; } } // Joy of Tech elseif (strpos($article['link.

New Pull Request