ZipExplorer Plugin
This application is bundled with:
This plugin cannot currently be downloaded separately.
- XWiki Enteprise
- XWiki Enterprise Manager
- XWiki Watch
This plugin cannot currently be downloaded separately.
ZipExplorer Plugin
A plugin that intercepts XWiki download requests so that it's possible to display contents found inside attached ZIP files.Installation
Activate the plugin by editing your WEB-INF/xwiki.cfg file as follows and restart your XWiki instance:xwiki.plugins=[...],com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin
Example
The following example lists the files in an attached zip file containing freely distributable images. The file names may be viewed by clicking on them.1.1.1 Content Of Attached Zip File #set($attachment="open_collection-0.0.zip") #set($zipexplorer=$xwiki.zipexplorer) #foreach($file in $zipexplorer.getFileTreeList($doc, $attachment)) - <a href="$zipexplorer.getFileLink($doc, $attachment, $file.id)">$file.id</a> #end