DokuWiki export: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
m (Text replacement - "http://wiki.splitbrain.org/" to "https://www.dokuwiki.org/") |
mNo edit summary |
||
| Line 3: | Line 3: | ||
單一的頁面可以有多種的輸出格式。網址需'''加上合適的 do 變數''': | 單一的頁面可以有多種的輸出格式。網址需'''加上合適的 do 變數''': | ||
* export_raw | * export_raw | ||
** | ** 將頁面原始碼輸出為純文字檔,瀏覽器會下載檔案 | ||
** Example: https://www.dokuwiki.org/ | ** Example: https://www.dokuwiki.org/dokuwiki?do=export_raw or https://www.dokuwiki.org/doku.php?id=dokuwiki&do=export_raw | ||
* export_xhtml | * export_xhtml | ||
** 輸出為XHTML但不含導覽列(首頁, 最近更新等部份) | ** 輸出為XHTML但不含導覽列(首頁, 最近更新等部份),瀏覽器可直接顯示 | ||
** Example: https://www.dokuwiki.org/ | ** Example: https://www.dokuwiki.org/dokuwiki&do=export_xhtml or https://www.dokuwiki.org/?id=dokuwiki&do=export_xhtml | ||
* export_xhtmlbody | * export_xhtmlbody | ||
** 輸出為XHTML但不含導覽列及標頭部份(head, body tags, content type headers) | ** 輸出為XHTML但不含導覽列及標頭部份(head, body tags, content type headers),瀏覽器可直接顯示 | ||
** 適合將輸出部分[[Include the content from other webpages|嵌入到其他網站]] | ** 適合將輸出部分[[Include the content from other webpages|嵌入到其他網站]] | ||
** Example: https://www.dokuwiki.org/ | ** Example: https://www.dokuwiki.org/dokuwiki?do=export_xhtmlbody or https://www.dokuwiki.org/?id=dokuwiki&do=export_xhtmlbody | ||
* 其他輸出格式, 請見Dokiwiki上的[https://www.dokuwiki.org/wiki:discussion:exporting 討論頁] | * 其他輸出格式, 請見Dokiwiki上的[https://www.dokuwiki.org/wiki:discussion:exporting 討論頁] | ||