====== Page Export ====== Single wiki pages can be exported to various formats with the ''export'' [[devel:action_modes|action]]. ===== Default export formats ===== The following export options are available by default: * ''export_raw'' * Returns the page's source as ''text/plain'' * Example: http://www.dokuwiki.org/export?do=export_raw * If DokuWiki uses it as link to a new page wiki:export_do_export_raw then switch in the configuration area '' URL rewriting'' to DokuWiki. * ''export_xhtml'' * Returns the rendered page as simple XHTML without any navigational elements * Example: http://www.dokuwiki.org/export?do=export_xhtml * Example-2: http://www.dokuwiki.org/doku.php?id=export&do=export_xhtml * ''export_xhtmlbody'' * Returns the rendered XHTML of the page only. * No head or body tags are added. No contenttype headers are sent. * Useful to include the rendered output into some other website * Example: http://www.dokuwiki.org/export?do=export_xhtmlbody ===== Other export format ===== Export formats can be extended through [[plugins]]. Also check the [[tips]] section to find other export formats. * The [[plugin:odt|ODT plugin]] for example uses ''export_odt''. * All available render plugins: [[http://www.dokuwiki.org/plugins?plugintype=8]] ===== Configuration ===== * Please be sure the ''export'' action is not [[config:disableactions|disabled]] * You can specify the ''do'' parameter as an HTTP header called ''X-DOKUWIKI-DO'', too. This may useful for creating a static dump with a website spider.