3
1
Back

Lines if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Pain Train (to get alt tag) elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // And get blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); } } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users) Clean up code formatting; added a few more 'simple' Unseen Servant functions first commit first.

New Pull Request