ckanext-officedocs |
This plugin provides the option of using the Microsoft Office viewer for previewing both MS Office and OpenOffice documents as an IResourceView
————Supported formats ————
This plugin will attempt to preview the following formats
“DOC”, “DOCX”, “XLS”, “XLSX”, “PPT”, “PPTX”, “PPS”, “ODT”, “ODS”, “ODP”
To install ckanext-officedocs:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-officedocs Python package into your virtual environment:
cd ckanext-officedocs
python setup.py install
officedocs_view
to the ckan.plugins
setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini
).Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload