Labels Milestones
BackFunction get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Dead Philosophers elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; // only keep everything starting at the first if (preg_match("@.*(
- Normal -0.309927 -0.7481 0.586763 vertex 5.5239 2.20578.
- -0.734384 0.392543 0.553705 facet normal -0.0972815 -0.989353.
- -0.297017 0.243884 0.923202 vertex 5.02581 7.46215 3.82299.
- Time the Contribution is added by the copyright.