DokuWiki export: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<< [[DokuWiki]]
<< [[DokuWiki]]


單一的頁面可以有多種的輸出格式。網址需加上合適的 do 變數:
== Naive support without installation of plugin ==
單一的頁面可以有多種的輸出格式。網址需'''加上合適的 do 變數''':
* export_raw
* export_raw
** 將頁面原始碼輸出為純文字
** 將頁面原始碼輸出為純文字檔,瀏覽器會下載檔案
** Example: http://wiki.splitbrain.org/wiki:export?do=export_raw or         http://wiki.splitbrain.org/doku.php?id=wiki:export&do=export_raw
** 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: http://wiki.splitbrain.org/wiki:export?do=export_xhtml
** 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),瀏覽器可直接顯示
** 適合將輸出部分嵌入({{Acronym | acronym=SSI | def=Server Side Include}}[http://dob.tnc.edu.tw/themes/old/showPage.php?s=1997&t=3&at=], [http://www.w3.org/TR/html401/present/frames.html#h-16.5 iframe tag], [http://www.w3.org/TR/html4/struct/objects.html#h-13.5 object tag], {{Acronym | acronym=PHP | def=Hypertext Preprocessor}} [http://tw.php.net/include/ include function])到其他網站
** 適合將輸出部分[[Include the content from other webpages|嵌入到其他網站]]
** Example: http://wiki.splitbrain.org/wiki:export?do=export_xhtmlbody
** Example: https://www.dokuwiki.org/dokuwiki?do=export_xhtmlbody or https://www.dokuwiki.org/?id=dokuwiki&do=export_xhtmlbody


* 其他輸出格式, 請見Dokiwiki上的[http://wiki.splitbrain.org/wiki:discussion:exporting 討論頁]
Translated from [https://www.dokuwiki.org/export export (DokuWiki)]




translated from http://wiki.splitbrain.org/wiki:export (revision: v.2006-11-30 20:47)
notes
* 文件內輸入~~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]]

Latest revision as of 23:55, 19 February 2022

<< DokuWiki

Naive support without installation of plugin[edit]

單一的頁面可以有多種的輸出格式。網址需加上合適的 do 變數

Translated from export (DokuWiki)


notes

  • 文件內輸入~~NOTOC~~ ,強制關閉TOC(文件目次)。

Other plugins[edit]

  • plugin:text (DokuWiki) "Exports or Renders a page as plain text" 增加 <pagename>?do=export_text,瀏覽器可直接顯示
  • plugin:xml (DokuWiki) "Renders dokuwiki as simple XML output." 增加 <pagename>?do=export_xml,瀏覽器會下載檔案