3
1
Back

'(//div[@class="webcomic-image"]//img)', $article); } // Timothy Winchester (People I Know) $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } Pain Train (to get alt tags textified. Elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // not a comic, just a borked RSS feed elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $doc = new DOMXPath($doc); return $xpath; } function get_img_tags($xpath, $query, &$article, $base_url=NULL) { $img_attributes_whitelist = array('src', 'alt', 'title'); $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= $entry->ownerDocument->saveXML($entry); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debug'] as $msg) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { //no-op From 269f3bf9f9109b69cf4264b79cb1ed6f6a114782 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Updated LICD, alter alt-textify to handle both title and alt tags textified. Elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $doc.

New Pull Request