Labels Milestones
BackCall out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about } // CTRL+ALT+DEL Sillies // Two Lumps elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Dilbert elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // not a comic, just a borked RSS feed elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if ($doc === NULL) { foreach ($article['debugging'] as $msg) { $article['content'] .= $aftercomic; } } // Girls with Slingshots elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $doc = new DOMDocument(); // replace the