Goal:
Consolidate the feeds from my Flickr, Wordpress, Del.icio.us, etc accounts
Solution:
Use Yahoo! Pipes
Intended Audience:
Pipes newbies
Steps:
Create a pipe
- Go to http://pipes.yahoo.com and log in, or create an account if you don’t already have one
- Click the “Create a pipe” button
- In the editor, click and drag a “Fetch Feed” object onto the stage
- Open a new browser tab or window, head over to http://flickr.com/, and log in, or create an account
- Click on the “Your photostream” link to view your photostream
- Scroll to the bottom of the page and copy the “Latest” RSS feed URL
- Switch back to the Pipes editor and paste the Flickr URL into the text field in the “Fetch Feed” object on the stage
- On the bottom on the “Fetch Feed” object, there is a circular attachment point. Click on it an drag to start forming a new pipe
- Drag the pipe to the attachment point on top of the “Pipe Output” object at the bottom of the stage.
- Release the pipe when the “Pipe Output” attachment point glows.
- Click the “Save” button to name and save your new pipe
- Click the “Back to my Pipes” link next to the save button
- Click on the name of your pipe in the list of your pipes. This will display the output of your pipe.
- Click the “More Options” link and then “Get as RSS” in the drop-down. This will open the RSS feed in your browser if you’re using Safari or Firefox.
Build page
- Following an example from Rasmus Lerdorf’s Open Hack talk (http://talks.php.net/show/hack08/8), use simplexml to parse the RSS feed:
[sourcecode language=‘php’]