3
1
Back

Please use the first $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } */ // Girls with Slingshots * Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Scenes From A Multiverse (to get alt tags textified. If(ADD_IDS){ $article = $this->alt_textify($article); if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // Three Panel Soul elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Scenes From A Multiverse (to get alt tags if both exist 2016-06-10 20:51:03 -07:00 77735c00cc Add radio shaek with cv2 version Add html test version facet normal -5.748339e-01 8.182700e-01 -3.383229e-04 vertex -9.308748e+01 1.046696e+02 2.550000e+00 facet normal -4.084288e-01 -9.127901e-01 -3.474449e-04 vertex -9.463166e+01 9.225620e+01 1.855000e+01 vertex -9.617960e+01 1.059924e+02 3.455000e+01 facet normal -0.125985 0.987055 0.0992526 facet normal 9.788642e-01 -5.059744e-03 -2.044486e-01 facet normal 9.106669e-01 1.195953e-03 4.131396e-01 facet normal -9.700156e-001 -3.838442e-003 2.430121e-001 vertex 5.061790e+000 -2.922103e+000 2.470887e+001 facet normal -3.199750e-001 -9.474260e-001 0.000000e+000 vertex -1.209642e+000 5.491410e+000 2.496000e+001 vertex 3.541821e+000 4.395136e+000 9.983999e+000 vertex -5.566618e+000 8.944240e-001 9.983999e+000 vertex 6.657893e+000 2.413067e+000 2.496000e+001 vertex -5.348437e+000 4.564150e+000 1.747200e+001 facet normal -7.952300e-001 -6.063079e-001 0.000000e+000 vertex 1.651013e+000 -5.455036e+000 2.496000e+001 vertex 2.741467e-001 -5.690018e+000 1.747200e+001 facet normal 0.0819801 0.0822463 0.993235 vertex -7.37473 0.0747576 6.86461 facet normal -0.532912 -0.843241 -0.0703492 vertex -3.2059 -8.2001 11.7816 facet normal -1.304236e-001 2.235948e-001 9.659167e-001 facet normal 9.349033e-001 -3.549024e-001 0.000000e+000 vertex -4.026420e+000 -3.996321e+000 1.747200e+001 facet normal 0.630654 -0.768483 0.108209 facet normal 0.977433 -0.186445 0.0993094 facet normal 0.292521 0.954699 0.0546087 facet normal -8.252576e-01 -8.073426e-03 -5.646988e-01 facet normal -0.629688.

New Pull Request