From version < 47.1 >
edited by Thomas Mortagne
on 2015/09/17
To version < 48.2 >
edited by Vincent Massol
on 2015/09/17
< >
Change comment: More precision

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.VincentMassol
Content
... ... @@ -66,10 +66,10 @@
66 66  
67 67  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.
68 68  
69 -To export a wiki as a XAR use the action menu as explained above or use the following type of URL:
69 +To export a page as a XAR use the action menu as explained above or use the following type of URL (note that the ##Space/Page## part in the URL is ignored and the Export action only takes into account the ##pages## Query String parameter):
70 70  
71 71  {{code language="none"}}
72 -http://server/xwiki/bin/export/Space/Page?format=xar
72 +http://server/xwiki/bin/export/Space/Page?format=xar&pages=Space.Page
73 73  {{/code}}
74 74  
75 75  In addition the following URL parameters can be added to refine what should be exported:
... ... @@ -116,8 +116,9 @@
116 116  
117 117  * ##name##: the name of the generated Zip file.
118 118  * ##description##: the comment in the generated Zip file.
119 -* ##pages##: there can be several such parameters, each representing a pattern of pages to export. Here is the format of an export pattern: (((
120 -wikiid:pageFullNamePattern####* ##wikiid##: the name of the wiki from where to get the wiki pages
119 +* ##pages##: there can be several such parameters, each representing a pattern of pages to export. Here is the format of an export pattern:(((
120 +wikiid:pageFullNamePattern* ##wikiid##: the name of the wiki from where to get the wiki pages
121 +
121 121  * ##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.
122 122  
123 123  Some examples:

Get Connected