Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collective.googledocsviewer

How to install collective.googledocsviewer

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.googledocsviewer
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0b1 Available View build log
Windows (64-bit)
1.0b1 Available View build log
Mac OS X (10.5+)
1.0b1 Available View build log
Linux (32-bit)
1.0b1 Available View build log
Linux (64-bit)
1.0b1 Available View build log
 
License
GPL
Lastest release
version 1.0b1 on Jun 25th, 2011

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.

Changelog

1.0b1 (2011-06-25)
  • Initial release

Subscribe to package updates

Last updated Jun 25th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.