Labels Milestones
BackKeep it simple. Follow one pattern. Class _comics extends Plugin { function api_version() { return $this->mangle_article($article); } function rel2abs($rel, $base $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(
- 0.525861 0.586851 facet normal.
- 0.601759 -0.737729 0.30601 facet normal -0.828666 0.0815498.
- /551D9414; Reference = P2; ValeurCmp.
- 3.462170e-04 vertex -1.015466e+02 1.047674e+02.