What Pipes? Yahoo Pipes!

April 21st, 2010 by Fernando Cuis

Yahoo Pipes

Yahoo Pipes is a powerful composition tool to aggregate, manipulate, and mash-up content from around the Web from Yahoo! The name of the service pays tribute to Unix pipes, which can make it easy to chain simple utilities together on the command line.

Talk about total control over data. This overwhelming, futuristic application is intimidating at first – but once you get a grip – hold on for an amazing ride.

The application works by enabling users to “pipe” information from different sources and then set up rules for how that content should be modified.

A typical example may be CNN through Google Images, a pipe which takes CNN’s RSS feed and adds a photo from Google Images based on the keywords of each item.

Pipe Building

You make a Pipe by dragging pre-configured modules onto a canvas and wiring them together in the Pipes Editor.

Sharing a Pipe

Once you’ve built a Pipe, you’ll be able save it on Yahoo’s server and then call it like you would any other feed. Pipes offers output in RSS 2.0, RSS 1.0 (RDF), JSON and Atom formats for maximum flexibility. You can also choose to publish your Pipe and share it with the world, allowing other users to clone it, add their own improvements, or use it as a sub-component in their own creations.

I’ve recently set-up my own pipe, to merge my blogs into one seamless feed. I then tied that RSS feed, into my Facebook page.  This allows me to bypass Facebook’s single feed dilemma.




RSS Mash-up, Ka-pow!

February 8th, 2010 by Fernando Cuis

If you’re anything like me, a Geek, you probably have more than 1 RSS feed and multiple outlets that you would potentially LIKE to display them in. But most of these outlets (think: Facebook, Twitter, your Blog, etc…) pin you down to just 1 feed.

Allow me to introduce you to ChimpFeedr: enter a bunch of RSS feeds into ChimpFeedr, and they’ll mash ‘em up into one master RSS feed. Then, maybe you can use that master feed for your social outlets!

Very cool.




Block Bots, Leechers, and Ban by IP

January 19th, 2010 by Fernando Cuis

If you have an offender, always abusing your server or dumping spam through your contact forms… the tutorial below will teach you how to block them from accessing your website. It should be noted, however, that this post is specific to Linux servers with HTACCESS functionality.

Block Bots

The below instructions look for robots that begin with a name of “BadBot” and tells it to go to http://take.a.hike/ which translates to a long walk off a short pier. Adjust accordingly.

   #get rid of the bad bot
   RewriteEngine on
   RewriteCond %{HTTP_USER_AGENT} ^BadBot
   RewriteRule ^(.*)$ http://take.a.hike/

Block Leechers (Hotlinkers)

Steeling bandwidth and server resources can cripple your site and ultimately your repeat traffic. No one likes a slow site. To prevent other website from hot linking or leeching your content, use the code below:

   #### BAD SITE REDIRECT ####
   RewriteEngine on
   RewriteCond %{HTTP_REFERER} badwebsite\.com [NC]
   RewriteRule .* - [F] 

   #### BLOCK MORE THAN ONE SITE ####
   RewriteEngine on
   RewriteCond %{HTTP_REFERER} ^http://.*badwebsite\.com [NC,OR]
   RewriteCond %{HTTP_REFERER} ^http://.*secondbadsite\.com [NC,OR]
   RewriteCond %{HTTP_REFERER} ^http://.*thirdbadsite\.com [NC]
   RewriteRule .* - [F]

The code above will return a 403 Forbidden error to anyone trying to hotlink your images on badwebsite.com. The end result: users on that site will see a broken image, and your bandwidth is no longer being stolen.

Block by IP

My personal favorite… block a person from accessing your website by their IP.

    #### BLOCK BY IP ####
    order allow,deny
    deny from 192.168.44.201
    deny from 224.39.163.12
    deny from 172.16.7.92
    allow from all

All of the examples above are specific to HTACCESS. If you are on a Windows Server, this will not work for you. Happy blocking!