Changes for page Exports

Last modified by Vincent Massol on 2024/01/05

<
From version < 47.1 >
edited by Thomas Mortagne
on 2015/09/17
To version < 45.1 >
edited by Silvia Macovei
on 2014/12/09
>
Change comment: Upload new image ExportFlamingo.png

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.SilviaRusu
Content
... ... @@ -2,14 +2,12 @@
2 2  {{toc/}}
3 3  {{/box}}
4 4  
5 -XWiki offers the ability to export a single wiki page or a set of wiki pages into several formats. To perform a page export click on "Export" in the "More actions" menu, then click "Export as PDF".
5 +XWiki offers the ability to export a single wiki page or a set of wiki pages into several formats. To perform a page export simply hover over the "Export" menu and select the type of export you wish to perform as you can see in the following screenshot:
6 6  
7 -{{image reference="ExportFlamingo.png"/}}
7 +{{image reference="ExportColibri.png"/}}
8 8  
9 -{{image reference="ExportFlamingoPDF.png"/}}
9 +// "Export" as it appears using the Colibri Skin when logged in. //
10 10  
11 -// "Export" as it appears using the Flamingo Skin. //
12 -
13 13  {{warning}}
14 14  Right now we don't have any user interface for exporting a set of wiki pages. This is a [[work in progress>>http://jira.xwiki.org/jira/browse/XWIKI-1289]]. However it's possible to export a set of pages by following the instructions below for each export format.
15 15  {{/warning}}
... ... @@ -43,14 +43,14 @@
43 43  * ##attachments##: if set to ##1## then also export the attachments (only if they are images).
44 44  
45 45  {{info}}
46 -It's also possible to [[customize how the generated PDF looks like>>platform:AdminGuide.Configuration#HCustomizingthePDFexportLook26Feel]]. There's a panel that provides [[an UI for PDF Export options.>>extensions:Extension.PDF Export Panel Application]]
44 +It's also possible to [[customize how the generated PDF looks like>>platform:AdminGuide.Configuration#HCustomizingthePDFexportLook26Feel]].There's a panel that provides [[an UI for PDF Export options.>>extensions:Extension.PDF Export Panel Application]]
47 47  {{/info}}
48 48  
49 49  = ODT Export =
50 50  
51 -{{image reference="ExportFlamingoPDF.png"/}}
49 +{{image reference="exportAsODT.png"/}}
52 52  
53 -If you configure your wiki to work with an office server ([[LibreOffice>>http://www.libreoffice.org/]] or [[OpenOffice>>http://www.openoffice.org/]]) as described in the [[Office Importer Application>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application]] you'll notice a new entry in the export modal popup (as long as you are connected to the office server).
51 +If you configure your wiki to work with an office server ([[LibreOffice>>http://www.libreoffice.org/]] or [[OpenOffice>>http://www.openoffice.org/]]) as described in the [[Office Importer Application>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application]] you'll notice a new entry in the export menu (as long as you are connected to the office server).
54 54  
55 55  {{info}}
56 56  You can tweak the export URL to export to other office formats supported by your office server. For instance ##/xwiki/bin/export/Sandbox/WebHome?format=doc## exports Sandbox.WebHome page to Microsoft Word's proprietary DOC format.
... ... @@ -66,7 +66,7 @@
66 66  
67 67  The XAR export allows exporting pages in the internal XML format used by XWiki. This is the format that you can use to [[Import/Export>>platform:AdminGuide.ImportExport]] pages and applications into/from XWiki instances.
68 68  
69 -To export a wiki as a XAR use the action menu as explained above or use the following type of URL:
67 +To export a page as a XAR use the action menu as explained above or use the following type of URL:
70 70  
71 71  {{code language="none"}}
72 72  http://server/xwiki/bin/export/Space/Page?format=xar
... ... @@ -74,25 +74,19 @@
74 74  
75 75  In addition the following URL parameters can be added to refine what should be exported:
76 76  
77 -* ##pages##: there can be several such parameters, each representing a pattern of pages to export (prior to XWiki 6.3, only fixed page names could be specified, not patterns). Here is the format of an export pattern:(((
78 -wikiid:pageFullNamePattern* ##wikiid##: the name of the wiki from where to get the wiki pages
79 -
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
80 80  * ##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.
81 81  
82 82  Some examples:
83 -
84 84  * Exports all pages in the ##Main## wiki:(((
85 85  {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.%25{{/code}}
86 86  )))
87 87  * Exports all pages in the current wiki:(((
88 -{{code language="none"}}
89 -http://server/xwiki/bin/export/Space/Page?format=xar&pages=%25.%25
90 -{{/code}}
84 +{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=%25.%25{{/code}}
91 91  )))
92 92  * Exports the pages ##Main.WebHome## and ##Blog.WebHome##:(((
93 -{{code language="none"}}
94 -http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.WebHome&pages=Blog.WebHome
95 -{{/code}}
87 +{{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=xar&pages=Main.WebHome&pages=Blog.WebHome{{/code}}
96 96  )))
97 97  )))
98 98  * ##history##: if defined then also export the page's history. Example: ##&history=true##
... ... @@ -116,12 +116,11 @@
116 116  
117 117  * ##name##: the name of the generated Zip file.
118 118  * ##description##: the comment in the generated Zip file.
119 -* ##pages##: there can be several such parameters, each representing a pattern of pages to export. Here is the format of an export pattern: (((
120 -wikiid:pageFullNamePattern####* ##wikiid##: the name of the wiki from where to get the wiki pages
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
121 121  * ##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.
122 122  
123 123  Some examples:
124 -
125 125  * Exports the current page from the current wiki:(((
126 126  {{code language="none"}}http://server/xwiki/bin/export/Space/Page?format=html{{/code}}
127 127  )))

Get Connected