3
1
Back

Files From f707877a83c92d22bdfed3b6bc7a14bba9e25bab Mon Sep 17 00:00:00 2001 Subject: [PATCH] Updated LICD, alter alt-textify to handle both title and alt tags textified. } //Sites that provide images and just need alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*()@", $article['content'], $matches)) { } /* absolute URL */ $abs = "$host$path/$rel"; function rel2abs($rel, $base) { function get_img_tags($xpath, $query, $article) { function rel2abs($rel, $base) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Various updates, additions Fix for when invisiblebread has no bread Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users if (preg_match("@.*(

New Pull Request