3
1
Back

-2.864772e-03 -7.764513e-01 facet normal 3.267686e-001 5.718457e-001 7.524725e-001 vertex -3.446946e+000 -2.784076e+000 2.488700e+001 facet normal 0.622316 0.758298 0.194183 vertex 6.86157 7.38961 2.58057 vertex -5.28808 8.58625 2.58057 facet normal -0.471394 0.881923 0 vertex -9.68583 2.4869 0 facet normal -0.836804 -0.462418 0.293136 vertex 6.50844 0.573447 7.52902 facet normal 0.630636 -0.768498 0.108209 vertex 4.84143 3.23494 21.335 facet normal -0.090682 -0.920074 0.381103 facet normal -0.499992 0.86603 -1.51289e-06 facet normal -0.801127 0.594344 0.0703596 facet normal -0.976256 -0.0729258 0.203976 facet normal -0.990436 0.097579 0.0975395 facet normal -1.691408e-02 0.000000e+00 -9.998569e-01 facet normal 0.290412 0.956902 -3.99024e-06 facet normal 2.077796e-01 -3.727553e-03 -9.781686e-01 vertex -1.059234e+02 9.695134e+01 1.027243e+01 facet normal 4.395878e-001 -7.536187e-001 4.886936e-001 vertex -1.315106e+000 3.879837e+000 2.480400e+001 facet normal 0.767816 -0.634378 0.0895789 facet normal -0.957002 -0.290083 -0 facet normal 0.499998 0.866026 0 facet normal -0.629624 0.768293 0.115323 vertex -3.13874 3.43619 21.7467 facet normal -0.831387 -0.555694 1.06687e-17 vertex 2.4343 2.40319 6.59 facet normal -0.979674 -0.18785 -0.0703618 vertex 7.46167 6.79891 0.0491304 facet normal -0.297045 -0.243779 0.92322 facet normal -0.076128 -0.0624768 0.995139 vertex -4.32991 6.48017 5.97318 facet normal 0.325732 -0.734388 0.595461 facet normal -0.0906015 -0.869711 0.485175 vertex 0 7.5203 6.0001 facet normal -9.449638e-01 6.305657e-04 -3.271744e-01 vertex -1.084626e+02 9.695134e+01 1.068604e+01 facet normal 0.617512 -0.144955 0.77309 facet normal -0.115745 -0.000168718 -0.993279 facet normal -0.028588 0.0942416 0.995139 vertex 0 -2.9 19 - Could make the bodging of the first if (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; $img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Chainsawsuit // Poorly Drawn Lines elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // not a comic, just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { // $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches if ($img->getAttribute('title')) { // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE.

New Pull Request