3
1
Back

From ac58a9eaed22afe21d4e9041218f4495bd28c6bf Mon Sep 17 00:00:00 2001 Subject: [PATCH] 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) function about() { return 2; } } } } Dead Philosophers 2015-02-25 15:05:54 -08:00 // Poorly Drawn Lines // Berkeley Mews elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Timothy Winchester (People I Know foreach ($imgs as $img) { $article['content'] .= "

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

"; } } // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); Added The Trenches; yet more code style tweaking.

New Pull Request