s09-Day 04 Creating Mashup Projects from APIs
Background reading
- Chapter 4 Working with Feeds, RSS, and Atom
- Chapter 9 Moving from APIs and Remixable Elements to Mashups
Lecture notes
Two major strands of discussion today:
- feeds
- mashup projects to be built from APIs
By walking through Chapter 4, I wanted everyone to think about both high level concepts but also see the need to work through the details in the privacy of their own homes and thought. Important points about feeds (Chapter 4):
- there are many formats (RSS 2.0, 1.0, Atom) but same concept (XML formats + JSON)
- ubiquity of feeds — lots of websites have them: news sites, blogs, web publishing frameworks
- a massive ecosystem around feeds — very worthwhile studying as a model for other computational ecosystems.
- Yahoo! Pipes as a tool to mashup feeds — very useful to understand basic concepts around feeds.
We walked through examples of RSS 2.0, RSS 1.0, and Atom 1.0. I demonstrated how to use feedvalidator.org (e.g., to validate a RSS 2.0 file).
I spent a fair amount of time showing how to use Yahoo! Pipes. First is a basic one that geocodes the NY Times World section RSS feed and get as KML that can in turn be sent to a Google Map. I then walked through the examples at the end of Chapter 4. (e.g., Yahoo! Pipes output on Hurricane Katrina articles from Yahoo! News) and Pipes: Google News, Yahoo! News, Wikinews, NY Times National News by search term
Projects
I assigned Mixing and Remixing Information » Project Proposal Format, due Monday, Feb 23 at 11pm.
Notes that might be helpful to students thinking about project ideas:
- What we came up in our previous classroom discussions: Mixing and Remixing Information » Brainstorming notes from Day 3 (Jan 28, 2009)
- When you are brainstorming project ideas, you might find an old list (last edited in Jan 2006) MashupIdeaBrainstorm – Raymond Yee’s Wiki helpful.
Articles I passed around
(in keeping with the open government theme and ideas around the Sunlight Foundation Apps for America competition):
- iGov – The Atlantic (January/February 2009)
-
Blaser, Britt, David Weinberger, and Joe Trippi. “Digital Government through Social Networks:
A Natural Alliance?.” Puebla, Mexico. http://dotorgware.com/documents/DGSNA-SocialNetworks435VCDs1.pdf.
-
Leonhardt, David. “The Big Fix.” The New York Times, February 1, 2009, sec. Magazine. http://www.nytimes.com/2009/02/01/magazine/01Economy-t.html?_r=2&ref=business&pagewanted=print.
-
Longobardi, Elinore. “A Guide To Bailout Transparency Sites : CJR.” Columbia Journalism Review, January 30, 2009. http://www.cjr.org/the_audit/a_guide_to_bailout_transparenc.php.
Exercises
- Create a single Google Map out of two feeds: 1) the feed of the SF Gate Food and Dining section and 2) Yelp! reviews close to Berkeley. (Hint: use Yahoo! Pipes and location extractor).
- Write a paragraph on how feeds might be able to help you accomplish one of your project ideas. Bonus: Create a prototype of project idea with Yahoo! Pipes
- Make a NPR feed that you can load up in iTunes, say on Elizabeth Warren.
- Read Chapter 6 on the Flickr API.
- Bonus: Create a feed of the current courses: http://www.ischool.berkeley.edu/programs/courses by using the Fetch Page Module.
Leave a Reply
You must be logged in to post a comment.