Changes for page Exports
Last modified by Vincent Massol on 2024/01/05
To version 50.1
edited by Marius Dumitru Florea
on 2015/09/21
on 2015/09/21
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.mflorea - Content
-
... ... @@ -75,13 +75,23 @@ 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 -wikiid:pageFullNamePattern* ##wikiid##: the name of the wiki from where to get the wiki pages 78 +{{code language="none"}} 79 +wikiid:pageFullNamePattern 80 +{{/code}} 79 79 82 +* ##wikiid##: the name of the wiki from where to get the wiki pages 80 80 * ##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 +))) 85 +* ##history##: if defined then also export the page's history. Example: ##&history=true## 86 +* ##backup##: if defined then the XWiki document author of each page remains the same as the one exported when reimporting into an XWiki instance. 87 +* ##author##: if defined, specifies the author's name in the XAR export which can later be viewed when reimporting into an XWiki instance. 88 +* ##description##: if defined, gives a description added to the XAR export which can later be viewed when reimporting into an XWiki instance. 89 +* ##license##: if defined, specifies the license to the XAR export which can later be viewed when reimporting into an XWiki instance. 90 +* ##version##: if defined, specifies the version of the export to the XAR. 81 81 82 82 Some examples: 83 83 84 -* Exports all pages in the ##Main## wiki:(((94 +* Exports all pages in the ##Main## space:((( 85 85 {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.%25{{/code}} 86 86 ))) 87 87 * Exports all pages in the current wiki:((( ... ... @@ -94,13 +94,6 @@ 94 94 http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.WebHome&pages=Blog.WebHome 95 95 {{/code}} 96 96 ))) 97 -))) 98 -* ##history##: if defined then also export the page's history. Example: ##&history=true## 99 -* ##backup##: if defined then the XWiki document author of each page remains the same as the one exported when reimporting into an XWiki instance. 100 -* ##author##: if defined, specifies the author's name in the XAR export which can later be viewed when reimporting into an XWiki instance. 101 -* ##description##: if defined, gives a description added to the XAR export which can later be viewed when reimporting into an XWiki instance. 102 -* ##license##: if defined, specifies the license to the XAR export which can later be viewed when reimporting into an XWiki instance. 103 -* ##version##: if defined, specifies the version of the export to the XAR. 104 104 105 105 = HTML Export = 106 106 ... ... @@ -117,9 +117,13 @@ 117 117 * ##name##: the name of the generated Zip file. 118 118 * ##description##: the comment in the generated Zip file. 119 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 123 +{{code language="none"}} 124 +wikiid:pageFullNamePattern 125 +{{/code}} 121 121 127 +* ##wikiid##: the name of the wiki from where to get the wiki pages 122 122 * ##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 +))) 123 123 124 124 Some examples: 125 125 ... ... @@ -131,7 +131,6 @@ 131 131 http://server/xwiki/bin/export/Space/Page?format=html&name=packagename 132 132 {{/code}} 133 133 ))) 134 -))) 135 135 * Exports all the pages from the ##Space## space as well as the ##Space2.Page## page from the current wiki:((( 136 136 {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html&pages=Space.%25&pages=Space2.Page{{/code}} 137 137 )))