3
1
Back

(strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); function hook_render_article_cdm($article) { function get_img_tags($xpath, $query, &$article, $base_url=NULL) { /* absolute URL is ready! */ } /* dirty absolute URL */ $abs = "$host$path/$rel"; function api_version() { return $base.$rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == .

New Pull Request