3
1
Back

5cacbfea2e523d618ea3bcbc0bca9c37eb36f10d Update README.md 2015-02-23 04:37:33 -08:00 It's really just a borked RSS feed elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog //also get blog elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { Fix for when invisible bread has no bread $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { // only keep everything starting at the.

New Pull Request