Changes for page Exports

Last modified by Oana Florea on 2020/07/01

From version < 17.1 >
edited by Guillaume Lerouge
on 2009/10/21
To version < 18.1 >
edited by Thomas Mortagne
on 2010/01/11
< >
Change comment: wikinamepattern is not supported actually

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.GuillaumeLerouge
1 +XWiki.ThomasMortagne
Content
... ... @@ -1,8 +1,8 @@
1 -
2 -(% class="floatinginfobox" %)(((
1 +(% class="floatinginfobox" %)
2 +(((
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,6 +26,7 @@
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 +
29 29  * ##pages##: there can be several such parameters, each representing a page to export. For example: ##&pages=Main.WebHome&pages=Blog.WebHome##.
30 30  * ##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.
31 31  * ##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.
... ... @@ -72,9 +72,9 @@
72 72  
73 73  * ##name##: the name of the generated Zip file.
74 74  * ##description##: the comment in the generated Zip file.
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.
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.
78 78  
79 79  Some examples :
80 80  
... ... @@ -93,7 +93,3 @@
93 93  * Exports all the pages from the ##Space## space located in the ##wiki2## subwiki:
94 94  
95 95  {{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