3
1
Back

From a3181ad06baab7215891b0f956775e15904c9aa5 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Pain Train alt tag, Alice Grove bigger img Pain Train alt tag, Alice Grove (get bigger image // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); } // Two Lumps // Two Lumps $orig_content = strip_tags($article['content']); //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { // And get blog entry $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content.

New Pull Request