3
1
Back

Tags) } // Cyanide & Happiness elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // $article['content'] = $img; } Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text Added The Trenches; yet more code style tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // there's both alt and title texts, they're both different, use both. } elseif ($alt_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if.

New Pull Request