Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ManuelSmeria1 +XWiki.VincentMassol - Content
-
... ... @@ -48,12 +48,18 @@ 48 48 49 49 {{image reference="exportAsODT.png"/}} 50 50 51 -If you configure your wiki to work with an office server ([[LibreOffice>>http://www.libreoffice.org/]] or [[OpenOffice>>http://www.openoffice.org/]]) as described in the [[Office Importer Application>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application]] you'll notice a new entry in the export menu (as long as you are connected to the office server). By default only the ODT ([[OpenDocument>>http://opendocument.xml.org/]] Text format) export is exposed but you can tweak the export URL to export to other office formats supported by your office server. For instance ##/xwiki/bin/export/Sandbox/WebHome?format=doc## exports Sandbox.WebHome page to Microsoft Word's proprietary DOC format.51 +If you configure your wiki to work with an office server ([[LibreOffice>>http://www.libreoffice.org/]] or [[OpenOffice>>http://www.openoffice.org/]]) as described in the [[Office Importer Application>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application]] you'll notice a new entry in the export menu (as long as you are connected to the office server). 52 52 53 +{{info}} 54 +You can tweak the export URL to export to other office formats supported by your office server. For instance ##/xwiki/bin/export/Sandbox/WebHome?format=doc## exports Sandbox.WebHome page to Microsoft Word's proprietary DOC format. 55 +{{/info}} 56 + 53 53 = RTF Export = 54 54 55 -The RTF export works exactlyin the same manner as the PDF export.59 +The RTF export works in the same manner as the PDF export. 56 56 61 +{{info}}XWiki 6.2{{/info}} Similar to the ODT export, you need an office server started to see the RTF export option. 62 + 57 57 = XAR Export = 58 58 59 59 The XAR export allows exporting pages in the internal XML format used by XWiki. This is the format that you can use to [[Import/Export>>platform:AdminGuide.ImportExport]] pages and applications into/from XWiki instances. ... ... @@ -66,7 +66,21 @@ 66 66 67 67 In addition the following URL parameters can be added to refine what should be exported: 68 68 69 -* ##pages##: there can be several such parameters, each representing a page to export. For example: ##&pages=Main.WebHome&pages=Blog.WebHome##. 75 +* ##pages##: there can be several such parameters, each representing a pattern of pages to export. Here is the format of an export pattern: ##wikiid:pageFullNamePattern##((( 76 +* ##wikiid##: the name of the wiki from where to get the wiki pages 77 +* ##pageFullNamePattern##: the full name pattern of the page based on [[SQL "LIKE" comparator>>http://www.techonthenet.com/sql/like.php]]. Remember that the character {{{%}}} has to be converted in {{{%25}}} in an URL. 78 + 79 +Some examples: 80 +* Exports all pages in the ##Main## wiki:((( 81 +{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.%25{{/code}} 82 +))) 83 +* Exports all pages in the current wiki:((( 84 +{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=%25.%25{{/code}} 85 +))) 86 +* Exports the pages ##Main.WebHome## and ##Blog.WebHome##:((( 87 +{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.WebHome&pages=Blog.WebHome{{/code}} 88 +))) 89 +))) 70 70 * ##history##: if defined then also export the page's history. Example: ##&history=true## 71 71 * ##backup##: if defined then the XWiki document author of each page remains the same as the one exported when reimporting into an XWiki instance. 72 72 * ##author##: if defined, specifies the author's name in the XAR export which can later be viewed when reimporting into an XWiki instance. ... ... @@ -88,12 +88,11 @@ 88 88 89 89 * ##name##: the name of the generated Zip file. 90 90 * ##description##: the comment in the generated Zip file. 91 -* ##pages##: there can be several such parameters, each representing a pattern of pages to export. Here is the format of an export pattern: ##wikiid:pageFullNamePattern## 92 -* *##wikiid##: the name of the wiki from where to get the wiki pages93 -* *##pageFullNamePatern##: the full name pattern of the page based on [[SQL "LIKE" comparator>>http://www.techonthenet.com/sql/like.php]]. Remember that the character % has to be converted in %25 in an URL.111 +* ##pages##: there can be several such parameters, each representing a pattern of pages to export. Here is the format of an export pattern: ##wikiid:pageFullNamePattern##((( 112 +* ##wikiid##: the name of the wiki from where to get the wiki pages 113 +* ##pageFullNamePattern##: the full name pattern of the page based on [[SQL "LIKE" comparator>>http://www.techonthenet.com/sql/like.php]]. Remember that the character {{{%}}} has to be converted in {{{%25}}} in an URL. 94 94 95 -Some examples : 96 - 115 +Some examples: 97 97 * Exports the current page from the current wiki:((( 98 98 {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html{{/code}} 99 99 ))) ... ... @@ -102,6 +102,7 @@ 102 102 http://server/xwiki/bin/export/Space/Page?format=html&name=packagename 103 103 {{/code}} 104 104 ))) 124 +))) 105 105 * Exports all the pages from the ##Space## space as well as the ##Space2.Page## page from the current wiki:((( 106 106 {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html&pages=Space.%25&pages=Space2.Page{{/code}} 107 107 )))