3
1
Back

8a9583e7df3009c52174c16ce501729b9c90d7ac 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

(containing project wonderful) with nothing $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png.

New Pull Request