3
1
Back

(http://sorcery101.net/) elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Order of the Stick elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { - maybe not as big as the default. // go positive if you feel like it, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Softer World (alt tags), Dinosaur Comics Cleanup $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); //also get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { elseif (strpos($article['content.

New Pull Request