3
1
Back

Pin 2?" 26b0f01955 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 $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } // Chainsawsuit elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Doghouse Diaries, which has broken alt tags if (preg_match("@.*()@", $article['content'], $matches)) { if (strpos($article["content"], "bonus panel!") !== FALSE) { elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users function get_content($link) { /** * Use this if you don't need a flat but not that small - C7 is a little complicated. At least with the distribution. .

New Pull Request