Changes for page Exports

Last modified by Vincent Massol on 2024/01/05

<
From version < 18.1 >
edited by Thomas Mortagne
on 2010/01/11
To version < 17.1 >
edited by Guillaume Lerouge
on 2009/10/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.GuillaumeLerouge
Content
... ... @@ -1,8 +1,8 @@
1 -(% class="floatinginfobox" %)
2 -(((
1 +
2 +(% class="floatinginfobox" %)(((
3 3  **Contents**
4 4  
5 -{{toc start="2" depth="3" numbered="false" scope="page"/}}
5 +{{toc start=2 depth=3 numbered=false scope=page /}}
6 6  )))
7 7  
8 8  = Exports =
... ... @@ -26,7 +26,6 @@
26 26  {{code language="none"}}http://server/xwiki/bin/export/Spave/Page?format=pdf{{/code}}
27 27  
28 28  In addition the following URL parameters can be added to refine what should be exported:
29 -
30 30  * ##pages##: there can be several such parameters, each representing a page to export. For example: ##&pages=Main.WebHome&pages=Blog.WebHome##.
31 31  * ##includechilds##: the value is a number specifying the depth of children pages to include in the PDF export. For example ##&includechilds=2## will include all children pages of the page to export, all its children (i.e. pages which have the page as its parent) and all the children's children.
32 32  * ##includelinks##: the value is a number specifying the depth of linked pages to include in the PDF export. For example ##&includelinks=2## will include all pages linked from the page to export and the links in the linked pages.
... ... @@ -73,9 +73,9 @@
73 73  
74 74  * ##name##: the name of the generated Zip file.
75 75  * ##description##: the comment in the generated Zip file.
76 -* ##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##
77 -** ##wikiid##: the name of the wiki from where to get the wiki pages
78 -** ##pageFullNamePatern##: the full name pattern of the page based on [[HQL "LIKE" comparator>>http://www.techonthenet.com/sql/like.php]]. Remember that the character % has to be converted in %25 in an URL.
75 +* ##pages##: there can be several such parameters, each representing a pattern of pages to export. Here is the format of an export pattern: ##wikinamepattern:pageFullNamePattern##
76 + ** ##wikinamepattern##: the name of the wiki based on [[Java regular expressions>>http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html#construct]]
77 + ** ##pageFullNamePatern##: the full name pattern of the page based on [[HQL "LIKE" comparator>>http://www.techonthenet.com/sql/like.php]]. Remember that the character % has to be converted in %25 in an URL.
79 79  
80 80  Some examples :
81 81  
... ... @@ -94,3 +94,7 @@
94 94  * Exports all the pages from the ##Space## space located in the ##wiki2## subwiki:
95 95  
96 96  {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html&pages=wiki2:Space.%25{{/code}}
96 +
97 +* Exports all the pages from all wikis/subwikis:
98 +
99 +{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html&pages=.*:%25{{/code}}

Get Connected