From version < 16.2 >
edited by Silvia Macovei
on 2009/10/15
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.SilviaRusu
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.
... ... @@ -33,7 +33,10 @@
33 33  * ##comments##: if set to ##1## then also export the comments.
34 34  * ##attachments##: if set to ##1## then also export the attachments (only if they are images).
35 35  
36 -{{info}}It's also possible to [[customize how the generated PDF looks like>>platform:AdminGuide.Configuration#HCustomizingthePDFexportLook26Feel]].{{/info}}
37 +{{info}}
38 +It's also possible to [[customize how the generated PDF looks like>>platform:AdminGuide.Configuration#HCustomizingthePDFexportLook26Feel]].
39 +There's a panel that provides [[an UI for PDF Export options.>>code:Applications.PDFExportPanelApplication]]
40 +{{/info}}
37 37  
38 38  == RTF Export ==
39 39  
... ... @@ -69,9 +69,9 @@
69 69  
70 70  * ##name##: the name of the generated Zip file.
71 71  * ##description##: the comment in the generated Zip file.
72 -* ##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##
73 - ** ##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]]
74 - ** ##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.
75 75  
76 76  Some examples :
77 77  
... ... @@ -90,7 +90,3 @@
90 90  * Exports all the pages from the ##Space## space located in the ##wiki2## subwiki:
91 91  
92 92  {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html&pages=wiki2:Space.%25{{/code}}
93 -
94 -* Exports all the pages from all wikis/subwikis:
95 -
96 -{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html&pages=.*:%25{{/code}}

Get Connected