3
1
Back

} arrow_indicator(); indentations(); } } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Something Positive // Something Positive elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags if both exist achewood, gwss fix, fix for when invisible bread has no bread Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text elseif (strpos($article['link'], 'somethingpositive.net.

New Pull Request