WordPress has a lot of snazzy features like the ability to add plugins. Due to this reason wordpress is considered a better platform than blogger. But Blogger lovers try to convert the wordpress plugins to code which can be simply added to the template of the blog.

I always liked the amazing plugin that greets every user if it is redirected from google, digg or any other popular website which is popularly known as WP Greet Box.

Classic Tutorials has made a blogger version of this plugin: Blogger Greet box

Features of the Blogger Plugin:

1. Shows a different greeting message to your visitor depending on the referrer URL.
2. Greeting message can be inserted any where but better to use on the top as shown in classic
tutorials.
3. Shows a default greeting message if the user hits the URL directly or comes from a referrer.
which is not specified.
4. Ability to remove the message when the user navigates within the same site so we do not keep
nagging them with greeting messages.
5. Currently the following referrers are installed:

  1. Google
  2. Yahoo
  3. Digg
  4. Stumbleupon

Here are some snapshots of the plugin:

Stumbleupon greet -Blogger Greet Box
Stumbleupon Greet Message

Google Greet - Blogger Greet Box

Google Greet Message

Here is how you can add the Plugin to your blog:

1. Go to Template > Edit Html
2. Download Full Template (For Backup Purposes)
3. Copy the following code

<script src=”http://kaushik259106.googlepages.com/TextToBeDisplayedDiv.js” type=”text/javascript”></script>
<div id=”mainDisplayDiv” style=”background:#F8F8FF;border:1px solid #B6AFA9;display:none”><div id=”dynamicContentDisplayed”>
</div><script type=”text/javascript”>

// Give your feed url here
var feedURL = “http://feeds2.feedburner.com/blogspot/VMpK“;var dynamicHTMLText = displayRequiredText(feedURL);
document.getElementById(“dynamicContentDisplayed”).innerHTML = dynamicHTMLText;</script>
</div><script src=”http://kaushik259106.googlepages.com/HideShowDiv.js”
type=”text/javascript”></script><script type=”text/javascript”>

//List your domains where you dont want to show up. Suppose
//when people navigate within your site and you dont want to
// show up. This is , seperated
var myRestrictedDomainList = “bloggodown.com”;showHideDiv(myRestrictedDomainList);</script>

Make sure that you replace the Feed link in BOLD with your own feed.
You can also restrict the domains where you don’t want to show via the Restricted Domain List.

4. Paste the code preferably at the top of each post i.e above <post.body> but you can paste it anywhere in the post if you like.

5. Save the Template and it’s done. :)

Do you like this plugin for Blogger? Tell me!!