3 WikiFeatures:SnippetPublishing, this plugin provides the action "htm"
4 to allow external sites to 'embed' the bare html content of a page
5 using an URL like "http://example.com/ewiki/?id=PageName&action=htm"
8 $ewiki_plugins["action"]["htm"] = "ewiki_action_htm";
9 function ewiki_action_htm($id, &$data, $action) {
10 die(ewiki_page_view($id, $data, $action, $_full_page=0));