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.

Issues

Please, submit any issue to https://github.com/collective/collective.archiveviewer/issues

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.

Source Distribution

collective.archiveviewer-1.0b2.zip (24.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page