3
1
Back

With switch 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.timothywinchester.com/2') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Poly In Pictures // Poly In Pictures elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== 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[@id='comic']/img", $article); } // Jesus & Mo elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Something Positive Some comics supported elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); } // SBMC elseif (strpos($article["link"], "explosm.net/comics.

New Pull Request