Search: export space

Last modified by s203917 on 2025/09/16 14:43

      

Results 1 - 10 of 2,407 next page » Page 1 2 3 4 5 6 7 8 9 ... 241

Large Export By Space Application

Located in
Last modified by Thomas Mortagne on 2025/06/23 00:00
Title
Large Export By Space Application
Objects
id : calebjamesdelisle:large-export-by-space-application
name : Large Export By Space Application
tags : export
Attachment content
.*; import com.xpn.xwiki.util.Util; def getXAR(String filename, XWikiContext context) { def request = xcontext.getRequest(); def export = xcontext.getXWiki().getPluginApi("package", xcontext.getContext()); spaces = request.getParameterMap().get("spaces"); export.setWithVersions(true); export.setAuthorName("XWiki.Admin"); export.setDescription(""); export.setLicence(""); export.setVersion(""); export.setBackupPack(true); export.setName("backup"); def pack = export.getPackage(); for(space in spaces){ for(docName in xwiki.getSpaceDocsName(space)){ println "* Exported ${docName} page of space ${space}." pack.add(space+"."+docName, com.xpn.xwiki.plugin.packaging.DocumentInfo.ACTION_OVERWRITE, xcontext.getContext()); } } if(request.dir){ pack.exportToDir(new File(filename), xcontext.getContext()); }else{ pack.export(new FileOutputStream(new File(filename)), xcontext.getContext()); } } if (request.filename) { getXAR(request.filename,xcontext.getContext()) xcontext.put('displayForm',false) println "{{success}}Export is now finished. Check in the logs for any error{{/success}}" } else { println "== Large Export ==" xcontext.put('displayForm',true) } {{/groovy}} {{velocity}} #set($displayForm = $xcontext.get('displayForm')) #if($displayForm) {{html clean="false" wiki="true"}} <form action="" method="get"> <table border="0"> <tr> <td>File/directory to write to:</td><td><input type="text" name="filename" size="60" /></td> </tr> </table> #foreach($space in $xwiki.getSpaces()) * $space <input type="checkbox" name="spaces" value="$space"/> #end * **Don't zip files, output to directory.** <input type="checkbox" name="dir"/> <br/> <input type="submit" name="Export" /> </form> {{/html}} #end {{/velocity}} package.xml Main.largeExportBySpace LGPL XWiki 1.0.0 false false Main.largeExportBySpace
Attachment name
Main.largeExportBySpace.xar
exportShot.png
finishedExport.png
Page
Large Export By Space Application

XWiki MultipagePdfExport Application - Space Export

Located in
Last modified by Thomas Mortagne on 2025/06/04 08:09
Title
XWiki MultipagePdfExport Application - Space Export
Objects
description : This Application provides an interface for the [[Multipage PDF Export Api>>Multipage PDF Export]], that allows to export all the pages in a space with a hierarchy-like UI (uses the [[Hierarchy macro>>HierarchyMacro]]). == How to use == Navigate to the WebHome of the space you want to export pages from and add ##?
To fix that, you will have to include the ##XWiki.PDFExportSheet## in the ##WebHome## of the space you want to export instead of using it as a parameter.
name : XWiki MultipagePdfExport Application - Space Export
Attachment name
exportAlice.png
exportDanceLibrary.png
spaceIndex.png
Page
MultipagePdfExport Application - Space Export

Export Selected Pages/Spaces

Located in
Last modified by Guido Kracke on 2025/02/12 12:24
Title
Export Selected Pages/Spaces
Objects
id : kido:export-selected-pages/spaces
name : Export Selected Pages/Spaces
tags : export

How do I export all pages of a space?

Located in
Last modified by Thomas Mortagne on 2023/10/10 13:46
Title
How do I export all pages of a space?
Objects
Starting with XWiki 6.3 it's possible to manually craft an export URL that can export a whole space. See the [[XAR Export feature>>Documentation.UserGuide.Features.Exports#HXARExport]] for details on how to do this. However there's still currently no default UI allowing to export all pages of a space. There are [[several Export extensions that allow to export a space>>extensions:Main.Tags?do=viewTag&tag=export]], with some UI. For example, the [[Large Export by Space Application>>extensions:Extension.Large Export By Space Application]] should do the job.
Page
How do I export all pages of a space

