DokuWiki

It's better when it's simple

User Tools

Site Tools


export

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
export [2011-08-18 16:54]
193.120.90.35
export [2017-10-03 11:37] (current)
Aleksandr
Line 4: Line 4:
  
 ===== Default export formats ===== ===== Default export formats =====
 +
 The following export options are available by default: The following export options are available by default:
  
   * ''​export_raw''​   * ''​export_raw''​
     * Returns the page's source as ''​text/​plain''​     * Returns the page's source as ''​text/​plain''​
-    * Example: ​http://​www.dokuwiki.org/​export?​do=export_raw+    * Example: ​https://​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.     * 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''​   * ''​export_xhtml''​
     * Returns the rendered page as simple XHTML without any navigational elements     * Returns the rendered page as simple XHTML without any navigational elements
-    * Example: ​http://​www.dokuwiki.org/​export?​do=export_xhtml +    * Example: ​https://​www.dokuwiki.org/​export?​do=export_xhtml 
-    * Example 2:  ​http://​www.dokuwiki.org/​doku.php?​id=export&​do=export_xhtml+    * Example 2:  ​https://​www.dokuwiki.org/​doku.php?​id=export&​do=export_xhtml
   * ''​export_xhtmlbody''​   * ''​export_xhtmlbody''​
     * Returns the rendered XHTML of the page only.     * Returns the rendered XHTML of the page only.
     * No head or body tags are added. No contenttype headers are sent.     * No head or body tags are added. No contenttype headers are sent.
     * Useful to include the rendered output into some other website     * Useful to include the rendered output into some other website
-    * Example: ​http://​www.dokuwiki.org/​export?​do=export_xhtmlbody+    * Example: ​https://​www.dokuwiki.org/​export?​do=export_xhtmlbody
  
 ===== Other export format ===== ===== Other export format =====
-Export formats can be extended through [[plugins]]. Also check the [[tips]] section to find other export formats.+ 
 +Export formats can be extended through ​render ​[[plugins|plugins]]. Also check the [[tips]] section to find other export formats.
  
   * The [[plugin:​odt|ODT plugin]] for example uses ''​export_odt''​.   * The [[plugin:​odt|ODT plugin]] for example uses ''​export_odt''​.
-  * All available ​render plugins: ​[[http://​www.dokuwiki.org/​plugins?​plugintype=8]]+  * All available [[plugintype>8#​extension__table|Render Plugins]]
  
 ===== Configuration ===== ===== Configuration =====
 +
   * Please be sure the ''​export''​ action is not [[config:​disableactions|disabled]]   * 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 be useful for creating a static dump with a website spider.   * You can specify the ''​do''​ parameter as an HTTP header called ''​X-DOKUWIKI-DO'',​ too. This may be useful for creating a static dump with a website spider.
 +    * Example: <​code>​wget -E -r http://​wiki.foo.tld/​doku.php?​id=start -l 0 --header="​X-DokuWiki-Do:​ export_xhtml"</​code>​
export.1313679256.txt.gz · Last modified: 2011-08-18 16:54 by 193.120.90.35