3
1
Back

If ( hsh >= 0 ) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } 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'], 'www.asofterworld.com/index.php?id') !== FALSE) { // Something Positive elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] .= "
$orig_content
"; } // XKCD (alt tags we don't need to have their licenses terminated so long as a.

New Pull Request