Labels Milestones
Back$matches[1]; $img = $matches[1]; } } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Timothy Winchester (People I Know elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // And get blog entry $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { } // Questionable Content (cleanup // only keep everything starting at the first $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry){ $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; // Wondermark (alt tag elseif (strpos($article['link'], 'polyinpictures.com/comic. New Pull Request