3
1
Back

And b/Images/retrigger.png differ From 2ce1144628c5b348c6a2166a7b906cc45e80a76d 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 elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { //also get the blog $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Eat That Toast elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // CTRL+ALT+DEL // CTRL+ALT+DEL elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // CTRL+ALT+DEL // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { //also append the blarg post because that's small, interesting, } //and sometimes necessary.

New Pull Request