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 3


In Chapter 3, Drupal and Flickr, we continued our discussion of Drupal's interaction and integration with external web services and applications. We looked in detail at how Drupal consumes web data from these external hosts. Here, we turned our attention to using the Flickr modules to enable integration with the popular photo-sharing web application Flickr.

Flickr account and API key

To follow along with examples in Chapter 3, Drupal and Flickr, it's a good idea to set up a Flickr account and create some galleries and sets that you can work with. You can sign up for a Flickr account at: http://flickr.com/

You will also need to sign up for a Flickr API key and developer account at:

http://flickr.com/services/api/

Flickr module

We installed and enabled the Flickr module so we can integrate our Flickr photo galleries with our Drupal site. The Flickr suite of modules includes Flickr Block, Flickr Filter, Flickr Sets, and Flickr Tags.

idGettr

This tool allows us to get the Flickr ID # of a user's photostream or Group pool if it's publicly available.