Exports

Last modified by Nikita Petrenko on 2025/08/18 19:55
Rendered document content
Some examples: Exports all pages in the Main space: Exports all pages in the current wiki: Exports the pages Main.WebHome and Blog.WebHome: Exports all pages in the Main space except pages under Main.Space1 space, and all pages under Other space: Exports all pages in the subwiki:Main space except a page named subwiki:Main.Excluded&Other and subwiki:Main.WebHome: Exports all pages in the Main space and all in the Other space except Other.Excluded (see the empty excludes for respecting the order): HTML Export HTML export allows wiki pages to be exported as static HTML pages independent of the XWiki engine. All pages are exported in view mode. That way, you can export a whole space containing documentation and access it on your computer without any web server.
The format is the same as for pages, except all special characters must be encoded in the URL. Some examples: Exports the current page from the current wiki: Exports the current page from the current wiki in packagename.zip: Exports all the pages from the Space space as well as the Space2.Page page from the current wiki: Exports all the pages from the Space space located in the wiki2 subwiki: Exports all pages in the Main space except pages under Main.Space1 space, and all pages under Other space: Exports all pages in the subwiki:Main space except a page named subwiki:Main.Excluded&Other and subwiki:Main.WebHome: Exports all pages in the Main space and all in the Other space except Other.Excluded (see the empty excludes for respecting the order): Exports all pages from the current wiki: Exports all pages from the "somewiki" wiki: Troubleshooting Windows users may encounter a known issue when attempting to extract a ZIP archive.
Title
Exports
Raw document content
Some examples: * Exports all pages in the ##Main## space:((( {{code language="none"}} http://server/xwiki/bin/export/Space/Page?
format=html&pages=Space.%25&pages=Space2.Page {{/code}} ))) * Exports all the pages from the ##Space## space located in the ##wiki2## subwiki:((( {{code language="none"}} http://server/xwiki/bin/export/Space/Page?format=html&pages=wiki2:Space.%25 {{/code}} ))) * Exports all pages in the ##Main## space except pages under ##Main.Space1## space, and all pages under ##Other## space:((( {{code language="none"}} http://server/xwiki/bin/export/Space/Page?

IRC Archive for channel #xwiki on 30 June 2009

Located in
Last modified by Vincent Massol on 2012/10/18 18:32
Rendered document content
lucien joined #xwiki at 11:26 anamarias left at 11:34 () arunreddy joined #xwiki at 11:39 gnz - (30/06/2009 11:58): asyd: there's something weird with the export feature asyd - (30/06/2009 11:59): hmm? gnz - (30/06/2009 11:59): i can export a space into HTML gnz - (30/06/2009 11:59): but not into a XAR file asyd - (30/06/2009 11:59): ?! asyd - (30/06/2009 11:59): are you sure to use the import/export feature from the admin part? gnz - (30/06/2009 11:59): from the admin part ? asyd - (30/06/2009 12:00): well, the admin area gnz - (30/06/2009 12:00): i tried from the url > export/Space/Page?format=xar&pages=Space.%25 asyd - (30/06/2009 12:00): no gnz - (30/06/2009 12:00): with format=html it works asyd - (30/06/2009 12:01): click on administration, import/export.. gnz - (30/06/2009 12:03): http://platform.xwiki.org/xwiki/bin/view/Features/Exports venkatesh joined #xwiki at 12:04 anamarias joined #xwiki at 12:05 cristinaS left at 12:07 ("What?!
Raw document content
lucien joined #xwiki at 11:26 anamarias left at 11:34 () arunreddy joined #xwiki at 11:39 gnz - (30/06/2009 11:58): asyd: there's something weird with the export feature asyd - (30/06/2009 11:59): hmm? gnz - (30/06/2009 11:59): i can export a space into HTML gnz - (30/06/2009 11:59): but not into a XAR file asyd - (30/06/2009 11:59): ?! asyd - (30/06/2009 11:59): are you sure to use the import/export feature from the admin part? gnz - (30/06/2009 11:59): from the admin part ? asyd - (30/06/2009 12:00): well, the admin area gnz - (30/06/2009 12:00): i tried from the url > export/Space/Page?format=xar&pages=Space.%25 asyd - (30/06/2009 12:00): no gnz - (30/06/2009 12:00): with format=html it works asyd - (30/06/2009 12:01): click on administration, import/export.. gnz - (30/06/2009 12:03): http://platform.xwiki.org/xwiki/bin/view/Features/Exports venkatesh joined #xwiki at 12:04 anamarias joined #xwiki at 12:05 cristinaS left at 12:07 ("What?!

