3
1
Back

$content_type); } function hook_render_article_cdm($article) { } else { // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); function hook_render_article_cdm($article) { return $this->mangle_article($article); } function get_xpath_dealie($link) { $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme.'://'.$abs; } function api_version() { return $this->mangle_article($article); } function rel2abs($rel, $base) { if (strpos($article["content"], "bonus panel!") !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { Latest commits for.

New Pull Request