Sign in

Google Wave APIs (Labs)

WaveProtocol.org

Learn about the Google Wave Federation Protocol and get involved

Sample Details

IMDbotty

By: Vincent Etter - Oct 19, 2009

IMDbotty replaces links to movies on IMDb with a small gadget that displays useful information about the movie (title, year, rating, cover, director(s), actors). The gadget can be reduced or expanded whether we ant all details or not, and the state is saved in the wave and shared between users.

 BEST PRACTICE
It uses memcache to store movie information, templates to display the gadget, regex to parse and extract information from IMDb and the gadget state to store its status.

Gadget XML

Robot Address: imdbotty@appspot.com

APIs: Robots, Gadgets

Languages: Python, JavaScript

Tags: movie link imdb regex state memcache

*Live demos require Wave Sandbox access to view

Comments (9)

Title

Comments

Your name

 

Please make sure your comments are useful and informative.

Now supports international versions of IMDb !  

The robot now replaces urls from www.imdb.de, www.imdb.it, www.imdb.es and uk.imdb.com. The gadget also displays the localized information.

doesnt work for other imdb-domains like imdb.de  

what a pity :(

Bug fixed and new features !  

Presentation, parsing and caching bugs have been fixed. The gadget can now be reduced or expanded, all names of actors, directors, etc... are link to their page on IMDb, and the width as been increase (slightly).

Suggestion  

May I suggest you to increase the width? It breaks the format when the title is so long. Autosize may be an alternative, but fixed seems better.

typo  

should be "imdbbotty@appspot.com" instead of "imdbotty@appspot.com". one missing "b".