Book Image

Drupal 7 Media - Third Edition

By : Liran Tal
Book Image

Drupal 7 Media - Third Edition

By: Liran Tal

Overview of this book

Integrating images, video, and audio content on a Drupal site requires knowledge of appropriate community modules, and an understanding of how to configure and connect them properly. With the power of up-to-date technologies such as HTML5, responsive web design, and the best modules available in Drupal's eco-system, we can create the best Drupal 7 media website. Drupal 7 Media is a practical, hands-on guide that will introduce you to the basic structure of a Drupal site and guide you through the integration of images, videos, and audio content. Learn to leverage the most suitable community modules and up-to-date technology such as HTML5 to offer a great user experience through rich media content. The book begins with a practical introduction to the basic Drupal building blocks. It then breaks down each media resource, and explores them in detail. You will learn how to leverage Drupal's community modules to implement support for images, videos, and audio content, along with the best practices for implementation. We will be mentioning ideas throughout the book, which you can extend upon and use to build your own web applications. We will explore HTML5 support for media resources, the semantic web, and responsive web design, which are key topics in modern web application development. We will then build upon this knowledge and add more functionality to our sample website, such as support for analytic charts and customizing images, all of which we will implement using our own custom modules. You will learn everything you need to know about building, extending, and configuring a Drupal 7 media web application.
Table of Contents (16 chapters)

RDFa and Microdata


One of HTML5's primary goals was to provide a more semantic web, replacing all the <div> and other elements with their class and ID attributes with better-suited elements, such as <article>, <section>, <nav>, and others. In doing that, it was intended to achieve a more semantic document, but what does it mean exactly? In Tim Berners-Lee's own words "the Web will be a place where the whim of a human being and the reasoning of a machine coexist in an ideal, powerful mixture".

This basically means that by creating a more structured web, machines will also be able to understand it and put it into a relative context. Let's identify some real-world examples as follows:

  • A pre-HTML5 website might have used the <input type="text"/> element to specify a text field for users to provide their phone number. While a desktop user would not mind this, mobile users would find it quite annoying to fill such a field using the full keyboard. Furthermore, on most...