Changes for page Exports

Last modified by Vincent Massol on 2024/01/05

<
From version < 41.1 >
edited by Vincent Massol
on 2014/09/15
To version < 43.1 >
edited by Silvia Macovei
on 2014/12/09
>
Change comment: Upload new image pdfExportOptions.png

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.SilviaRusu
Content
... ... @@ -72,7 +72,21 @@
72 72  
73 73  In addition the following URL parameters can be added to refine what should be exported:
74 74  
75 -* ##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 +)))
76 76  * ##history##: if defined then also export the page's history. Example: ##&history=true##
77 77  * ##backup##: if defined then the XWiki document author of each page remains the same as the one exported when reimporting into an XWiki instance.
78 78  * ##author##: if defined, specifies the author's name in the XAR export which can later be viewed when reimporting into an XWiki instance.
... ... @@ -94,12 +94,11 @@
94 94  
95 95  * ##name##: the name of the generated Zip file.
96 96  * ##description##: the comment in the generated Zip file.
97 -* ##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##
98 -** ##wikiid##: the name of the wiki from where to get the wiki pages
99 -** ##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.
100 100  
101 -Some examples :
102 -
115 +Some examples:
103 103  * Exports the current page from the current wiki:(((
104 104  {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html{{/code}}
105 105  )))
... ... @@ -108,6 +108,7 @@
108 108  http://server/xwiki/bin/export/Space/Page?format=html&name=packagename
109 109  {{/code}}
110 110  )))
124 +)))
111 111  * Exports all the pages from the ##Space## space as well as the ##Space2.Page## page from the current wiki:(((
112 112  {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html&pages=Space.%25&pages=Space2.Page{{/code}}
113 113  )))
pdfExportOptions.png
Size
... ... @@ -1,1 +1,1 @@
1 -15.4 KB
1 +20.2 KB
Content

Get Connected