Supported Formats:
- Microsoft Office: DOC, DOCX, XLS, XLSX, PPT, PPTX, PPS
- OpenOffice: ODT, ODS, ODP
Installation:
1. Clone repository into CKAN extensions directory (default: /usr/lib/ckan/default/src/)
2. Activate CKAN virtual environment:
. /usr/lib/ckan/default/bin/activate
3. Install the extension:
cd ckanext-officedocs
python setup.py install
4. Add ‘officedocs_view’ to ckan.plugins in your config file
5. Restart CKAN:
sudo service apache2 reload
Important Requirements:
- Documents must be accessible to the wider internet (publicly accessible URLs)
- Must use a hostname, NOT just an IP address
- Uses Microsoft’s external document preview service
FAQ:
Q: It doesn’t work, my documents aren’t previewing
A: For this extension to work, the documents to be previewed must be accessible to the wider internet, and will only work if you use a hostname, and not just an IP address.
Python Support:
- Python 2.6
- Python 2.7
Development Status: Beta
Keywords: CKAN, officedocs, preview
Note: This extension relies on Microsoft’s cloud-based document preview service, so documents must be publicly accessible for the service to retrieve and render them.