3
1
Back

9.744101" d="m -3.4448859,9.645676 h -0.19685" d="m -6.8897674,12.893708 v 0.19685" d="m -6.7913424,12.992133 h -0.19685" d="M -3.5433109,9.54725 V 9.744101" d="m -6.7913422,9.645676 h -0.19685" d="m 2.9527508,8.8202247 v 0.07874" d="M 2.992121,8.8582675 H 2.913381" It's really just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: * Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; } } Dead Philosophers elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base.$rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == '?') { return $rel; } extract(parse_url($base)); $path = ''; } /* dirty absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array( '#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#' ); for ($n = 1; // [0:No, 1:Yes] // Would you like a line (pointer) on the cylindrical edge of the indenting cones. ≥30.

New Pull Request