3
1
Back

A924f97182 Minor layout tweaks Based on https://github.com/oguzbilgic/fpd, which has broken alt tags in feedburner (if there are quotes) // Doghouse Diaries, which has broken alt tags if both exist elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Wondermark (alt tag already present foreach($imgs as $img){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . ""; if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); } } // Wondermark (alt tag elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); } Added The Trenches; yet.

New Pull Request