mashup your life with yahoo pipes
DESCRIPTION
A quick example of how you can mashup your own data with Yahoo Pipes and no server side code.TRANSCRIPT
Yahoo PipesMashup your life without any server side codeCristiano Betta
Mashup your life
Mashups
1. Query some data
FROM MULTIPLE LOCATIONS
WITH DIFFERENT PROTOCOLS
2. Do something with it
TAKES PROCESSOR TIME
UNIFY THE DATA
3. Show the result
YAHOO PIPES
UNIX PIPES FOR THE WEB
YES, LIKE POPFLY
LIFESTREAM EXAMPLE
74 LINES OF HTML
NO SERVER SIDE LOGIC
EXPORT TO RSS, XML AND JSON
PrototypeJS
http://pipes.yahoo.com/pipes/pipe.run?_id=nLJtNct93BGnML4nl7okhQ&_render=json&l=50
http://pipes.yahoo.com/pipes/pipe.run?_id=nLJtNct93BGnML4nl7okhQ&_render=json&l=50&_callback=drawLifestream
function drawLifestream(item){ var div = document.createElement('div'); Element.extend(div); div.addClassName('post_content'); div.innerHTML=item["content:encoded"].unescapeHTML(); return div;}
Cool Notes
Make it dynamic
http://pipes.yahoo.com/pipes/pipe.run?_id=nLJtNct93BGnML4nl7okhQ&_render=json&l=50&_callback=drawLifeStream
Circumvent caching
http://pipes.yahoo.com/pipes/pipe.run?_id=nLJtNct93BGnML4nl7okhQ&_render=json&l=50&_callback=drawLifeStream&eviltokoken=hdsaa8sd79s8dd98asd7f7
Cache with PHP
Cache with PHPYeah, I know, that’s server side code
Not so cool notes
SOMETIMES IT’S VERY SLOW
UNCLEAR ABOUT COMMERCIAL USE