Now we turn to the other feeds. Those area a bit more straightforward as I really just want the output from them. So, add another Feed Fetch source and enter the URLs to the other two feeds into it. But, now we have two sources and if you look at the Pipe Output tool, you'll see it's only got one input! Fortunately, there's an easy solution: the Union tool. This simple tool provides multiple inputs and a single output. If we attach it to the Pipe Output and then highlight that, we see we've got my one iPhoneTunes.net entry and all of the entries from this blog. It pulled all of them, so you can't see the TEDxRochester blog items in the debugger, but they're there.
Sunday, November 15, 2009
It's all a series of tubes, Part 3: I'll bet you think this Pipe is about you
It's all a series of tubes, Part 2: And what is a Pipe if not a tube?
If I click on the Fetch Feed source, it turns orange. The really interesing bit happens in the debugger, though:
The fetcher, once highlighted, does its job and you see the result. It has fetched all of the items from the RSS feeds and is showing me what my output would be if I ended the chain here. Unfortunately, at the moment, only one person has tweeted recently enough to show you. But, were there tweets from other people, you'd see all of the intermingled into one continuous stream.
Since this is just supposed to be a simple aggregator, I'm going to end it here. To do so, simply click the little bubble on the bottom of the Fetch Feed source. You'll see the bubble on the top of the Pipe Output tool turns orange. This is to let you know that it's an acceptable place to terminate the pipe that's now coming out of the bottom of the feed fetcher. Simply drag that pipe down and drop it onto the output tool and a link is formed. If you then click on the Pipe Output tool, you'll see the debugger refresh and the same data as before will display. That's it, we've now got a simple aggregator for our Twitter feeds. Hit the Save button, give it a name and we're done!
So, now what do we do with this? Well, click on My Pipes at the top of the page. Your new Pipe will show in the list. Click it, and you should see the tweet feed. All you need to do now is right click the "Get as RSS" link, choose "Copy link location" and paste it into your feed reader. If you use Yahoo or Google Reader, it's even easier: just click the button.
Now, this was just a simple first Pipe to get our feet wet, but it really shows how powerful this tool can be. It gets even more powerful when you start to take advantage of the filtering capabilities as well. But, that's for Part 3...