My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping @Yeyhi.com

Pages










Monday, March 11, 2013

Sort Blog Posts using Yahoo Pipes - Blogger Posts in alphabetical, chronological, date wise order


Problem Statement: Sort the Blog posts in a desired order like chronological, or Alphabetical order.
One of the many tools: Yahoo Pipes. We will use Yahoo Pipes to solve this problem.

Yahoo! Pipes is a web application from Yahoo! that provides a graphical user interface for building
data mashups that aggregate web feeds, web pages, and other services, creating Web-based apps from
various sources, and publishing those apps. Hence, Yahoo Pipes is an amazing Data Mining Tool.
Or, lets say a Data analysis tool. Now let us see what does it take to get to our solution of sorting the Blog posts in a desired order like chronological, or Alphabetical order. And that too using Yahoo Pipes!!

Step 1: Get the Blog Feed using Atoms
First we get the blog feed URL. In this case we will use :
http://http://new-it-discussions.blogspot.in/atom.xml
Then to include all posts we add this parameter to the above feed url :
?redirect=false&start-index=1&max-results=999
This will fetch 1000 posts from the blog. Now the complete feed url is :
http://http://new-it-discussions.blogspot.in/atom.xml?redirect=false&start-index=1&max-results=999


Step 2: Launch the Yahoo Pipes project to create data mashup for aggregating and analysing data
For this Just Create a Yahoo Profile and Register A Pipes Account.

Step 3: Using Yahoo Pipes to create Web based app combining data from different sources and applying analytics
The Left HAndside Menu will have different options and operators.
Use Feed Operator as Input. So, now input to you Pipe will  be the feed from your blog
Now Bring, drag and drop, a Sort Operator.
For reference, please see the image which shows my Pipe in development stage :)

I used the sort by itel.PubDate. This means sorting by Publishing date.
You can sort by Alphabetically and other options. You may also select Ascending or descending.
Now connect the output from this to the final output.
This compleet one Yahoo Pipe.
You can Run and then publish the Yahoo Pipe

Voila!!
Your First Yahoo  PIpe is created.


The Discussions For IT People Blog has created some Pipe for its own usage. You can view them at:
Discussions-For-IT-People-Pipe-BlogListAlphabetical
http://pipes.yahoo.com/pipes/pipe.info?_id=b74f9eeb70b27af587832209b7acfbd0
Discussions-For-IT-People-Pipe-BlogListChronological
http://pipes.yahoo.com/pipes/pipe.info?_id=c948a93a254e97b3ad59df059b2983cc









No comments:

Post a Comment