Book Image

Plone 3 Multimedia

By : Tom Gross
Book Image

Plone 3 Multimedia

By: Tom Gross

Overview of this book

<p>Plone is a free and open source content management system built on top of the Zope application server. Multimedia provides us with stunning interactive user experiences and many design options, but it requires discipline and knowledge to utilize it effectively so that we do not alienate our audiences. By providing an overview of multimedia content together with a practical focus on how to process it in the web context, this book will be your ideal partner when turning your Plone site into a full-featured multimedia Internet presence.<br /><br />From watermarked images, integrated Silverlight-applications over geotagged content and rich podcasts to protected video-on-demand solutions this book provides a rich repository of tools and techniques to add full multimedia power to Plone. This step-by-step guide will show you how to collaborate with many external web resources to build a powerful interactive Plone site that perfectly meet your needs.<br /><br />Multimedia data is a very important part of the Internet, considering the amount of storage and bandwidth taken. This book will show you how to turn your multimedia data in valuable multimedia content by using the mature and extensible open source CMS Plone.<br /><br />With its content-centric approach Plone allows specialized use-case scenarios for image, audio, video, Flash and Silverlight applications. The initial chapters focus on managing image, audio, video, and flash content for your Plone website. We then plunge into content control and syndication. <br /><br />The book will show you how to structure your content by tagging, rating, and geolocating. It will give you insights on how to upload, store, and serve your multimedia content in an effective way.</p>
Table of Contents (19 chapters)
Plone 3 Multimedia
Credits
About the Author
About the Reviewers
Preface
Syndication Formats
Index

pyswftools: Manipulating Flash with Python


With Python it is possible to create Flash applications on the fly. To do so, we need the Ming library (http://www.libming.org/) and the Python implementation of SWFTools: pyswftools. The Ming library is an open source library for writing Flash applications with several languages including C, Perl, Ruby, PHP, and Python.

Installing pyswftools

To install Ming, download the sources and build it with the usual cmmi commands on Linux and Mac OS X:

$ ./configure
$ make
$ make install

This will install the Ming library written in C. To install the Python wrapper, we have to go to the py_ext directory and install the extension:

$ cd py_ext
$ python setup.py install

If the install fails with

running build
running build_py
error: package directory '/home/anderson/ming/ming/py_ext' does not exist

we have to patch the setup.py:

#srcdir = "/home/anderson/ming/ming/py_ext"
curdir = srcdir = os.getcwd()

We need to comment out the srcdir line and define the srcdir...