Aug 11
Slideshow output for Yahoo Pipes with images
Ever wondered why you ain’t getting the slide show output and Image tab while running an Yahoo Pipe? Well, the slide show will be shown only when the pipe has Image output. And for a Pipe to have Image output format it should have certain attributes in its output items. If your pipe consumes data from the inbuilt Flickr module, the required attributes are automatically populated. But when you are generating the list of images using some other means, for instance - by Google Search, you will have to populate the necessary attributes yourself to get slide show output for the pipes.
Following attributes and their values should be present for a Image output format,
-
media:group.media:content.media = image
media:group.media:content.url = URL of the image
How to populate these attributes in your Yahoo Pipe?
Let us that you have built a Pipe which generates a list of images. Open its source and place a Loop module. Connect the output of your pipe to the Loop module’s input. Drag the module “Item Builder” and drop it over the Loop module. Add the attributes mentioned above. For the URL attribute just select the attribute which has the URL of the image from your input. Choose emit all results from the Loop module and wire it to the Pipe output. Other attributes like title, link and description could be added in this manner. Finally, your pipe should look like the one below,
See this sample Yahoo pipe which shows a slide show of Google Image search results for Abhinav Bindra, the first solo Gold medal winner for India in Olympics. Click on “Edit source” to see how the required fields are constructed as mentioned above.
This is the slide show output for this pipe.








Chat
August 11th, 2008 at 4:35 pm
machi. great work da. this pipe has lot of potential and will try to promote as much. i cloned and made a badge for genelia images
and embedded in http://ravidreams.blogspot.com/ .
do two things
1. many people may not know to clone and edit source. give a text box like u did for mdal tally pipe where u entered the country code. so people can just enter their search term straight away from ur pipe.
2. write a post in tamil w screenshots how to get the badge and embed in blogs. will help me to promote.
Best pipe for fan boys
August 11th, 2008 at 4:37 pm
3. you can also give options to select the source of images (google search, picasa, flickr) or select all sources. many sources have better images than just google search i guess
August 11th, 2008 at 8:04 pm
Thanks Ravi. Will work on it…
There are few issues like adding thumbnail and title which need to be sorted out first. Will come up with a Tamil post soon.
September 6th, 2008 at 12:50 am
[…] ரவியின் விருப்பதிற்கேட்ப மூன்று புதிய யாகூ குழாய்களை […]