Labels Milestones
Back'sp') and contains(@src, 'comics')]", $article); } // Poly In Pictures elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== 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 $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Two Lumps // Two Lumps elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // Dead Philosophers 2015-02-25 15:05:54 -08:00 // Poorly Drawn Lines elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // only keep everything starting at the first if (preg_match("@.*(