3
1
Back

(available here). Control label font so we don't need to call out for) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && Various updates, additions /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } function hook_render_article($article) { return $rel; } /* replace '//' or '/./' or '/foo/../' with '/' */ } function get_img_tags($xpath, $query, $article) { function rel2abs($rel, $base.

New Pull Request