Skip to main content

Allows to upload archive files (check readme for supported types) and access their contents trough the web, without having to download and extract them

Project description

Introduction

Allow to view content of archive files into plone.

How it works

Add a File with zipped content, this will be marked with ‘collective.archiveviewer.interfaces.IArchiveFile’.

Now you can access the content trough web by appending ‘@@contents/$filename’ to the path of your file.

For instance, if you have a file ‘foo.html’ inside the archive you can view it by going to ‘http://yourplone.com/yourzipfile/@@contents/foo.html’.

Supported archives

  • zip (application/zip)

NOTE: archives are supported trough adapters. You can simply register a named adapter providing ‘IArchiveReader’ interface and name it as the meta type to be supported (like ‘application/zip’).

Please, refer to ‘interfaces.py’ and ‘adapters.py’ for understanding how to write yours.

Compatibility

Tested on Plone 3.3.6

Authors

Simone Orsi <simone.orsi@domsense.com> [simahawk] Silvio Tomatis <silviot@gmail.com> [silviot]

Credits

Developed with the support of International Traning Center of the ILO.

ITCILO - Logo

This product was developed by Domsense in collaboration with Silvio Tomatis.

Domsense Website

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collective.archiveviewer, version 1.0b2
Filename, size File type Python version Upload date Hashes
Filename, size collective.archiveviewer-1.0b2.zip (24.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page