3
1
Back

Additions Updated LICD, alter alt-textify to handle both title and alt tags textified. $alt_element = $doc->createElement("i", $title_text); } function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users else { return array(0.1, return array( 0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function hook_render_article($article) { try { return $article; } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debugging'] as $msg) { $article['content'] .= "

$orig_content

"; //also append the blarg.

New Pull Request