TYPO3 4.3 Multimedia Cookbook
By Dan Osipov
()
About this ebook
Related to TYPO3 4.3 Multimedia Cookbook
Related ebooks
Drupal 6 Theming Cookbook Rating: 0 out of 5 stars0 ratingsLiferay 6.x Portal Enterprise Intranets Cookbook Rating: 0 out of 5 stars0 ratingsPuppet 2.7 Cookbook Rating: 3 out of 5 stars3/5CentOS 6 Linux Server Cookbook Rating: 0 out of 5 stars0 ratingsYii Application Development Cookbook - Second Edition Rating: 0 out of 5 stars0 ratingsPuppet 3 Cookbook Rating: 3 out of 5 stars3/5Yii 1.1 Application Development Cookbook Rating: 0 out of 5 stars0 ratingsPentaho Data Integration 4 Cookbook Rating: 0 out of 5 stars0 ratingsCentOS 7 Linux Server Cookbook - Second Edition Rating: 0 out of 5 stars0 ratingsDotNetNuke 5.4 Cookbook Rating: 5 out of 5 stars5/5Meteor Cookbook Rating: 5 out of 5 stars5/5Ubuntu Server Cookbook Rating: 0 out of 5 stars0 ratingsNode Cookbook Rating: 0 out of 5 stars0 ratingsWebmin Administrator's Cookbook Rating: 0 out of 5 stars0 ratingsEmbedded Linux Projects Using Yocto Project Cookbook Rating: 5 out of 5 stars5/5Microsoft Windows Azure Development Cookbook Rating: 5 out of 5 stars5/5Odoo Development Cookbook Rating: 0 out of 5 stars0 ratingsDart Cookbook Rating: 0 out of 5 stars0 ratingsJIRA Development Cookbook - Third Edition Rating: 0 out of 5 stars0 ratingsMicrosoft System Center Data Protection Manager 2012 R2 Cookbook Rating: 0 out of 5 stars0 ratingsJavaFX 1.2 Application Development Cookbook Rating: 0 out of 5 stars0 ratingsMicrosoft Team Foundation Server 2015 Cookbook Rating: 0 out of 5 stars0 ratingsPuppet Cookbook - Third Edition Rating: 5 out of 5 stars5/5Web Development with Django Cookbook - Second Edition Rating: 0 out of 5 stars0 ratingsFlash iOS Apps Cookbook Rating: 0 out of 5 stars0 ratingsSpring Roo 1.1 Cookbook Rating: 0 out of 5 stars0 ratingsMeteor: Full-Stack Web Application Development Rating: 0 out of 5 stars0 ratingsOracle JDeveloper 11gR2 Cookbook Rating: 0 out of 5 stars0 ratingsPlone 3 Products Development Cookbook Rating: 4 out of 5 stars4/5Oracle Database 12c Security Cookbook Rating: 0 out of 5 stars0 ratings
Information Technology For You
How to Write Effective Emails at Work Rating: 4 out of 5 stars4/5Summary of Super-Intelligence From Nick Bostrom Rating: 5 out of 5 stars5/5CompTIA A+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Core 1 Exam 220-1101 Rating: 0 out of 5 stars0 ratingsThe iPadOS 17: The Complete User Manual to Quick Set Up and Mastering the iPadOS 17 with New Features, Pictures, Tips, and Tricks Rating: 0 out of 5 stars0 ratingsChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5CISSP Study Guide Rating: 4 out of 5 stars4/5Inkscape Beginner’s Guide Rating: 5 out of 5 stars5/5How To Use Chatgpt: Using Chatgpt To Make Money Online Has Never Been This Simple Rating: 0 out of 5 stars0 ratingsCompTIA Network+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam N10-008 Rating: 0 out of 5 stars0 ratingsData Governance For Dummies Rating: 0 out of 5 stars0 ratingsCreating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Windows Registry Forensics: Advanced Digital Forensic Analysis of the Windows Registry Rating: 4 out of 5 stars4/5Computer Science: A Concise Introduction Rating: 4 out of 5 stars4/5Linux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5Hacking Essentials - The Beginner's Guide To Ethical Hacking And Penetration Testing Rating: 3 out of 5 stars3/5Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsCybersecurity for Beginners : Learn the Fundamentals of Cybersecurity in an Easy, Step-by-Step Guide: 1 Rating: 0 out of 5 stars0 ratingsData Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5Supercommunicator: Explaining the Complicated So Anyone Can Understand Rating: 3 out of 5 stars3/5Computer Organization and Design: The Hardware / Software Interface Rating: 4 out of 5 stars4/5The Basics of Hacking and Penetration Testing: Ethical Hacking and Penetration Testing Made Easy Rating: 4 out of 5 stars4/5Panda3d 1.7 Game Developer's Cookbook Rating: 0 out of 5 stars0 ratingsPractical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/5A Mind at Play: How Claude Shannon Invented the Information Age Rating: 4 out of 5 stars4/5Handbook of Digital Forensics and Investigation Rating: 4 out of 5 stars4/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5
Reviews for TYPO3 4.3 Multimedia Cookbook
0 ratings0 reviews
Book preview
TYPO3 4.3 Multimedia Cookbook - Dan Osipov
Table of Contents
TYPO3 4.3 Multimedia Cookbook
Credits
About the Author
About the Reviewers
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Getting Started
Introduction
Expectations and prerequisites
Note on IDE
Setting up a web server on Debian
Getting ready
How to do it...
How it works...
There's more...
ImageMagick
Apache commands
See also
Setting up a multithreaded environment
How to do it...
How it works...
See also
Setting up a web server on Windows
How to do it...
How it works...
There's more...
Installing MySQL database on Windows
See also
Creating a scalable architecture
How to do it...
There's more...
See also
Setting up an NFS share
How to do it...
How it works...
There's more...
Mounting an NFS
See also
Setting up TYPO3
How to do it...
How it works...
There's more...
See also
Installing needed extensions
How to do it...
There's more...
Importing T3X files
Checking out unstable extensions
Creating a template for a site
Getting ready
How to do it...
How it works...
There's more...
Markers vs. Subparts
Including JavaScript
2. Managing Digital Assets
Setting up a file structure
Getting ready
How to do it...
There's more...
Uploading multiple files
Uploading through traditional file module
See also
Setting up a filemount
Getting ready
How to do it...
There's more...
See also
Setting up rights for backend users
Getting ready
How to do it...
There's more...
Backend user groups
Setting up FTP access
Getting ready
How to do it...
How it works...
There's more...
Debugging
Different hosts
More options
See also
Setting up a category tree
Getting ready
How to do it...
There's more...
Associations
Photo galleries
More options
See also
Creating a frontend upload form
Getting ready
How to do it...
How it works...
main()
getForm()
uploadFile()
indexFile()
There's more...
See also
Debugging code
Getting ready
How to do it...
There's more...
Creating frontend user groups
How to do it...
See also
Creating frontend users
How to do it...
There's more...
See also
3. Operating with Metadata in Media Files
Inserting metadata into images
How to do it...
In Windows
In Photoshop
Extracting metadata from images
How to do it...
How it works...
There's more...
Service priority
Exiftags
See also
Inserting metadata into audio
How to do it...
Extracting metadata from audio
How to do it...
There's more...
See also
Extracting metadata from PDF
How to do it...
4. Rendering Images
Rendering images using content elements
Getting ready
How to do it...
How it works...
There's more...
See also
Embedding images in RTE
Getting ready
How to do it...
How it works...
There's more...
Other modes of inclusion
New Plain Image
Drag 'n' Drop
Upload
Current Image
Resizing images
Setting maximum dimensions of images
Using TinyMCE for embedding images
Rendering images using TypoScript
How to do it...
How it works...
There's more...
Adding alternative text to images
Wrapping the image in a link
Executing from an extension
See also
Rendering links to files using
Getting ready
How to do it...
How it works...
There's more...
Creating a gallery using ce_gallery
Getting ready
How to do it...
How it works...
There's more...
Using Slimbox for displaying images
Utilizing batch processing
See also
Rendering metadata from a DAM object
How to do it...
How it works...
There's more...
See also
5. Rendering Video and Audio
Rendering video using media content object
Getting ready
How to do it...
There's more...
Embedding external videos
See also
Rendering audio using media content object
How to do it...
See also
Rendering audio and video using media TypoScript object
Getting ready
How to do it...
How it works...
There's more...
Rendering audio and video using content elements and rgmediaimages extension
Getting ready
How to do it...
There's more...
Customizing FLV and MP3 output
Embedding YouTube videos
See also
Extending the media content object for more rendering options
Getting ready
How to do it...
How it works...
ext_localconf.php
class. tx_soundmanager2.php
customMediaRenderTypes()
customMediaRender()
See also
Using custom media player to play video
Getting ready
How to do it...
How it works...
ext_localconf.php
class.tx_webflvplayer.php
customMediaRenderTypes()
customMediaParams()
customMediaRender()
There's more...
Utilizing templates
Commercial players
See also
Connecting to Flash Media Server to play video
How to do it...
How it works...
There's more...
Embedding Flash in RTE
See also
6. Connecting to External APIs
Introduction
Getting files from Amazon S3
Getting ready
How to do it...
How it works...
There's more...
Searching for objects
Finding common prefixes
Working with large object lists
See also
Uploading files to S3
Getting ready
How to do it...
How it works...
There's more...
Sending additional information in file headers
Assigning object permissions
Deleting an object
See also
Creating a bucket in S3
Getting ready
How to do it...
How it works...
There's more...
Creating buckets in different locations
Setting permissions for a bucket
Deleting a bucket
See also
Uploading DAM files to S3
Getting ready
How to do it...
How it works...
There's more...
Setting unique flexform options for each plugin instance
See also
Getting recent Flickr photos
Getting ready
How to do it...
How it works...
There's more...
Error reporting and debugging
Downloading a list of recent photos
See also
Uploading files to Flickr
Getting ready
How to do it...
How it works...
There's more...
Gaining permissions
Choosing between synchronous and asynchronous upload
See also
Uploading DAM files to Flickr
Getting ready
How to do it...
How it works...
ext_conf_template.txt
ext_tables.php
class.tx_dam_flickr_upload_action.php
var $typesAvailable = array('control', 'context');
function isPossiblyValid($type, $itemInfo = NULL, $env = NULL)
function isValid($type, $itemInfo = NULL, $env = NULL)
function getIcon($addAttribute = '')
function getLabel()
function _getCommand()
mod1/index.php
init()
auth()
main()
See also
Reading list of movies from YouTube API
Getting ready
How to do it...
How it works...
There's more...
Filters
See also
Authenticating requests to YouTube API
Getting ready
How to do it...
How it works...
There's more...
See also
Showing video list with frontend plugin
Getting ready
How to do it...
How it works...
main()
init()
renderContent()
renderFeed()
There's more...
Displaying video
Sending parameters to plugins
See also
7. Creating Services
Extracting metadata from OpenOffice documents
Getting ready
How to do it...
How it works...
init()
process()
parseMetaData()
See also
Processing audio using a service
Getting ready
How to do it...
How it works...
Include a getid3 class
init()
process()
processMetaData()
See also
Converting a video to FLV upon import
Getting ready
How to do it...
How it works...
ext_localconf.php
class.tx_flvConverter.php
filePostTrigger
compileExec
processOutput
There's more...
Debugging the extension
More on file conversions
Clearing cache
See also
Converting audio using services
Getting ready
How to do it...
How it works...
There's more...
Using service subtypes
See also
Building an audioConversion service
Getting ready
How to do it...
How it works...
getTypes()
checkConversion()
process()
See also
8. Automating Processes
Adding FTP access to the media repository
Getting ready
How to do it...
How it works...
There's more....
Throwing exceptions
Downloading by date
Using scheduler for scheduled tasks
Checking out other FTP functions
See also
Indexing downloaded files
Getting ready
How to do it...
How it works...
There's more...
Using dam_cron
See also
Setting up indexing rules
Getting ready
How to do it...
How it works...
There's more...
Setting more options in Step 2
Index sub folders
Categorize files from folder names
Reindexing
Force to make a title from file name
Dry run
Delete all index data
Setting indexing field predefinition in Step 3
Indexing setup summary in Step 4
Setting more TSconfig options
tx_dam.indexing.skipFileTypes
tx_dam.indexing.auto
tx_dam.indexing.autoMaxInteractive
tx_dam.indexing.replaceFile.reindexingMode
tx_dam.indexing.editFile.reindexingMode
tx_dam.indexing.useInternalMimeList
tx_dam.indexing.useMimeContentType
tx_dam.indexing.useFileCommand
See also
Categorizing files by geolocation
Getting ready
How to do it...
How it works...
There's more...
Post processing
Creating new categories
See also
Index
TYPO3 4.3 Multimedia Cookbook
Dan Osipov
TYPO3 4.3 Multimedia Cookbook
Copyright © 2010 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: January 2010
Production Reference: 1210110
Published by Packt Publishing Ltd.
32 Lincoln Road
Olton
Birmingham, B27 6PA, UK.
ISBN 978-1-847198-48-8
www.packtpub.com
Cover Image by Vinayak Chittar (<vinayak.chittar@gmail.com>)
Credits
Author
Dan Osipov
Reviewers
Karsten Dambekalns
Mario Rimann
Mathias Schreiber
Acquisition Editor
Rashmi Phadnis
Development Editor
Reshma Sundaresan
Technical Editor
Kavita Iyer
Copy Editor
Ajay Shanker
Indexer
Hemangini Bari
Editorial Team Leader
Mithun Sehgal
Project Team Leader
Lata Basantani
Project Coordinator
Poorvi Nair
Proofreader
Andie Scothern
Graphics
Nilesh R. Mohite
Production Coordinator
Adline Swetha Jesuthas
Cover Work
Adline Swetha Jesuthas
About the Author
Dan Osipov has over 12 years of web development, graphic design, as well as system architecture and application development experience. He has worked on various multipurpose sites, including e-commerce, educational, informational, and dynamic news sites. For the last 4 years, he has worked in the media industry, designing and maintaining an online presence for journals and newspapers.
At the moment of writing, Dan was employed at Calkins Media, where he worked on using TYPO3 as the CMS system powering high traffic, dynamic news sites, like phillyBrubs.com and Timesonline.com. He is also a member of the Digital Asset Management team, focused on the development of the DAM extension for TYPO3.
I would like to thank the Phillyburbs team, as their needs served as an inspiration for a lot of the material in this book. I would like to thank the TYPO3 community at large for inspiring people to share
. Last, but not least, I would like to thank my family for their understanding and support.
About the Reviewers
Karsten Dambekalns, born in 1977, learned the basics of web technology the hard way - by looking at other websites' HTML source. This happened after having learned BASIC and Assembler on a good old Commodore C128.
Karsten discovered PHP in 1999 and and was caught by TYPO3's immense possibilities in 2002. Later, he joined the TYPO3 Association and today is part of the TYPO3 5.0 and FLOW3 development team.
In 2000, he founded his own Internet company together with a friend from university, which he left behind in 2008 to become a freelancer working fully on the development of TYPO3. Karsten also speaks at conferences and writes articles about topics around PHP and TYPO3.
Karsten mostly lives in Germany with his wife Līga, their three kids, and a nameless Espresso machine.
Mario Rimann, born in 1982 in Zürich, Switzerland, started his journey through the IT jungle back in the early 90s. After his primary education as a service technician for office equipment like printers, copy machines, fax machines, and computers, he moved to his first job as a system administrator at a school. After collecting some years of IT and people-skills
, Mario moved onto the European headquarters of a company running a big website in the nightlife business, later he had his own company, and is now again a regular employee.
While being employed at the above-mentioned school, he made his first contact with TYPO3. In the beginning, it was mainly a hobby—which evolved to be the main part of his own company. In 2006 and 2007, he organized the first two international TYPO3 Developer Days, which took place in Switzerland.
Right now, Mario is employed as a project manager and developer at a mid-sized web-agency in central Switzerland that specializes in TYPO3 and Magento.
Alongside his job, Mario also helps out in several TYPO3 projects.
You can contact him at <mario@rimann.org>.
Mathias Schreiber has been working in the Web industry since 1995, developing websites with database-driven content for several large companies throughout Europe. He has been a part of the TYPO3 community since early 2002. Ever since then, he has been close to the core development and also hosted early developer meetings in 2004.
He did more than 100 training sessions in Germany and Switzerland spreading the word about TYPO3 and has trained most of today's successful TYPO3 companies.
In 2004, he founded wmdb Systems together with Peter Kühn, Diana Beer, and Bodo Eichstaedt and since then he maintains large TYPO3 projects for many well-known companies from Europe.
For two years, he has been part of the 12 so called active members of the TYPO3 Association but resigned from his duties to focus on his company and family.
Today, you can find him on almost any TYPO3 event there is—training snowboard-beginners at the TYPO3 Snowboard tours, mentoring bug-fixing sessions on the TYPO3 Developer days, or sharing ideas