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. VincentMassol1 +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 pageas a XAR use the action menu as explained above or use the following type of URL:69 +To export a wiki 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 ... ... @@ -74,19 +74,25 @@ 74 74 75 75 In addition the following URL parameters can be added to refine what should be exported: 76 76 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: ##wikiid:pageFullNamePattern##((( 78 -* ##wikiid##: the name of the wiki from where to get the wiki pages 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 +wikiid:pageFullNamePattern* ##wikiid##: the name of the wiki from where to get the wiki pages 79 + 79 79 * ##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. 80 80 81 81 Some examples: 83 + 82 82 * Exports all pages in the ##Main## wiki:((( 83 83 {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.%25{{/code}} 84 84 ))) 85 85 * Exports all pages in the current wiki:((( 86 -{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=%25.%25{{/code}} 88 +{{code language="none"}} 89 +http://server/xwiki/bin/export/Space/Page?format=xar&pages=%25.%25 90 +{{/code}} 87 87 ))) 88 88 * Exports the pages ##Main.WebHome## and ##Blog.WebHome##:((( 89 -{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.WebHome&pages=Blog.WebHome{{/code}} 93 +{{code language="none"}} 94 +http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.WebHome&pages=Blog.WebHome 95 +{{/code}} 90 90 ))) 91 91 ))) 92 92 * ##history##: if defined then also export the page's history. Example: ##&history=true## ... ... @@ -110,11 +110,12 @@ 110 110 111 111 * ##name##: the name of the generated Zip file. 112 112 * ##description##: the comment in the generated Zip file. 113 -* ##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##(((114 -* ##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 115 115 * ##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. 116 116 117 117 Some examples: 124 + 118 118 * Exports the current page from the current wiki:((( 119 119 {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html{{/code}} 120 120 )))