3
1
Back

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['debug']) { } if ($rel[0]=='#' || $rel[0]=='?') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } function mangle_article($article) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } function about() { function rel2abs($rel, $base) { if (strpos($article["content"], "bonus panel!") !== FALSE) { // Dinosaur Comics Cleanup // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Girls with Slingshots // Girls with Slingshots elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { // Something Positive Added BCN, Something Positive elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $article['content'] = $img_tag . $article['content']; if (!count($entries)) { $scheme = "https"; From ec09111f772901dd7c3cd7f4b2eb510ce7b1288e Mon Sep 17.

New Pull Request