The Confluence XML Format

Last modified by Raphaël Jakse on 2025/06/13 14:41
Rendered document content
attachments folder The folder is in space exports if the attachment export was not disabled.
`exportType`: its value is `all` for a site backup, and `space` for a space backup. `spaceKey`: its value is the key of the exported spaces for space backups.
Space exports sometimes contain several spaces A bug in Confluence Server sometimes makes it export several spaces when one was asked (https://jira.atlassian.com/browse/CONFSERVER-22853.
Raw document content
The ##exportDescriptor.properties## contains the name of the space selected for export from Confluence. It contains information about the exported space, and notifications, pages, attachments, permissions related to this space.
{{info}} The actual files are only there on space exports if the attachment export was not disabled.
= attachments folder = The folder is in space exports if the attachment export was not disabled.

Admin Tools Application

Located in
Last modified by Vincent Massol on 2025/10/20 00:04
Objects
{{/info}} This XAR contains many administration tools for XWiki Enterprise * Configuration Checks : Shows and check XWiki configuration, with some recommendations when parameters are not optimized for best performances. * Export/Import Tools : Several tools to import and export spaces and pages.
We plan to include PostgreSQL scripts very soon. * Used Space page has been rewritten completely. It summarizes now disk space used by all subwikis of the farm, and show attachments related database if filesystem storage mode is not used
It may be useful when we put temporary rights to pages (which can lead to security leaks) * Show Logs script have been included with a UI which permits to choose number of loglines to output, directly in the wiki page. * Export Tools now have Large Export/Import scripts * DatabaseToFilesystem porter script has been added (it seems not compatible with 5.x at the moment though)
Attachment content
$request.date) #set($date = "2008-07-01 00:00:00") #set($versions = "1") #set($backup = "1") #set($start = "") #set($end = "") #else #set($date = $request.date) #set($versions = $request.versions) #set($backup = $request.backup) #set($start = $request.start) #set($end = $request.end) #end Space: <input type="text" name="space" value="$!request.space" /> <br /> Date: <input type="text" name="date" value="$date" /> <br /> Start: <input type="text" name="start" value="$start" /> <br /> End: <input type="text" name="end" value="$end" /> <br /> <input type="checkbox" name="versions" value="1" #if($versions) checked #end /> With History <br /> <input type="checkbox" name="backup" value="1" #if($backup) checked #end /> Backup pack (author and date preserved) <br /> <input type="checkbox" name="confirm" value="1" #if($request.confirm) checked #end/> Confirm <br /> <input type="submit" value="Export" /> </form> <br /> <br /> #if($request.date) #set($exp = $xwiki.parseGroovyFromPage("Admin.ExportFromDateGroovy")) $exp.export($context,$xwiki,$request,$response) #end Admin/ExportFromDateGroovy.xml Admin ExportFromDateGroovy fr 0 XWiki.Admin XWiki.Admin XWiki.Admin 1262300400000 1262300400000 1262300400000 1.1 false xwiki/1.0 false import com.xpn.xwiki.*; import com.xpn.xwiki.plugin.packaging.*; import org.apache.commons.lang.StringUtils; public class Test3 { def result = "" public addToResult(str) { result = "${result}${str}\n"; } public String export(context, xwiki, request, response) { result = ""; addToResult("Starting export") addToResult("Creating package") def pack = new Package() if (request.versions=="1") pack.setWithVersions(true) else pack.setWithVersions(false) if (request.backup=="1") pack.setBackupPack(true) else pack.setBackupPack(false) addToResult("Adding documents") def sql = "" if (request.date!
$request.type) 1.1 Export Page #set($script = $xwiki.getURL("Admin.ExportPageSuggest", "view", "xpage=rdf")) <form id="choosepage" action=""> <input type="hidden" name="type" value="export" /> Choose page: <input type="text" name="name" value="" size="40" onfocus="new ajaxSuggest(this, {script:'${script}&amp;', varname: 'input', seps:'', offsety: 13});" /> <br /> <input type="checkbox" name="versions" value="1" checked /> With versions <br /> <input type="submit" value="Export" /> </form> #else #set($ok = $response.setContentType("text/xml")) #set($ok = $context.setFinished(true)) #set($pdoc = $xwiki.getDocument($request.name)) #if($request.versions=="1") $response.getWriter().print($pdoc.document.toFullXML($context.context)) #else $response.getWriter().print($pdoc.document.toXML(true, false, true, false, $context.context)) #end #end Admin/ExportPageSuggest.xml Admin ExportPageSuggest fr 0 XWiki.Admin XWiki.Admin XWiki.Admin 1262300400000 1262300400000 1262300400000 1.1 false xwiki/1.0 false #set($input = $request.get("input").toLowerCase()) #set($sql = "where lower(doc.fullName) like '%${input}%' order by doc.date desc") #set($queryResult = $xwiki.searchDocuments($sql, 30, 0)) #set($results = $queryResult.toArray()) <results type="8"> #foreach($res in $results) <rs id="$velocityCount" info="">$res</rs> #end </results> Admin/ExportSpace.xml Admin ExportSpace en 0 XWiki.Admin XWiki.Admin XWiki.Admin 1262300400000 1262300400000 1262300400000 1.1 Tool to export a space as XAR false xwiki/2.0 false {{velocity}} #if("$!
= "delete") #set($params = "name=${request.space}-${datetool.get('yyyy-M-d')}${pages}") {{html}} <a href="$doc.getURL('export',$params)">Confirm Export Space $request.space</a> <br /> #set($params = "space=$request.space&do=delete") <a href="$doc.getURL('view',$params)">Delete Space $request.space</a> {{/html}} #else [[Back>>$doc.fullName]] #end #else {{html wiki=false}} <form> <div> Space Name:<input name="space" type="text" value="" /> <span class="buttonwrapper"> <input type="submit" value="export space" class="button" /> </span> </div> </form> {{/html}} #end {{/velocity}} Admin/ExportSpaceSuggest.xml Admin ExportSpaceSuggest fr 0 XWiki.Admin XWiki.Admin XWiki.Admin 1262300400000 1262300400000 1262300400000 1.1 false xwiki/1.0 false #set($input = $request.get("input").toLowerCase()) #set($sql = "select distinct doc.web from XWikiDocument as doc where lower(doc.web) like '%${input}%' order by doc.web asc") #set($queryResult = $xwiki.search($sql, 30, 0)) #set($results = $queryResult.toArray()) <results type="8"> #foreach($res in $results) <rs id="$velocityCount" info="">$res</rs> #end </results> Admin/ExportToo

