Scripts & Screenplays

From XPUB & Lens-Based wiki

Two examples of data-driven drama

From data to video...

  • I love alaska, "The heartbreaking search history of AOL user #711391"
  • Epicpedia, by PZI alum Annemieke van der Hoek

Epicpedia

A wikipedia article:

and its history:

Wikipedia has an API

http://en.wikipedia.org/w/api.php

API

URL Structure:

 http://en.wikipedia.org/w/api.php
 ?
 titles=Epic_theatre
 action=query
 rvlimit=10
 prop=revisions
 format=json
 rvprop=user|timestamp|content|comment

becomes:

http://en.wikipedia.org/w/api.php?titles=Epic_theatre&action=query&rvlimit=10&prop=revisions&format=json&rvprop=user%7Ctimestamp%7Ccontent%7Ccomment

JSONView

Browser extensions that specifically handle JSON are handy!

http://addons.mozilla.org/nl/firefox/addon/jsonview/

JSON Response

WikipediaEpicTheatre.png

Videogrep

From SRT to EDL

SubRip Text

48
00:06:13,530 --> 00:06:14,460
lt's about time you got married,

49
00:06:14,530 --> 00:06:18,530
Before you turn into
a lonesome and bitter, old man.

50
00:06:19,730 --> 00:06:21,860
yeah, can't you just see me?

51
00:06:23,000 --> 00:06:25,000
Rushing home to a hot apartment

52
00:06:25,060 --> 00:06:29,060
To listen to the automatic laundry
and the electric dishwasher

53
00:06:29,130 --> 00:06:33,130
And the garbage disposal
and the nagging wife.

http://en.wikipedia.org/wiki/SubRip

grep "\bman\b"

Videogrep_man.png

grep "\bwoman\b"

Videogrep_woman.png

Videogrep

Error in widget Video: unable to write file /data/www/wdka.nl/pzwiki.wdka.nl/mw-mediadesign/extensions/Widgets/compiled_templates/wrt674009945f1666_55629284
Error in widget Video: unable to write file /data/www/wdka.nl/pzwiki.wdka.nl/mw-mediadesign/extensions/Widgets/compiled_templates/wrt6740099460a093_82373406

Twitter

http://dev.twitter.com/

RSS

http://sociable.co/social-media/twitter-hasnt-killed-rss-just-yet-heres-how-to-find-your-twitter-feed-rss-url/

Welcome to the new API

TwitterAPI11.png

Bad authentication

http://api.twitter.com/1.1/search/tweets.json?q=%23man

Anatomy of a tweet

Map-of-a-tweet.png

http://www.readwriteweb.com/archives/this_is_what_a_tweet_looks_like.php?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+readwriteweb+%28ReadWriteWeb%29&utm_content=Google+Reader