//currently translating// FIXME ====== 匯出頁面 ====== 一個 Wiki 頁面可以用 ''export'' [[devel:action_modes|action]] (匯出動作)匯出多種格式。 ===== 預設匯出格式 ===== 下列是預設可用的匯出匯出選項: * ''export_raw'' * 回傳 ''text/plain'' 形式的頁面原始檔 * 範例: 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'' * 回傳不含任何導覽元素、編譯過((指從 DokuWiki 語法轉成 XHTML))的 XHTML * 範例: http://www.dokuwiki.org/export?do=export_xhtml * 範例2: http://www.dokuwiki.org/doku.php?id=export&do=export_xhtml * ''export_xhtmlbody'' * 只回傳該頁編譯過((指從 DokuWiki 語法轉成 XHTML))的 XHTML * 不包含 head 或 body 標籤。沒有 content type headers 。 * 在將編譯過的結果加入其他網頁時很實用。 * 範例: http://www.dokuwiki.org/export?do=export_xhtmlbody ===== 其他匯出格式 ===== 可利用 [[plugins]] 增加匯出格式。你也可以在 [[tips]] 中找到其他匯出格式。 * 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.