3
1
Back

[PATCH] Undo converting GND to GND_JMP and fix everything that broke From 969311f00cbb6d6ece9a25b5fb1d4e2884e468c0 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Updated LICD, alter alt-textify to handle both title and alt tags textified. $article['content'] .= "
Alt: $alt_text
"; } } // additives - labels, etc surface("FIREBALL VCO.png", center=true, invert=false); Am totally not using git correctly // Achewood (alt tag) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] .= "
$orig_content
"; } // Cyanide & Happiness elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); } // Wondermark (alt tag already present foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $article['content'] .= "
ID: " . $article['id']; } function rel2abs($rel, $base) { $rel = trim($rel); if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); ' ' ); } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags textified. Function rel2abs($rel, $base) { function about() { return $this->mangle_article($article); } function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return 2; } /* absolute URL.

New Pull Request