Yahoo! Pipes – Indian News Sites

The news RSS Feeds by Economic Times are very concise and one has to visit the news article to read it entirely.

The same is true for number of other Indian News sites.

I always wanted to try out Yahoo! Pipes.

Below are the steps that I did –

Step 1:

From Sources, drag a new Fetch Feed and use URL – http://economictimes.indiatimes.com/rssfeeds/13357270.cms

pipes1

The above gives us a RSS output –

Output

pipes-out-0

Step 2:

From Operators drag a Loop

pipes2

Drag blue bubble connector from Fetch Feed of Step1 to the Loop.

pipes3

From Sources drag a Fetch Page to the center section of Loop.

pipes4

From Fetch Page URL drop down, select items.link
As the Fetch Page gets a page as string, to get the actual story contents only you extract the contents using the “Cut content from:” and “to:”, for economic times the contents of the actual story resided between google_ad_section_start –> and google_ad_section_end.

The above contents can be assigned to any items. I have assigned it to the items.link.

pipes6

Output:

pipes-out-1

Step 3:

To restrict the output only to news title and contents, we can again use a Loop and drag a Item Builder from Sources.

pipes7

Please note the value used for description – item.link.0.content

As in Step 2 we have assigned contents to items.link, actually the contents are inserted as child items.link.0.conent.

Output:

pipes-out-2

Notice the “google_ad_section_start –>” as a start of description. We will remove it in next step.

Step 4:

In order to remove the google ad related message, we will use loop again 😉 along with String Replace from String.

pipes8

The final output is what I wanted 🙂

Output:

pipes-out-3

Below are some of the pipes that I have created, hope you find them useful –

Economic Times Infotech – ITes

eSakal

IBNLive
Swaminomics – SA Aiyar – Columnists – Opinion – The Times of India




Comments

No comments yet.

Add Yours

  • Author Avatar

    YOU


Comment Arrow




About Author

shiv

This author has not yet written a description. Please give them some time to get acquainted with the site and surely they will write their masterpiece.