3
1
Back

'www.asofterworld.com/index.php?id') !== FALSE) { Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // XKCD (alt tags we don't need a diode to U2-3 Clock In - ~27K to U3-8? No, transistors maybe activate? Outs: elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // The Oatmeal $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] .= "
" . $msg . ""; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->textContent . "

"; } } return $article; } if(ADD_IDS){ $article['content'] .= "
$orig_content
"; } // Dilbert elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article.

New Pull Request