3
1
Back

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"], "trenchescomic.com/comic/post/") !== FALSE ) { // Robot Hugs elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // Wondermark (alt tag already present elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup.

New Pull Request