You are previewing TYPO3 4.3 Multimedia Cookbook.
O'Reilly logo
TYPO3 4.3 Multimedia Cookbook

Book Description

Over 50 great recipes for effectively managing multimedia content to create an organized web site in TYPO3

  • Create impressive web sites by adding image, video, and audio files to a TYPO3-driven web site and customizing their display

  • Organize you web site by effectively managing your multimedia content in your TYPO3 site

  • Enhance your CMS by adding different processing capabilities such as parsing metadata and converting files to your site

  • Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible

  • In Detail

    TYPO3 is one of the world's leading open source content management systems, written in PHP, which can be used to create and customize your web site. Along with text content, you can display high quality images, audio, and video to your site's visitors by using TYPO3. It is essential to manage various types of multimedia files in content management systems for both editors and the users on the frontend of the site.

    The book gives you a step-by-step process for organizing an effective multimedia system. It also gives solutions to commonly encountered problems, and offers a variety of tools for dealing with multimedia content. The author's experience in large-scale systems enables him to share his effective solutions to these problems.

    If you choose to work through all the recipes from the beginning, you will start by setting up a basic web site set up, aimed at future expansion and scalability. Next, you will cover the basics of digital asset management—a major topic important in all enterprises. You can organize user groups because next you will be creating accounts for users and assigning permissions. Then you will jump into metadata—text information describing the multimedia objects—and learn how it can be manipulated in TYPO3. You will embed multimedia on your site when you have read the various methods for embedding mentioned in this book. Before you finish the book you will learn about some advanced topics, such as external API integrations and process automation.

    Table of Contents

    1. TYPO3 4.3 Multimedia Cookbook
      1. TYPO3 4.3 Multimedia Cookbook
      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. Getting Started
        1. Introduction
          1. Expectations and prerequisites
          2. Note on IDE
        2. Setting up a web server on Debian
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. ImageMagick
            2. Apache commands
          5. See also
        3. Setting up a multithreaded environment
          1. How to do it...
          2. How it works...
          3. See also
        4. Setting up a web server on Windows
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Installing MySQL database on Windows
          4. See also
        5. Creating a scalable architecture
          1. How to do it...
          2. There's more...
          3. See also
        6. Setting up an NFS share
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Mounting an NFS
          4. See also
        7. Setting up TYPO3
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        8. Installing needed extensions
          1. How to do it...
          2. There's more...
            1. Importing T3X files
            2. Checking out unstable extensions
        9. Creating a template for a site
          1. Getting ready
          2. How to do it...
            1. How it works...
            2. There's more...
              1. Markers vs. Subparts
              2. Including JavaScript
      7. 2. Managing Digital Assets
        1. Setting up a file structure
          1. Getting ready
          2. How to do it...
          3. There's more...
            1. Uploading multiple files
            2. Uploading through traditional file module
          4. See also
        2. Setting up a filemount
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        3. Setting up rights for backend users
          1. Getting ready
          2. How to do it...
          3. There's more...
            1. Backend user groups
        4. Setting up FTP access
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Debugging
            2. Different hosts
            3. More options
          5. See also
        5. Setting up a category tree
          1. Getting ready
          2. How to do it...
          3. There's more...
            1. Associations
            2. Photo galleries
            3. More options
          4. See also
        6. Creating a frontend upload form
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. main()
            2. getForm()
            3. uploadFile()
            4. indexFile()
          4. There's more...
          5. See also
        7. Debugging code
          1. Getting ready
          2. How to do it...
            1. There's more...
          3. Creating frontend user groups
            1. How to do it...
            2. See also
          4. Creating frontend users
            1. How to do it...
            2. There's more...
            3. See also
      8. 3. Operating with Metadata in Media Files
        1. Inserting metadata into images
          1. How to do it...
            1. In Windows
            2. In Photoshop
        2. Extracting metadata from images
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Service priority
            2. Exiftags
          4. See also
        3. Inserting metadata into audio
          1. How to do it...
        4. Extracting metadata from audio
          1. How to do it...
          2. There's more...
          3. See also
        5. Extracting metadata from PDF
          1. How to do it...
      9. 4. Rendering Images
        1. Rendering images using content elements
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        2. Embedding images in RTE
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Other modes of inclusion
              1. New Plain Image
              2. Drag 'n' Drop
              3. Upload
              4. Current Image
            2. Resizing images
            3. Setting maximum dimensions of images
            4. Using TinyMCE for embedding images
        3. Rendering images using TypoScript
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Adding alternative text to images
            2. Wrapping the image in a link
            3. Executing from an extension
          4. See also
        4. Rendering links to files using <media> tags
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        5. Creating a gallery using ce_gallery
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Using Slimbox for displaying images
            2. Utilizing batch processing
          5. See also
        6. Rendering metadata from a DAM object
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
      10. 5. Rendering Video and Audio
        1. Rendering video using media content object
          1. Getting ready
          2. How to do it...
          3. There's more...
            1. Embedding external videos
          4. See also
        2. Rendering audio using media content object
          1. How to do it...
          2. See also
        3. Rendering audio and video using media TypoScript object
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        4. Rendering audio and video using content elements and rgmediaimages extension
          1. Getting ready
          2. How to do it...
          3. There's more...
            1. Customizing FLV and MP3 output
            2. Embedding YouTube videos
          4. See also
        5. Extending the media content object for more rendering options
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. ext_localconf.php
            2. class. tx_soundmanager2.php
              1. customMediaRenderTypes()
              2. customMediaRender()
          4. See also
        6. Using custom media player to play video
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. ext_localconf.php
            2. class.tx_webflvplayer.php
              1. customMediaRenderTypes()
              2. customMediaParams()
              3. customMediaRender()
          4. There's more...
            1. Utilizing templates
            2. Commercial players
          5. See also
        7. Connecting to Flash Media Server to play video
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Embedding Flash in RTE
          4. See also
      11. 6. Connecting to External APIs
        1. Introduction
        2. Getting files from Amazon S3
          1. Getting ready
          2. How to do it...
            1. How it works...
            2. There's more...
              1. Searching for objects
              2. Finding common prefixes
              3. Working with large object lists
            3. See also
          3. Uploading files to S3
            1. Getting ready
            2. How to do it...
              1. How it works...
              2. There's more...
                1. Sending additional information in file headers
                2. Assigning object permissions
                3. Deleting an object
              3. See also
            3. Creating a bucket in S3
              1. Getting ready
              2. How to do it...
                1. How it works...
                2. There's more...
                  1. Creating buckets in different locations
                  2. Setting permissions for a bucket
                  3. Deleting a bucket
                3. See also
              3. Uploading DAM files to S3
                1. Getting ready
                2. How to do it...
                3. How it works...
                4. There's more...
                  1. Setting unique flexform options for each plugin instance
                5. See also
              4. Getting recent Flickr photos
                1. Getting ready
                2. How to do it...
                  1. How it works...
                  2. There's more...
                    1. Error reporting and debugging
                    2. Downloading a list of recent photos
                  3. See also
                3. Uploading files to Flickr
                  1. Getting ready
                  2. How to do it...
                  3. How it works...
                  4. There's more...
                    1. Gaining permissions
                    2. Choosing between synchronous and asynchronous upload
                  5. See also
                4. Uploading DAM files to Flickr
                  1. Getting ready
                  2. How to do it...
                  3. How it works...
                    1. ext_conf_template.txt
                    2. ext_tables.php
                    3. class.tx_dam_flickr_upload_action.php
                      1. var $typesAvailable = array('control', 'context');
                      2. function isPossiblyValid($type, $itemInfo = NULL, $env = NULL)
                      3. function isValid($type, $itemInfo = NULL, $env = NULL)
                      4. function getIcon($addAttribute = '')
                      5. function getLabel()
                      6. function _getCommand()
                    4. mod1/index.php
                      1. init()
                      2. auth()
                      3. main()
                  4. See also
                5. Reading list of movies from YouTube API
                  1. Getting ready
                  2. How to do it...
                    1. How it works...
                    2. There's more...
                      1. Filters
                    3. See also
                  3. Authenticating requests to YouTube API
                    1. Getting ready
                    2. How to do it...
                      1. How it works...
                      2. There's more...
                      3. See also
                    3. Showing video list with frontend plugin
                      1. Getting ready
                      2. How to do it...
                      3. How it works...
                      4. There's more...
                      5. See also
      12. 7. Creating Services
        1. Extracting metadata from OpenOffice documents
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. init()
            2. process()
            3. parseMetaData()
          4. See also
        2. Processing audio using a service
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. Include a getid3 class
            2. init()
            3. process()
            4. processMetaData()
          4. See also
        3. Converting a video to FLV upon import
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. ext_localconf.php
            2. class.tx_flvConverter.php
              1. filePostTrigger
              2. compileExec
              3. processOutput
          4. There's more...
            1. Debugging the extension
            2. More on file conversions
            3. Clearing cache
          5. See also
        4. Converting audio using services
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Using service subtypes
          5. See also
        5. Building an audioConversion service
          1. Getting ready
          2. How to do it...
            1. How it works...
              1. getTypes()
              2. checkConversion()
              3. process()
            2. See also
      13. 8. Automating Processes
        1. Adding FTP access to the media repository
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more....
            1. Throwing exceptions
            2. Downloading by date
            3. Using scheduler for scheduled tasks
            4. Checking out other FTP functions
          5. See also
        2. Indexing downloaded files
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Using dam_cron
          5. See also
        3. Setting up indexing rules
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Setting more options in Step 2
              1. Index sub folders
              2. Categorize files from folder names
              3. Reindexing
              4. Force to make a title from file name
              5. Dry run
              6. Delete all index data
            2. Setting indexing field predefinition in Step 3
            3. Indexing setup summary in Step 4
            4. Setting more TSconfig options
              1. tx_dam.indexing.skipFileTypes
              2. tx_dam.indexing.auto
              3. tx_dam.indexing.autoMaxInteractive
              4. tx_dam.indexing.replaceFile.reindexingMode
              5. tx_dam.indexing.editFile.reindexingMode
              6. tx_dam.indexing.useInternalMimeList
              7. tx_dam.indexing.useMimeContentType
              8. tx_dam.indexing.useFileCommand
          5. See also
        4. Categorizing files by geolocation
          1. Getting ready
          2. How to do it...
            1. How it works...
            2. There's more...
              1. Post processing
              2. Creating new categories
            3. See also