IRC Archive for channel #xwiki on 23 October 2014

Located in
Last modified by Vincent Massol on 2014/10/23 23:45
Rendered document content
<lucaa> has quit 01:29 <abusenius> has quit 06:59 <silverdrop> has joined #xwiki 07:00 <msmeria> has joined #xwiki 08:09 <octo_> has joined #xwiki 08:10 <FUF_> has joined #xwiki 08:10 <octo> has quit 08:11 <FUF> has quit 08:12 <vmassol> has joined #xwiki 09:02 <mflorea1> has joined #xwiki 09:05 <D-Spair> has quit 09:12 <woshilapin> has joined #xwiki 09:12 <vmassol> good morning 09:18 <DarkKnightCZ> has joined #xwiki 09:25 <spawn57_> has joined #xwiki 09:25 <spawn57_> hi, how do I export all the pages in space in a subwiki? 09:27 <vmassol> spawn57_: hi, hold on, I'm preparing an answer for you ;) 09:27 <spawn57_> vmassol: thanks 09:32 <gdelhumeau> has joined #xwiki 09:33 <vmassol> spawn57_: 09:33 <vmassol> see http://www.xwiki.org/xwiki/bin/view/FAQ/How+do+I+export+all+pages+of+a+space 09:34 <spawn57_> thanks 09:34 <spawn57_> it doesn't have anything useful.. 09:35 <vmassol> wdym?
09:50 <spawn57_> large export by space seems to work 09:50 <spawn57_> i'll just use that 09:51 <vmassol> guys, we need to deicde when we release 6.2.3 09:51 <vmassol> do we wait for the 30th as planned 09:51 <vmassol> or do we bring is forward seen the recent issues found?
09:53 <vmassol> we need evalica to be here 09:53 <vmassol> since she's the RM 09:55 <spawn57_> hey vmassol, the large space export tool is giving me a permission denied error. 09:55 <spawn57_> http://pastebin.com/p7ZCD2M7 09:56 <vmassol> ofc you need to have permission on the xar file on the FS ;) 09:56 <vmassol> check that the user with which you've started your servlet container has permission to read it 09:56 <vmassol> or use another extension 09:57 <vmassol> for which you don't need the FS 09:58 <evalica> has joined #xwiki 10:00 <Enygma`> has joined #xwiki 10:01 <spawn57_> the hql query one worked great 10:01 <vmassol> ok cool, we really need to inclde this feature by default 10:01 <vmassol> been postponing it for too long now ;) 10:01 <spawn57_> yeah please do 10:02 <spawn57_> I use it to move the app within minutes apps we make to all the subwikis 10:03 <spawn57_> btw, do you know which dir the large space export tool will be writing to?
Raw document content
<lucaa> has quit 01:29 <abusenius> has quit 06:59 <silverdrop> has joined #xwiki 07:00 <msmeria> has joined #xwiki 08:09 <octo_> has joined #xwiki 08:10 <FUF_> has joined #xwiki 08:10 <octo> has quit 08:11 <FUF> has quit 08:12 <vmassol> has joined #xwiki 09:02 <mflorea1> has joined #xwiki 09:05 <D-Spair> has quit 09:12 <woshilapin> has joined #xwiki 09:12 <vmassol> good morning 09:18 <DarkKnightCZ> has joined #xwiki 09:25 <spawn57_> has joined #xwiki 09:25 <spawn57_> hi, how do I export all the pages in space in a subwiki? 09:27 <vmassol> spawn57_: hi, hold on, I'm preparing an answer for you ;) 09:27 <spawn57_> vmassol: thanks 09:32 <gdelhumeau> has joined #xwiki 09:33 <vmassol> spawn57_: 09:33 <vmassol> see http://www.xwiki.org/xwiki/bin/view/FAQ/How+do+I+export+all+pages+of+a+space 09:34 <spawn57_> thanks 09:34 <spawn57_> it doesn't have anything useful.. 09:35 <vmassol> wdym?
09:50 <spawn57_> large export by space seems to work 09:50 <spawn57_> i'll just use that 09:51 <vmassol> guys, we need to deicde when we release 6.2.3 09:51 <vmassol> do we wait for the 30th as planned 09:51 <vmassol> or do we bring is forward seen the recent issues found?
09:53 <vmassol> we need evalica to be here 09:53 <vmassol> since she's the RM 09:55 <spawn57_> hey vmassol, the large space export tool is giving me a permission denied error. 09:55 <spawn57_> http://pastebin.com/p7ZCD2M7 09:56 <vmassol> ofc you need to have permission on the xar file on the FS ;) 09:56 <vmassol> check that the user with which you've started your servlet container has permission to read it 09:56 <vmassol> or use another extension 09:57 <vmassol> for which you don't need the FS 09:58 <evalica> has joined #xwiki 10:00 <Enygma`> has joined #xwiki 10:01 <spawn57_> the hql query one worked great 10:01 <vmassol> ok cool, we really need to inclde this feature by default 10:01 <vmassol> been postponing it for too long now ;) 10:01 <spawn57_> yeah please do 10:02 <spawn57_> I use it to move the app within minutes apps we make to all the subwikis 10:03 <spawn57_> btw, do you know which dir the large space export tool will be writing to?
next page » Page 1 2 3 4 5 6 7 8 9 ... 241
RSS feed for search on [export space]

Get Connected