3
1
Back

Wires elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $doc = new DOMXPath($doc); return $xpath; } function about() { function rel2abs($rel, $base) { function rel2abs($rel, $base) { 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 $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } Pain Train alt tag, Alice Grove (get bigger image elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // Camp Weedonwantcha elseif (strpos($article['link'], 'somethingpositive.net') .

New Pull Request