This plugin allows you to export a page to a plain text format usable as a simple document or to be used in further processing.
To export a single page add the following parameter to the page URL:
<pagename>?do=export_text
To get a copy of rendered text in PHP (i.e. from a button or some other plugin) use:
global $ID; $ID = $id; //necessary for correct metadata handling $text = p_cached_output(wikiFN($id),'text');