3
1
Back

Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users // $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { $article['content'] = $img_tag . $article['content']; } drugs & wires, pilotside elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { if (strpos($article["content"], "bonus panel!") !== FALSE) { elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Dead Philosophers Dead Philosophers elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Drugs and Wires drugs & wires, pilotside drugs & wires, pilotside drugs .

New Pull Request