Views 3 + YQL + Views Attach (presentation at DrupalCamp Oslo)

This is a recording of a presentation at DrupalCamp Oslo 2010 showing how to integrate YQL data with your Drupal using Views 3 and YQL Views Query Backend.

This screencast can be downloaded at Archive.org and Vimeo.

Attached are features used in this presentation, as well as some more elaborate comments and step-by-step description for recreate all the functions displayed in the screencast.

This presentation shows four practical examples of how you can use YQL data on your Drupal site

  • To display feeds of tweets mentioning a selected user
  • To display top five Google-pages linking to the current page (or a specified URL)
  • To search Flickr using node tags or a custom string, displaying returned images in a slideshow
  • To create semi-unique Twitter tags for each node, using Twitter as comment engine

This screencast differs somewhat from previous screencasts on the YQL topic

  • It is recorded live at DrupalCamp Oslo!
  • It presents some of the news in Views 3 (compared to Views 2)
  • It utilizes tokens to create view arguments much more than previous demonstrations
  • It uses Views Attach rather than Panels and Page Manager to manage Views arguments
  • It contains a sneak promotion of my brand new module Array Tokens

As mentioned in the screencast, I originally planned to use Panels and Page Manager to handle the arguments. This is because I find Page Manager a really great tool for handling contextual information. The problem is that you can't create contextual information consisting of arbitrary strings – such as tokens prepended or appended with custom text (read @[content-profile-profile-profile_twitter]).

If you are interested in discussing this, please visit http://drupal.org/node/915824.

Are you too fascinated by YQL + Drupal? Consider voting for my View 3 + YQL session at DrupalCon Chicago!.