<
From version < 49.1 >
edited by Marius Dumitru Florea
on 2015/09/21
To version < 48.1 >
edited by Thomas Mortagne
on 2015/09/17
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.mflorea
1 +XWiki.ThomasMortagne
Content
... ... @@ -66,7 +66,7 @@
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 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):
69 +To export a page as a XAR use the action menu as explained above or use the following type of URL:
70 70  
71 71  {{code language="none"}}
72 72  http://server/xwiki/bin/export/Space/Page?format=xar&pages=Space.Page
... ... @@ -75,16 +75,13 @@
75 75  In addition the following URL parameters can be added to refine what should be exported:
76 76  
77 77  * ##pages##: there can be several such parameters, each representing a pattern of pages to export (prior to XWiki 6.3, only fixed page names could be specified, not patterns). Here is the format of an export pattern:(((
78 -{{code language="none"}}
79 -wikiid:pageFullNamePattern
80 -{{/code}}
78 +wikiid:pageFullNamePattern* ##wikiid##: the name of the wiki from where to get the wiki pages
81 81  
82 -* ##wikiid##: the name of the wiki from where to get the wiki pages
83 83  * ##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.
84 84  
85 85  Some examples:
86 86  
87 -* Exports all pages in the ##Main## space:(((
84 +* Exports all pages in the ##Main## wiki:(((
88 88  {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.%25{{/code}}
89 89  )))
90 90  * Exports all pages in the current wiki:(((
... ... @@ -120,11 +120,8 @@
120 120  * ##name##: the name of the generated Zip file.
121 121  * ##description##: the comment in the generated Zip file.
122 122  * ##pages##: there can be several such parameters, each representing a pattern of pages to export. Here is the format of an export pattern:(((
123 -{{code language="none"}}
124 -wikiid:pageFullNamePattern
125 -{{/code}}
120 +wikiid:pageFullNamePattern* ##wikiid##: the name of the wiki from where to get the wiki pages
126 126  
127 -* ##wikiid##: the name of the wiki from where to get the wiki pages
128 128  * ##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.
129 129  
130 130  Some examples:

Get Connected