Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Use google docs viewer to display embed version of your office files

Project Description

Introduction

Google docs viewer is a service provided by google tm: https://docs.google.com/viewer

This add-on add a view on the File content type. It display the file with the embed viewer. You can find a live demo at toutpt.makina-corpus.org/add-ons/collective.googledocsviewer/cv-jeanmichel-francois-fr/view

How to use it

Add a file content in your Plone site, make it publicly available (publish it) and select the google docs ‘Google Docs viewer’ view in the display drop down menu.

Next you can use the the ‘Configure view’ action provided at the bottom of the page to configure the size of the viewer you want to use.

How it works

It display an iframe built from your file’s url.

For example, http://example.com/myfile/view will become

<iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Fexample.com%2Fmyfile&embedded=true" width="600" height="780" style="border: none;"></iframe>

Sizes are stored on site level in plone.app.registry or on context level with annotations.

Credits

Companies

Authors

Contributors

Changelog

1.0b1 (2011-06-25)

  • Initial release
Release History

Release History

This version
History Node

1.0b1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.googledocsviewer-1.0b1.tar.gz (5.2 kB) Copy SHA256 Checksum SHA256 Source Jun 25, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting