August 9, 2008
A RSS feed for your country’s medal hunt in Olympics 2008

I’ve created a Yahoo Pipe to find the list the medals won by a country in the ongoing Olympics 2008. Visit the pipe, enter the country code and click on “Run”. Find the list of Country codes here.

The results are displayed as shown in this picture,

RSS feed for Olympics 2008 medals by country



And how to create a feed for the medals won by your country’s Olympians from this Pipe? Here you go!!. This is the format of the feed url,

http://pipes.yahoo.com/yemkay/olympics2008medalfeed?_render=rss&country=XXX


Replace XXX with the country code. Open your feed reader, subscribe to this URL and be the first to know when Olympians from your country win medals. Feed for my country is still empty. Dont miss the hot ones - China and United States.

Read the related entry in Pipe Feeds

August 9, 2008
Pipe Feeds - a website for showcasing my Yahoo Pipes

Pipe Feeds is the directory of my Yahoo Pipes. I will publish the Yahoo pipes created for my personal use on this website. Most of my pipes attempt to simplify the way you read your favorite content across the websites. My objective of creating Pipes is that, if you like a content from a particular section of a website, let the content come to you next time without you having to visit the website again. Widgetizing and embedding are some other benefits from Yahoo Pipes. This diagram depicts it more clearly.
Benifit from Yahoo Pipes



To start with, I’ve published pipes for Cricket Quotes (from cricinfo), ThiruKural Widget and History of Tamil Cinema (from DinaThanthi).

The pipes Cartoons from Indian dailies, Cartoons from Tamil dailies and Adade Cartoons feed which were created in the past and later graduated to auto publishing sites are also listed.

The site is hosted on blogger. Each post will represent a pipe and has various links for embedding, gadget creation, feed subscription and Pipes source.

Read more about Yahoo Pipes and Pipe Feeds site

July 17, 2008
View cartoons from Indian magazines

In continuation to the Adade Cartoons site and feed, I’ve created two similar sites for aggregating cartoons from English and Tamil magazines.

The Toons of India site pulls cartoons from Times of India, Economic Times, Indian Express, Deccan Chronicle and Hindu, while the Tamil cartoons website aggregates cartoons from the popular Tamil magazines of Dinamani, Dinamalar and Dinathanthi.

View Toons of India
View Tamil cartoons

As explained here, these custom aggregators were created using Yahoo pipes, a free tool to generate custom feeds.

June 30, 2008
Common problems faced in Yahoo Pipes

Why my Yahoo Pipe shows “No Results” on running it?


Yahoo Pipe - No results


Beginners in Yahoo Pipes may end up getting this error message while running their Yahoo Pipes. There are two reasons for a Yahoo Pipe not showing any results.


    The Pipe Output is not wired.
    Make sure that the Pipe Output is wired. Verify the raw output in the debugger.

    Yahoo Pipe - Pipe Output module



    No description element
    Make sure your pipe has an element called “description”, which is required for any HTML based feed output. Output the HTML code of your pipe only to the “description” element. Having your HTML output in any other element will make your pipe output go unrecognized by feed readers.

    Yahoo Pipe - Description element




If your pipe still shows no results, ensure that your pipe sources, i.e. modules like Fetch Page, Fetch Data and Item Builder, pull data needed for the pipe. If you find nothing fishy, debug the pipe starting from “Pipe Output” module and navigating upwards.



Finding it difficult to Regex multi line text?


Simple. Convert it into single line and Regex it. Use a Regex command to replace the new line characters with empty text and apply your Regex commands on the single line text. Do like this,

Yahoo Pipe - Multi line Regex


Noted the option boxes checked in both the commands? Its ‘g’ and ‘m’ for the new line replacement and ‘g’ for remaining commands.

How to add more elements to the feed?


Use the Rename module and copy an existing element. You can remove the source element’s contents by using a Regex module as below.

Yahoo Pipe - Add a new element



Connecting feed output to a string module


Yahoo Pipes doesn’t allow you to wire a port of type “items” to a port of type “string”. But in many cases we require this wiring to process the strings in the feed items. Here is how you should do this…


Add a loop module and place the string module within the loop module. Then connect a module’s “items” output with the loop module. Now the fields in the string module, which is now hosted on the loop module, will be populated with the elements available in the input feed. In the loop module’s field ‘For each’, select the element which has to be processed by the string module. This element in each item of the input feed will be processed by the string module and the string output can either add on to or replace the elements in the input feed, depending on your selection between “assign results” or “emit results”. Here is a sample Pipe that demonstrates Loop module.

Liked posts on Tumblr: More liked posts »