Labels Milestones
Back8a9583e7df3009c52174c16ce501729b9c90d7ac Mon Sep 17 00:00:00 2001 Subject: [PATCH] Add splits and labels to get what game it's about $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "$orig_content"; // Awkward Zombie elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ // Softer World (alt tags), Dinosaur Comics Cleanup // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // replace the