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 [2016-02-04 19:47]
129.82.128.72 [Page Export]
export [2017-10-03 11:37] (current)
Aleksandr
Line 2: Line 2:
  
 Single wiki pages can be exported to various formats with the ''​export''​ [[devel:​action_modes|action]]. ​ Single wiki pages can be exported to various formats with the ''​export''​ [[devel:​action_modes|action]]. ​
- 
  
 ===== Default export formats ===== ===== Default export formats =====
Line 10: Line 9:
   * ''​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 =====
Line 33: Line 32:
   * 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: ​''​%%wget -E -r http://​wiki.foo.tld/​doku.php?​id=start -l 0 --header="​X-DokuWiki-Do:​ export_xhtml"​%%''​+    * Example: ​<​code>​wget -E -r http://​wiki.foo.tld/​doku.php?​id=start -l 0 --header="​X-DokuWiki-Do:​ export_xhtml"​</​code>​
export.1454611635.txt.gz · Last modified: 2016-02-04 19:47 by 129.82.128.72