O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Plone 3 Multimedia

Book Description

Embed, display, and manage multimedia content in your Plone website

  • Build a modern full-featured multimedia CMS with Plone and add-on products

  • Use and extend specialized multimedia content-types for images, audio, video, and Flash

  • Set up a custom multimedia CMS by collaborating with external resources such as YouTube, Google videos, and so on

  • Follow a step-by-step tutorial to create a feature-packed media-rich Plone site

  • In Detail

    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.

    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.

    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.

    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.

    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.

    This practical book will show you how to use and extend the multimedia features of Plone

    Table of Contents

    1. Plone 3 Multimedia
      1. Plone 3 Multimedia
      2. Credits
      3. About the Author
      4. About the Reviewers
      5. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      6. 1. Plone and Multimedia
        1. Some definitions
          1. CMS
          2. ZCA
          3. WWW
          4. Buildout
        2. What is multimedia?
        3. Why Plone?
          1. Plone Content
        4. How do they fit?
          1. Plone4Artists
        5. Summary
      7. 2. Managing Image Content
        1. The Image content type
          1. Adding images with an unmodified Plone
          2. Working with sizes
            1. Dimension
            2. Limiting sizes
          3. Accessing images
            1. URL access
            2. Page template access
            3. Python code access
            4. Field access
          4. Workflow
          5. The thumbnail view
          6. Using images in pages and news items
          7. Customizing Kupu's image features
          8. Styling images
          9. Use different sizes for presentation
            1. Generating a package boilerplate
            2. Adding functionality to the boilerplate
        2. Enhancing images with p4a.ploneimage
          1. The Exchangeable Image Format (Exif)
          2. Removing p4a.ploneimage
          3. Image-enhanced folders
        3. Gallery products for Plone
          1. Creating galleries with collective.plonetruegallery
            1. Advanced settings for the gallery
            2. Accessing Flickr
            3. Accessing Picasa
            4. Accessing external services
          2. The Slideshowfolder product
          3. Choosing a slideshow product
        4. Manipulating Images
        5. Summary
      8. 3. Managing Audio Content
        1. Uploading audio files with an unmodified Plone installation
          1. Accessing audio content in Plone
            1. Kupu access
            2. Page template access
            3. Python script access
            4. Field access
        2. Audio formats
          1. Choosing the right audio format
          2. Converting audio formats
            1. Converting audio with VLC
        3. Audio metadata
          1. ID3 tag: The metadata format for MP3
          2. Metadata of other audio formats
          3. Editing audio metadata
        4. Audio enhancements with p4a.ploneaudio
          1. Enhancing files
          2. Enhancing containers
          3. The XML Shareable Playlist Format: XSPF
          4. p4a.ploneaudio and the Plone catalog
            1. Accessing audio metadata in Collections
          5. ATAudio migration
          6. Extracting metadata with AudioDataAccessors
          7. p4a.ploneaudio and FLAC
        5. Including audio into HTML
          1. Including audio with plugin elements
          2. A custom view with an embedded audio player
          3. Using Flowplayer
            1. Standalone Flowplayer for audio files
            2. Playlist Flowplayer for audio containers
            3. Audio Flowplayer as a portlet
            4. Inline audio player with Flowplayer
        6. Technology preview: HTML5
          1. A player view with HTML5
        7. Summary
      9. 4. Managing Video Content
        1. Managing videos the Plone way
          1. Accessing video content
          2. Accessing video content through the Web
            1. Downloading content
            2. Streaming content
              1. Using the HTML object element
              2. Using the HTML embed element
          3. Streaming the content using Flash
          4. Streaming video content with Plone
            1. Embedding videos with Kupu
          5. A custom view for streaming videos
        2. Enhancing Plone's video features
          1. The p4a.plonevideo product
            1. Converting standalone file content into videos
            2. Enhancing containers with video features
            3. Migrating ATVideo content to p4a.plonevideo content
            4. Embedding external videos with p4a.plonevideoembed
            5. Adding a custom provider to p4a.plonevideoembed
        3. Adding collective.flowplayer
          1. The Flash video format
            1. Using the collective.flowplayer product
            2. Enhancing files and links
            3. Enhancing containers
            4. Showing videos in portlets
            5. Inline inclusion of videos
            6. Visual editor integration
            7. Setting options
            8. Removing Flowplayer
        4. Plumi: A complete video solution
          1. Installing Plumi
        5. Preview: HTML5
          1. A custom view with HTML5
        6. Summary
      10. 5. Managing Flash Content
        1. What is Flash?
          1. Including Flash in HTML
          2. Flash and HTML5
        2. Flash in Kupu
        3. The Flash 10 issue
          1. Working around the Flash 10 issue
        4. Products targeting Flash
          1. Using ATFlashMovie to include Flash applets in Plone
            1. A Flash portlet
            2. Flash in a Collage view
          2. Extracting Flash metadata with hexagonit.swfheader
            1. The basic components of a custom Flash content type
            2. A view for the custom Flash content type
        5. Silverlight
          1. Installing Silverlight
            1. Installing Moonlight on Linux
          2. Including Silverlight content
        6. pyswftools: Manipulating Flash with Python
          1. Installing pyswftools
          2. Using pyswftools
        7. Summary
      11. 6. Content Control
        1. Categorization
          1. Folder categorization
          2. The Dublin Core metadata
          3. Managing keywords in Plone
          4. Categorization methods
            1. Using Collections for structuring content
              1. Configuring Collections
              2. Extending Collections
            2. Automated content actions with Content Rules
          5. Categorization products
            1. Products.PloneGlossary
            2. Other categorization solutions for Plone
        2. Tagging and rating with Plone
          1. Tagging content with the p4a.plonetagging product
          2. Using Tag Clouds with Plone
          3. Rating content with the plone.contentratings product
            1. Creating a custom rating category with a view
        3. Other means of content control
          1. Geolocation of content with Google Maps
            1. Installing and configuring Maps
            2. Using the Maps product
            3. Extending the Maps product
          2. Licensing content in Plone
        4. Summary
      12. 7. Content Syndication
        1. What is Syndication?
          1. Syndication formats
            1. The RSS syndication format
            2. The Atom syndication format
            3. Other syndication formats
              1. RDF—The Resource Description Framework
              2. OPML—The Outline Processor Markup Language
              3. Extending RSS with GeoRSS
              4. Extending RSS with MediaRSS
          2. Autodiscovery
          3. Syndication clients
        2. Syndication features of Plone
          1. Using Collections for syndication
          2. Feeding a search
        3. Syndication products for Plone
          1. The fatsyndication product bundle
            1. The basesyndication product
            2. The fatsyndication product
          2. Syndication with Vice
            1. Extending Vice
        4. Syndication of Plone4Artists products
        5. Summary
      13. 8. Advanced Upload Techniques
        1. Uploading strategies
        2. Web-driven bulk uploads
          1. Using collective.uploadify for web-based multiupload
          2. Web-based multiuploads with PloneFlashUpload
          3. Doing multiuploads of ZIP structures with atreal.massloader
            1. atreal.massloader on Mac OS X
          4. Web uploaders compared
        3. Alternative protocols for uploading files
          1. Using the File Transfer Protocol (FTP) with Plone
            1. Choosing an FTP client
          2. Content manipulation with WebDAV
            1. Finding a WebDAV client
          3. Using the Enfold Desktop as a Plone client with Windows
        4. Summary
      14. 9. Advanced Storage
        1. Default storage in Plone
          1. Archetypes storage
        2. Outsourcing multimedia content
        3. Optimized data storage in Plone
          1. Using ExternalStorage as an Archetype storage backend
          2. Using FileSystemStorage as an Archetype storage backend
            1. Storage strategies of FSS
              1. Flat storage strategy
              2. Directory storage strategy
              3. Site storage strategy 1
              4. Site storage strategy 2
            2. Using FSS
              1. Migrating FSS
              2. Using FSS in custom products
            3. Important things to know about FSS
          3. Storing binary data as BLOBs
            1. BLOB images
            2. Migrating existing content
          4. Accessing filesystem content with Reflecto
        4. Publisher hooks
          1. The Tramline publisher hook product
            1. Tramline setup preparations
            2. Configuring Apache for Tramline
            3. Configuring Plone for Tramline
              1. Using attramline to integrate with Tramline
              2. Using PloneTramline to integrate with Tramline
        5. Summary
      15. 10. Serving and Caching
        1. The caching server Varnish
          1. Using Varnish
        2. Setting caching headers with CacheFu
          1. Configuring CacheFu
        3. Red5: A video-on-demand Flash server
          1. Requirements for setting up a Red5 server
          2. A Red5 buildout
          3. Using Red5
            1. The temporary URL
            2. The Red5Stream content type
            3. Visual editor integration
          4. Troubleshooting Red5
            1. Java version issues
            2. Checking the logs
            3. Network and time issues
            4. Running Red5 server in the foreground mode
        4. Summary
      16. A. Multimedia Formats and Licenses
        1. Audio formats
          1. Lossless codecs
            1. The Free Lossless Audio Codec
            2. Other lossless audio codecs
          2. Lossy codecs
            1. MPEG-1 Audio Layer 3
            2. Ogg Vorbis
            3. Other lossy codecs
        2. Video formats
          1. Lossless codecs
          2. MPEG-4 Part 2 codecs
          3. H.264/MPEG-4 AVC codecs
          4. Microsoft codecs
        3. Creative Commons Licenses
          1. License conditions
            1. Attribution
            2. Share Alike
            3. Noncommercial
            4. No Derivative Works
          2. The Main Creative Commons Licenses
            1. Attribution License
            2. Attribution Share Alike license
            3. Attribution No Derivatives
            4. Attribution Non-commercial
            5. Attribution Non-Commercial Share Alike
            6. Attribution Non-Commercial No Derivatives
      17. B. Syndication Formats
        1. RSS
          1. RSS 2.0 specification
            1. Required channel elements
            2. Optional channel elements
              1. Subelement of channel—image
              2. Elements of <item>
              3. Subelement of item—enclosure
                1. Subelement of item—guid
            3. RSS 2.0 Example
        2. Atom
          1. Constructing Atom documents
            1. The type attribute
            2. Persons
            3. Dates
          2. An Atom example
        3. MediaRSS
          1. Primary elements
            1. <media:group>
            2. <media:content>
          2. Optional elements
            1. <media:rating>
            2. <media:title>
            3. <media:thumbnail>
            4. <media:category>
            5. <media:player>
            6. <media:text>
            7. <media:community>
            8. <media:embed>
            9. <media:license>
            10. <media:location>
      18. C. Links and Further Information
        1. Getting Plone help
          1. Documentation on plone.org
          2. Google and blogs
          3. Mailing lists/forums
          4. IRC (Online support)
          5. Commercial support
        2. Finding Plone add-ons
          1. The PyPi Python egg index
          2. Plone products on plone.org
          3. The Plone Collective
        3. Links for selected multimedia topics
          1. Image links
          2. Audio links
          3. Video encoding and conversion resources
          4. Flash and Silverlight