DokuWiki export: Difference between revisions
Jump to navigation
Jump to search
m (7個修訂) |
m (Text replacement - "http://wiki.splitbrain.org/" to "https://www.dokuwiki.org/") |
||
| Line 4: | Line 4: | ||
* export_raw | * export_raw | ||
** 將頁面原始碼輸出為純文字 | ** 將頁面原始碼輸出為純文字 | ||
** Example: | ** Example: https://www.dokuwiki.org/wiki:export?do=export_raw or https://www.dokuwiki.org/doku.php?id=wiki:export&do=export_raw | ||
* export_xhtml ('''常用!''') | * export_xhtml ('''常用!''') | ||
** 輸出為XHTML但不含導覽列(首頁, 最近更新等部份) | ** 輸出為XHTML但不含導覽列(首頁, 最近更新等部份) | ||
** Example: | ** Example: https://www.dokuwiki.org/wiki:export?do=export_xhtml or https://www.dokuwiki.org/?id=wiki:export&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: | ** Example: https://www.dokuwiki.org/wiki:export?do=export_xhtmlbody or https://www.dokuwiki.org/?id=wiki:export&do=export_xhtmlbody | ||
* 其他輸出格式, 請見Dokiwiki上的[ | * 其他輸出格式, 請見Dokiwiki上的[https://www.dokuwiki.org/wiki:discussion:exporting 討論頁] | ||
translated from | translated from https://www.dokuwiki.org/wiki:export (revision: v.2006-11-30 20:47) | ||
Revision as of 23:31, 19 February 2022
<< DokuWiki
單一的頁面可以有多種的輸出格式。網址需加上合適的 do 變數:
- export_raw
- export_xhtml (常用!)
- 輸出為XHTML但不含導覽列(首頁, 最近更新等部份)
- Example: https://www.dokuwiki.org/wiki:export?do=export_xhtml or https://www.dokuwiki.org/?id=wiki:export&do=export_xhtml
- export_xhtmlbody
- 輸出為XHTML但不含導覽列及標頭部份(head, body tags, content type headers)
- 適合將輸出部分嵌入到其他網站
- Example: https://www.dokuwiki.org/wiki:export?do=export_xhtmlbody or https://www.dokuwiki.org/?id=wiki:export&do=export_xhtmlbody
- 其他輸出格式, 請見Dokiwiki上的討論頁
translated from https://www.dokuwiki.org/wiki:export (revision: v.2006-11-30 20:47)
notes
- 文件內輸入~~NOTOC~~ ,強制關閉TOC(文件目次)。