3
1
Back

9bb3093b2bc14210884f0107e7a2898b2161266b Mon Sep 17 00:00:00 2001 Subject: [PATCH] Updated LICD, alter alt-textify to handle both title and alt tags foreach($imgs as $img){ if ($img->getAttribute('title')) { // Dilbert elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } //noop elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); // And get blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } // } elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content.

New Pull Request