3
1
Back

Better detail work, but with an alt or title tag. Function alt_textify($article, $doc = new DOMDocument(); // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->textContent . ""; // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions 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("@.*(alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debug'] as $msg) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
$orig_content
"; // Awkward Zombie // Awkward Zombie $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag already present foreach ($imgs as $img) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $title_text); } function get_img_tags($xpath, $query, $article){ $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive From e89a2a057de6d0325362ec61c1fe0ab24a803b20 Mon Sep 17 00:00:00 2001 .../Panels/UNSEEN SERVANT.png | Bin 11692 -> 0 bytes From cb59d1e9c06865f5bebe8c7ee0afa4859e0766b2 Mon Sep 17 00:00:00 2001 Subject.