Yahoo! Pipes: Munging, Mixing and Mashing

22
Yahoo! Pipes Munging, Mixing and Mashing A beginner’s guide to using Yahoo! Pipes by Neil Crosby .

description

 

Transcript of Yahoo! Pipes: Munging, Mixing and Mashing

Page 1: Yahoo! Pipes: Munging, Mixing and Mashing

Yahoo! Pipes

Munging, Mixing and Mashing

A beginner’s guide to using Yahoo! Pipes by Neil Crosby .

Page 2: Yahoo! Pipes: Munging, Mixing and Mashing

I <3 Pipes

Easy to use.

Allows output in multiple formats.

Reduces the code I need to write.

Page 3: Yahoo! Pipes: Munging, Mixing and Mashing

“But Pipes isn’t easy”

It is, once you’re past the initial learning curve.

But that initial curve puts lots of people off.

Page 4: Yahoo! Pipes: Munging, Mixing and Mashing

Pipes powers my stuff

NeilCrosby.com

Following Twitter Conversations.

Making Feverº more useful to me.

Page 5: Yahoo! Pipes: Munging, Mixing and Mashing

NeilCrosby.com

Page 6: Yahoo! Pipes: Munging, Mixing and Mashing

What to talk about?

First, a simple teaser pipe.

Next, munging data together.

Then, filtering data out.

Finally, making new data.

Page 7: Yahoo! Pipes: Munging, Mixing and Mashing

1. A simple teaser pipe

Grab an RSS feed.

Truncate it.

Output it.

Page 9: Yahoo! Pipes: Munging, Mixing and Mashing

2. Munging data together

Page 10: Yahoo! Pipes: Munging, Mixing and Mashing

The Problem

You have a lot of feeds.

You only want one feed.

You want them in chronological order.

You don’t want too many items.

Page 11: Yahoo! Pipes: Munging, Mixing and Mashing

The Solution

Load the feeds using Pipes.

Sort the feeds.

Truncate the final feed.

Job done.

Page 13: Yahoo! Pipes: Munging, Mixing and Mashing

3. Filtering Data Out

Page 14: Yahoo! Pipes: Munging, Mixing and Mashing

The problem

Upcoming provides a list of all events you’ve ever been interested in.

You just want the ones you’ve been to.

You only want the last few.

What to do?

Page 15: Yahoo! Pipes: Munging, Mixing and Mashing

The solution

Load Upcoming data as XML.

Filter to only keep “attended” events.

Turn Upcoming data into an RSS feed.

Page 17: Yahoo! Pipes: Munging, Mixing and Mashing

4. Creating new data

Twitter conversations.

Page 18: Yahoo! Pipes: Munging, Mixing and Mashing

The Problem

People ask questions on twitter that I want to hear the answer to.

The lovely answers are hidden from me.

Page 19: Yahoo! Pipes: Munging, Mixing and Mashing

The solution

Use twitter search to surface replies to the original question.

Create a feed from this data.

Page 20: Yahoo! Pipes: Munging, Mixing and Mashing

The Pipe

It’s a big’un.

(and this doesn’t cover all of it)

Page 22: Yahoo! Pipes: Munging, Mixing and Mashing

Linkies@NeilCrosby everywhere.

http://neilcrosby.com

http://pipes.yahoo.com/neilcrosby

http://www.slideshare.net/neilcrosby/pipes