Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -53,23 +53,27 @@ 53 53 54 54 The HTML export allows exporting page as statics HTML,CSS, JavaScript... pages independent from xwiki engine. All pages are exported in view mode. That way you can export a whole space containing documentation and access it in your computer without any web server. 55 55 56 -To export a page as HTML use the action menu as explained above or use the following type of URL: 56 +To export a page as HTML use the action menu as explained above or use the following type of URL: 57 +{code:none} 57 57 http://server/xwiki/bin/export/Space/Page?format=html 59 +{code} 60 + 58 58 In addition the following URL parameters can be added to refine what should be exported: 59 -* name: The name of the generated ZIP package. 60 -* description: The comment in the generated ZIP package. 61 -* pages: There can be several such parameters, each representing a pattern of pages to export. Here is the form of an export pattern : \[wikinamepattern:\]PageFullNamePattern 62 - ** wikinamepattern : the name of the wiki based on JAVA regular expressions (See http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html#construct for details on syntax) 63 - ** PageFullNamePatern : the full name pattern of the page based on HQL ?LIKE? comparator (See http://www.techonthenet.com/sql/like.php for details on syntax). Remember that the character % has to be converted in %25 in an URL. 62 +* <tt>name</tt>: The name of the generated ZIP package. 63 +* <tt>description</tt>: The comment in the generated ZIP package. 64 +* <tt>pages</tt>: There can be several such parameters, each representing a pattern of pages to export. Here is the form of an export pattern : <tt>\[wikinamepattern:\]PageFullNamePattern</tt> 65 + ** <tt>wikinamepattern</tt> : the name of the wiki based on JAVA regular expressions (See http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html#construct for details on syntax) 66 + ** <tt>PageFullNamePatern</tt> : the full name pattern of the page based on HQL ?LIKE? comparator (See http://www.techonthenet.com/sql/like.php for details on syntax). Remember that the character % has to be converted in %25 in an URL. 64 64 65 65 66 66 Some examples : 67 67 68 -* http://server/xwiki/bin/export/Space/Page?format=html :export the current page from the current wiki69 -* http://server/xwiki/bin/export/Space/Page?format=html&name=packagename :export the current page from the current wiki in packagename.zip70 -* http://server/xwiki/bin/export/Space/Page?format=html&pages=Space.%25&pages=Space2.Page :export all the pages from space ?Space? as well as the page Space2.Page from the current wiki71 -* http://server/xwiki/bin/export/Space/Page?format=html&pages=wiki2:Space.%25 :export all the pages from space ?Space? from wiki ?wiki2?72 -* http://server/xwiki/bin/export/Space/Page?format=html&pages=.*:%25 :export all the pages from all wikis71 +* {code:none}http://server/xwiki/bin/export/Space/Page?format=html{code} export the current page from the current wiki 72 +* {code:none}http://server/xwiki/bin/export/Space/Page?format=html&name=packagename{code} export the current page from the current wiki in packagename.zip 73 +* {code:none}http://server/xwiki/bin/export/Space/Page?format=html&pages=Space.%25&pages=Space2.Page{code} export all the pages from space ?Space? as well as the page Space2.Page from the current wiki 74 +* {code:none}http://server/xwiki/bin/export/Space/Page?format=html&pages=wiki2:Space.%25{code} export all the pages from space ?Space? from wiki ?wiki2? 75 +* {code:none}http://server/xwiki/bin/export/Space/Page?format=html&pages=.*:%25{code} export all the pages from all wikis 73 73 74 74 75 75 79 +