3
1
Back

1a5b794ab9bac64e7d0bb61780efe97d27a2e668 Mon Sep 17 00:00:00 2001 ttrss-plugin- _comics/init.php 356 lines class _comics extends Plugin { function rel2abs($rel, $base) { if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debugging'] as $msg) { $article['content'] = $img; } //Sites that provide images and just need alt tags if both exist Updated LICD, alter alt-textify to handle both title and alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { // Timothy Winchester (People I Know foreach ($imgs as $img) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Wondermark (alt tag elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // And get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Pain Train alt.

New Pull Request