Book Image

Drupal Web Services

By : Trevor James
Book Image

Drupal Web Services

By: Trevor James

Overview of this book

<p>Drupal is a rich and dynamic open source content management system that can feed content into its framework from other Web applications including Facebook, Flickr, Google, Twitter, and more, using standard communication protocols called web services. You may be aware that content can be driven to your Drupal site from different web applications, but when you think of experimenting with this, you can get bogged down due to limited knowledge of web services. Imagine how you will feel when you catch sight of a book that covers powerful web services that help you to integrate your Drupal site with different web applications <br /><br />This book covers efficient Drupal web services that help you to speed up your connections to Web applications. It will compel you to learn more and more about web services and use them to easily share data and content resources between different applications and machines. This book also covers the usage of each web service for different purposes. It provides step-by-step instructions on integrating Web services and Web applications with your Drupal powered Web site.<br /><br />Drupal Web services will show you how to work with all kinds of Web Services and Drupal. The book shows you how to integrate Amazon.com content into your site; add multimedia and video to your site using video services including CDN2 and Kaltura. You will learn how to prevent spam using CAPTCHA, reCAPTCHA and Mollom. You will also learn to explore the different types of Web services Drupal offers and can integrate with using the Services module and XML-RPC. Next you will learn to push content from Google documents, deploying this text and image based content as Drupal nodes.<br /><br />Next you'll integrate Your site with Twitter, Facebook and LinkedIn and show how to post content from Drupal to these social networking applications automatically. At the end you will be enlightened with authentication methods for integrating Web services with Drupal.</p>
Table of Contents (20 chapters)
Drupal Web Services
Credits
About the author
Acknowledgements
About the reviewers
Preface
Index

Modules used in Chapter 5


In Chapter 5, Drupal and Multimedia Web Services, we continued our discussion of how Drupal interacts and integrates with external web services and applications, and consumes web data from these external hosts. Here, we turn our attention to using multimedia-based web services and modules, including modules that integrate video-based web services including CDN2, Kaltura, and the Media: Flickr module. These modules allow our site users to upload video and host the uploaded video via the web service server, and also to add more multimedia and dynamic components to our Flickr module, allowing us to map entire photosets into our Drupal site and present our site visitors with interactive Flickr-based slideshows and videos.

CDN2 web service

The CDN2 web service is available here. You need to sign up for an account before you integrate and use the CDN2 video module: http://www.workhabit.com/products/cdn2. WorkHabit also provides documentation on how to use the CDN2 web service at: http://www.workhabit.com/products/cdn2/guide. To use CDN2, you need to make sure you are using PHP 5.2+ and that you have the SOAP extension enabled. You also need the Drupal CCK module installed and enabled as well as various PEAR libraries mentioned in detail in Chapter 4,

CDN2 video module

The CDN2 module allows for integration with your CDN2 web service account. The CDN2 suite of modules comes with CDN2 Dash Player and Flowplayer integrations and the main CDN2 video module.

Kaltura web service

The Kaltura open source video web service and application allows you to purchase hosting space on Kaltura's servers to upload and stream your video and multimedia and then present this video via your Drupal site using the Kaltura module. You can learn more about and sign up for the Kaltura web service at: http://corp.kaltura.com/.

Kaltura module

The Kaltura module allows for integration of the Kaltura web service with your Drupal site and also enables you to integrate your video with Drupal modules including CCK and Views. The suite of Kaltura modules includes: Kaltura as CCK Field, Kaltura Media Comments, Kaltura Media Node, Kaltura Media Remix Node, and Kaltura Media Views.

Media: Flickr

This module allows us to map our Flickr photosets into an embedded media field in a CCK-powered custom field. So, you'll need both the CCK and the Embedded Media Field modules to use this module.

Embedded media field

This module adds a custom media field to support audio and video content to your custom content types using CCK. This module supports images, audio, and video and offers the following support in its suite of modules: image field, video field, audio field, media thumbnail, inline media, and media import. You need this module in order to integrate the Media: Flickr functionality.