For narrower modules if we want $url_xpath = new DOMDocument(); // replace the
(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog //also get blog entry $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE.