ARFilePreview
Category: Basic content types, Documentation management, Media
—
Other products by this author
Current release: ARFilePreview 2.1.2
Released Jul 3, 2007 — tested with Plone 2.5
- Fixes the uninstall procedure - Fixes bugs on cut/paste, copy/paste, webdav PUT, etc.
Experimental releases
Upcoming and alpha/beta/candidate releases
- Alpha releases should only be used for testing and development.
- Beta releases and Release Candidates are normally released for production testing, but should not be used on mission-critical sites.
- Always install on a separate test server first, and make sure you have proper backups before installing.
Release roadmap for ARFilePreview…
Project Description
- Project resources
What is ARFilePreview
ARFilePreview is a replacement for standard Plone File object.
It adds a new content type : FilePreview.
Please read carefully this page if you wish to install ARFilePreview.
Features
A FilePreview object is a File that provides :
- normal file download
- preview inline, in a smart CSS box
- highlight of searched words into the preview, when a FilePreview is found
- full page view of the HTML preview
- support for images that are included into the file
- full support for FTP, WebDAV and ExternalEditor
Why is ARFilePreview better than other equivalent solutions ?
ARFilePreview is totally conform with Plone design :
- Do the job, do it only once
- the preview is computed once, and stored together with the original file : no need to compute it again
- when the object is renamed, the file contained is renamed accordingly
- ARFilePreview uses standard PortalTransforms : no need to have a custom set of transforms
- ARFilePreview computes the original file only once : fileformat is converted to html once, and that is used for indexation
- ARFilePreview uses standard index for full text index, no need of custom index
- ARFilePreview is designed to be used as base class for all other File based content types. The contained file is considered as PrimaryFieldMarchaller and is always available with FTP and WebDAV (version 1 : version 2 uses ATFile capabilities)
How can I get a preview for other file' types ?
ARFilePreview is designed for use with any PortalTransforms. Therefore you may add support for all MSOffice, OpenOffice.org (v1 and v2), OpenDocument formats and extended PDF with AROfficeTransforms.ARFilePreview is extensible : you may virtually transform any file to preview, based on a filetype_to_html transform. For example, you may have some image_to_html, video_to_html or anything you may imagine.
Version 1 or version 2 ?
Version 1 is Archetypes based. It includes all the necessary code in order to handle properly WebDAV, FTP and ExteralEditor.
Version 1 is available here.
Version 2 adapts "on the fly" existing ATFiles and provides 3 different views
(these views are available via the 'Display' menu, the same that is used for Folders):
- nomal File view : you can download the file, it is full text indexed, the preview isn't shown.
- File + preview view : you can preview the file online, it is full text indexed, you can download the file.
- Only preview : the file isn't available for download. The File is displayed as a Plone Document : it fits the content space. It is full text indexed.
- You can choose your prefered view for each file.
Credits
ARFilePreview is developped by atRealand is publised under Gnu Public Licence.
Original concept and funding by Inserm France - Ando RAKOTONIRINA and Julien TOGNAZZI
More infos in README.