Changes for page Exports

Last modified by Vincent Massol on 2024/01/05

<
From version < 85.1 >
edited by Simon Urli
on 2018/10/03
To version < 86.1 >
edited by Simon Urli
on 2018/10/03
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -128,7 +128,10 @@
128 128  {{code language="none"}}
129 129  http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.WebHome&pages=Blog.WebHome
130 130  {{/code}}
131 -)))(Since {{info}}10.9RC1{{/info}})
131 +)))
132 +
133 +Since {{info}}10.9RC1{{/info}}:
134 +
132 132  * Exports all pages in the ##Main## space except pages under ##Main.Space1## space, and all pages under ##Other## space:(((
133 133  {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.%25&excludes=Main.Space1.%25&pages=Other.%25{{/code}}
134 134  )))
... ... @@ -185,6 +185,7 @@
185 185  * ##wikiid##: the name of the wiki from where to get the wiki pages
186 186  * ##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.
187 187  )))
191 +* (Since {{info}}10.9RC1{{/info}}) ##excludes##: there can also be several such parameter, each representing a pattern, or list of pages associated to a ##pages## pattern. The format is the same as for pages except all special characters must be encoding in the URL. Also, as the parameter is attached to a ##pages## parameter, be careful with the order. See the examples below.
188 188  
189 189  Some examples:
190 190  
... ... @@ -204,3 +204,19 @@
204 204  http://server/xwiki/bin/export/Space/Page?format=html&pages=wiki2:Space.%25
205 205  {{/code}}
206 206  )))
211 +
212 +Since {{info}}10.9RC1{{/info}}:
213 +
214 +* Exports all pages in the ##Main## space except pages under ##Main.Space1## space, and all pages under ##Other## space:(((
215 +{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html&pages=Main.%25&excludes=Main.Space1.%25&pages=Other.%25{{/code}}
216 +)))
217 +* Exports all pages in the ##subwiki:Main## space except a page named ##subwiki:Main.Excluded&Other## and ##subwiki:Main.WebHome##:(((
218 +{{code language="none"}}
219 +http://server/xwiki/bin/export/Space/Page?format=html&pages=subwiki:Main.%25&excludes=subwiki%3AMain.Excluded%26Other&subwiki%3AMain.WebHome
220 +{{/code}}
221 +)))
222 +* Exports all pages in the ##Main## space and all in the ##Other## space except ##Other.Excluded## (see the empty excludes for respecting the order):(((
223 +{{code language="none"}}
224 +http://server/xwiki/bin/export/Space/Page?format=html&pages=Main.%25&excludes=&pages=Other.%25&excludes=Other.Excluded
225 +{{/code}}
226 +)))

Get Connected