Top Banner
Yahoo Pipes Mashup your life without any server side code Cristiano Betta
33

Mashup your life with Yahoo Pipes

May 17, 2015

Download

Technology

Cristiano Betta

A quick example of how you can mashup your own data with Yahoo Pipes and no server side code.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Mashup your life with Yahoo Pipes

Yahoo PipesMashup your life without any server side codeCristiano Betta

Page 2: Mashup your life with Yahoo Pipes

Mashup your life

Page 3: Mashup your life with Yahoo Pipes

Mashups

Page 4: Mashup your life with Yahoo Pipes

1. Query some data

Page 5: Mashup your life with Yahoo Pipes

FROM MULTIPLE LOCATIONS

Page 6: Mashup your life with Yahoo Pipes

WITH DIFFERENT PROTOCOLS

Page 7: Mashup your life with Yahoo Pipes

2. Do something with it

Page 8: Mashup your life with Yahoo Pipes

TAKES PROCESSOR TIME

Page 9: Mashup your life with Yahoo Pipes

UNIFY THE DATA

Page 10: Mashup your life with Yahoo Pipes

3. Show the result

Page 11: Mashup your life with Yahoo Pipes

YAHOO PIPES

Page 12: Mashup your life with Yahoo Pipes

UNIX PIPES FOR THE WEB

Page 13: Mashup your life with Yahoo Pipes

YES, LIKE POPFLY

Page 14: Mashup your life with Yahoo Pipes

LIFESTREAM EXAMPLE

Page 15: Mashup your life with Yahoo Pipes
Page 16: Mashup your life with Yahoo Pipes

74 LINES OF HTML

Page 17: Mashup your life with Yahoo Pipes

NO SERVER SIDE LOGIC

Page 18: Mashup your life with Yahoo Pipes
Page 19: Mashup your life with Yahoo Pipes

EXPORT TO RSS, XML AND JSON

Page 20: Mashup your life with Yahoo Pipes

PrototypeJS

Page 23: Mashup your life with Yahoo Pipes

function drawLifestream(item){ var div = document.createElement('div'); Element.extend(div); div.addClassName('post_content'); div.innerHTML=item["content:encoded"].unescapeHTML(); return div;}

Page 24: Mashup your life with Yahoo Pipes

Cool Notes

Page 25: Mashup your life with Yahoo Pipes

Make it dynamic

Page 27: Mashup your life with Yahoo Pipes

Circumvent caching

Page 29: Mashup your life with Yahoo Pipes

Cache with PHP

Page 30: Mashup your life with Yahoo Pipes

Cache with PHPYeah, I know, that’s server side code

Page 31: Mashup your life with Yahoo Pipes

Not so cool notes

Page 32: Mashup your life with Yahoo Pipes

SOMETIMES IT’S VERY SLOW

Page 33: Mashup your life with Yahoo Pipes

UNCLEAR ABOUT COMMERCIAL USE