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 |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<< [[DokuWiki]] | << [[DokuWiki]] | ||
== Naive support without installation of plugin == | |||
單一的頁面可以有多種的輸出格式。網址需'''加上合適的 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 | ||
Translated from [https://www.dokuwiki.org/export export (DokuWiki)] | |||
notes | notes | ||
* 文件內輸入~~NOTOC~~ ,強制關閉TOC(文件目次)。 | * 文件內輸入~~NOTOC~~ ,強制關閉TOC(文件目次)。 | ||
== Other plugins == | |||
* [https://www.dokuwiki.org/plugin:text plugin:text (DokuWiki)] "Exports or Renders a page as plain text" 增加 {{kbd |key=<nowiki><pagename>?do=export_text</nowiki>}},瀏覽器可直接顯示 | |||
* [https://www.dokuwiki.org/plugin:xml plugin:xml (DokuWiki)] "Renders dokuwiki as simple XML output." 增加 {{kbd |key=<nowiki><pagename>?do=export_xml</nowiki>}},瀏覽器會下載檔案 | |||
[[Category:Wiki]] | [[Category:Wiki]] | ||