Sunday 24 February 2013

AJAX Navigation Menu For Blogger


Earlier this month, I posted an article on AJAX page loading effect for Blogger, which was so far the best AJAX trick for a Blogger blog.

AJAX is not a new programming language, but a new way to use existing standards. AJAX is the art of exchanging data with a server, and updating parts of a web page - without reloading the whole page. AJAX was made popular in 2005 by Google, with Google Suggest.

So, today I'am sharing a very nice Mashable style AJAX drop down menu for Blogger, which is created by W2B. The menu is works just like normal drop-down menu when javascript is disabled, And it will turns to AJAX powered drop-down menu when javascript is enabled.

Add This Menu To Blogger:

  • Go To Blogger > Template > Edit HTML > Click on "Proceed."
  • Search for ]]></b:skin> and post following css just above it:

/* Menu Stylings */
.w2bmenu *{margin: 0;padding: 0;}
ul.w2bmenu {list-style: none;line-height: 1;overflow: visible !important;}
ul.w2bmenu:after{margin: 0;padding: 0;content: ' ';display: block;height: 0px;clear: both;}
ul.w2bmenu li{list-style: none;position:relative;float: left;margin: 0 !important;padding: 0 !important;}
ul.w2bmenu li a{text-decoration:none;margin: 0;padding: 12px 16px !important;font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif !important;color: #6b6b6b !important;text-shadow: 0 1px 0 #fff;font-weight: 700 !important;text-transform: uppercase !important;font-size: 12px !important;display: block !important;border: 0 none !important;}
ul.w2bmenu li a:hover,ul.w2bmenu li a.hoverover{background: #f5f5f5 !important;}
ul.w2bmenu ul{position: absolute;display: none;top: 100%;border:1px solid #ccc;}
ul.w2bmenu li:hover > ul{display: block;}
ul.w2bmenu ul li{float: none;min-width: 160px;background:#f5f5f5;text-shadow: none;}
ul.w2bmenu ul li a{padding: 12px 14px;text-transform: none;font-weight: normal;}
ul.w2bmenu ul li a:hover,ul.w2bajaxmenu ul li a.hoverover{background: #fff !important;}
ul.w2bmenu ul ul{display: none;left: 100%;top: 0;}
/* AJAX Menu Stylings */
ul.w2bajaxmenu li div.submenu {display: none;position: absolute;width: 600px;z-index: 90;left: -1px;top: 100%;overflow: hidden;min-height: 150px;background: #fff;border:1px solid #cccccc;border-top: 0 none;}
ul.w2bajaxmenu li:hover div.submenu {display: block;}
ul.w2bajaxmenu ul ,ul.w2bajaxmenu ul li{display: block !important;border: 0 none !important;margin: 0 !important;padding:0 !important;}
ul.w2bajaxmenu ul li{background: none !important;float: none !important;}
ul.w2bajaxmenu ul.verticlemenu{position: absolute;width: 33%;left:0;top:0;bottom: 0;background: #f5f5f5;}
ul.w2bajaxmenu ul.postslist {position: relative;display: block;width:65%;float: right;margin: 8px 0 !important;background: none;}
ul.w2bajaxmenu ul.postslist li{display: block;overflow: hidden;border-bottom: 1px #eee solid;position: relative;min-height: 60px;padding: 8px 8px 8px 110px !important;}
ul.w2bajaxmenu ul.postslist li:last-child{border-bottom: none 0;}
ul.w2bajaxmenu ul.postslist li .imgCont{position: absolute;left: 0;top:8px;width: 100px;height: 60px;overflow: hidden;border:1px solid #dcdcdc;font-size: 0;line-height: 0;}
ul.w2bajaxmenu ul.postslist li .imgCont img{position: relative;top:-20px;padding: 0;width: 100px;height: 100px;display: block;}
ul.w2bajaxmenu ul.postslist li a{display: block;line-height: 1.4;padding: 0 !important;}
ul.w2bajaxmenu .loader{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcAwncprkWmz_NVH6_V7vSerIPXdFxbOvmi9NznbaqL-YseeM-LMIo-irZIMdJ8Fj5LYB2v0GbORQxfIEjgHNpcTuyQ2Q1QgLD7jJcqELgqvEF43K1tVmYoBKST7ZRNpZ3m_xUIGAglAE/s1600/SeivG.gif') no-repeat scroll 0 0 transparent;width:22px;height:22px;position: absolute;top:50%;margin-top: -11px;right:5px;}
ul.w2bajaxmenu .menuArrow {border-bottom: 4px solid transparent;border-top: 4px solid transparent;border-left: 4px solid #999999;display: block;height: 0;margin-top: -4px;position: absolute;right: 11px;top: 50%;width: 0;}
#w2bajaxmenu {background: #ededed;background: -moz-linear-gradient(top, #ededed 0%, #e0e0e0 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ededed), color-stop(100%,#e0e0e0));background: -webkit-linear-gradient(top, #ededed 0%,#e0e0e0 100%);background: -o-linear-gradient(top, #ededed 0%,#e0e0e0 100%);background: -ms-linear-gradient(top, #ededed 0%,#e0e0e0 100%);background: linear-gradient(to bottom, #ededed 0%,#e0e0e0 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#e0e0e0',GradientType=0 );border: 1px solid #cccccc;}

  • Now search for </head> and paste following script just above it:

<script type="text/javascript" src="http://widcraft.googlecode.com/svn/jquery.min.js"></script>

<script type="text/javascript" src="http://widcraft.googlecode.com/svn/AJAXBloggerMenu.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
    $('#w2bajaxmenu').ajaxBloggerMenu({
        numPosts : 4, // Number of Posts to show
        defaultImg : 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRFeTajLrpW3Ob3OROSkVTJHcqjYWgEQYiB7xij6-xhs-MlLu4luvA8RGzk2ZUHD_jhY0AaCJ5oPUTCHy4fj7rUwE2Y3yIyczyOFnNJwfdOEDTloXopSafrvBATwoIgLl6cLhTOi0iMN8/s1600/bigthumbnail.png' // Default thumbnail Image
    });
});
</script>

  • Save your template....Time for the final and most complicated step, so pay some attention to this.

The AJAX Menu accepts three types of urls. You must use this urls only in the menu. They are Label, Search Query and Label w/ Search Query.

  • Label URL: http://yourblogdomain.blogspot.com/search/label/LABELNAME
  • Search Query: http://yourblogdomain.blogspot.com/search?q=SEARCHQUERY
  • Label w/ Search Query: http://yourblogdomain.blogspot.com/search/label/LABELNAME?q=SEARCHQUERY

  • Go To Blogger > Layout > Add A Gadget > HTML/JavaScript
  • Post following code:

<ul id="w2bajaxmenu" class="w2bmenu">
    <li>
        <a href="#">Home</a>
    </li>
    <li>
        <a href="#">Example 1</a>
        <ul>
            <li><a href="http://yourblogdomain.blogspot.com/search/label/AdSense">Sample Label</a></li>
            <li><a href="http://yourblogdomain.blogspot.com/search/label/Gadgets?q=harish">Label w/ Search</a></li>
            <li><a href="http://yourblogdomain.blogspot.com/search?q=way2blogging">Search Query</a></li>
            <li><a href="http://yourblogdomain.blogspot.com/search?q=This+is+long+query+you+do+not+get+any+results,+so+try+others">Unknown Search</a></li>
        </ul>
    </li>
    <li>
        <a href="#">Example 2</a>
        <ul>
            <li><a href="http://yourblogdomain.blogspot.com/search/label/Design">Design</a></li>
            <li><a href="http://yourblogdomain.blogspot.com/search/label/Facebook?q=Like+Button">Facebook</a></li>
            <li><a href="http://yourblogdomain.blogspot.com/search/label/Templates">Templates</a></li>
            <li><a href="http://yourblogdomain.blogspot.com/search?q=Guest+Posts">Guest Posts</a></li>
        </ul>
    </li>
    <li><a href="http://yourblogdomain.blogspot.com">Normal Link</a></li>
</ul>

That's IT....Also, don't forget to change your blog's url in above code....

Friday 22 February 2013

Twitter Cards For Blogger


Twitter Cards show more detail about your posts to give readers a little preview of what they'll see when they click your link. And, the cards work when anyone Tweets a link to your post.

Adding META tags to your blog to allow links to your site to be more informational when tweeted.  Implementing Twitter Card META tags on your site takes five minutes.

In this tutorial I'm going to focus on making a summary card. The other two card types — photo and player — are not included in this tutorial, but you can learn more about them from the official Twitter Cards documentation.

Twitter Card META Tags:

Before starting this tutorial, I wanna discuss about Twitter Card META tags. You can easily setup your blog's Twitter Card by adding several META tags to your blog. As I mentioned above, in this tutorial I'am only going to focus on summary card, which is most important for your blog.

META tags you would use in all card cases include:

  • twitter:card - The type of card to be created: summary, photo, or video.
  • twitter:url - The URL that should be used for the card.  This will likely be the same URL as the page's canonical link.
  • twitter:title - The title as it should display in the Twitter Card.
  • twitter:description -  A 200 character summary of the content at the given URL.
  • twitter:image - A representative image URL for the content.  In many cases, simply providing your logo's URL will be just fine.
  • twitter:site - The Twitter username used by the given site including the '@'
    twitter:creator - The Twitter username of the individual author of the content

Get Your Blog Posts Ready for Twitter Cards:

Twitter Cards use your post's Search Description as your summary, so you'll want to make sure that you've filled it in on each post.

Adding Twitter Card META Tags To Blogger:

Now, I'll show you how to perfectly add these META tags to your blog's template. Don't forget to backup your template.

  • Go To Blogger > Template > Edit HTML > Click on "Proceed"
  • Once you've opened up your template, find the </head> tag in your template's markup. Enter this markup directly above the </head> tag:

<!-- twitter card details -->
<meta content='summary' name='twitter:card'/>
<meta content='@HardeepAsrani' name='twitter:site'/>
<meta content='@HardeepAsrani' name='twitter:creator'>
<meta expr:content='data:blog.url' name='twitter:url'/>
<meta expr:content='data:blog.pageName' name='twitter:title'/>
<meta expr:content='data:blog.metaDescription' name='twitter:description'/>
<meta expr:content='data:blog.postImageThumbnailUrl' name='twitter:image'/>
<!-- end twitter card details -->

  • In above code, replace HardeepAsrani with your Twitter handler. Now save your template.

Test Your Markup:

Now, before last step, we'll first check our site's Twitter Card markup by using Card Preview utility so that you can ensure your META tags are used in a valid fashion.

On the tester page, enter the URL of one of your posts (NOT your home page, Twitter Cards only work on post pages) and click "Preview Card".

Applying for Twitter Card Approval:

Twitter requires that your domain be approved before they will allow Twitter Cards for your site;  this is likely to combat abuses like pornography and sites promoting illegal activity.You can apply for your domain by clicking here.

In application form, put bunch of basic information about your blog or site. Submit your application, And soon your Twitter Card will automatically work.

Don't forget to tweet me your blog's link so I may review your Twitter Card. Also, don't forget to leave your comments...

Thursday 21 February 2013

CSS Lava Lamp Menu For Blogger


Yesterday, I found this excellent CSS menu, which bases on "Lava Lamp Menu" concept. Also, this menu is available for download or demo at this link. In September, we shared a jquey based Lava Lamp menu, which was based on jQuery.

This menu is available in three different styles, you can check a demo at this link. This menu is created by Paulina Hetman from Pepsized. This menu is coded so beautiful, and basic mark-up of all three menus are same.

First two menus are pure CSS based and third menu uses a heart and arrow image, which is adorable (Just kidding :p).

Add This Menu To Blogger:

  • Go To Blogger > Template > Edit HTML > Click on "Proceed."
  • Search for ]]></b:skin> and post following css just above it:

/* --- for all three examples ----*/

.nav {
  text-align: center;
  overflow: hidden;
  margin: 2em auto;
  width: 480px;
  position: relative; }
  .nav a {
    display: block;
    position: relative;
        float: left;
        padding: 1em 0 2em;
    width: 25%;
        text-decoration: none;
      color: #393939;
      -webkit-transition: .7s;
      -moz-transition: .7s;
      -o-transition: .7s;
      -ms-transition: .7s;
      transition: .7s; }
      .nav a:hover {
        color: #c6342e; }

.effect {
    position: absolute;
  left: -12.5%;
  -webkit-transition: 0.7s ease-in-out;
  -moz-transition: 0.7s ease-in-out;
  -o-transition: 0.7s ease-in-out;
  -ms-transition: 0.7s ease-in-out;
  transition: 0.7s ease-in-out; }

    .nav a:nth-child(1):hover ~ .effect {
      left: 12.5%; }
    .nav a:nth-child(2):hover ~ .effect {
      left: 37.5%; }
    .nav a:nth-child(3):hover ~ .effect {
      left: 62.5%; }
    .nav a:nth-child(4):hover ~ .effect {
      left: 87.5%; }

/* ----- line example -----*/

.ph-line-nav .effect {
  width: 90px;
  height: 2px;
  bottom: 36px;
  background: #c6342e;
  box-shadow: 0 1px 0 white;
  margin-left:-45px;
}

/* ----- dot example -----*/

.ph-dot-nav:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #c6342e;
  bottom: 40px; }
.ph-dot-nav a:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  bottom: 38px;
  left: 50%;
  margin-left: -2px;
  background: #c6342e;
  border-radius: 100%; }
.ph-dot-nav .effect {
  width: 10px;
  height: 10px;
  bottom: 36px;
    margin-left: -5px;
  background: #c6342e;
  border-radius: 100%; }

/* ----- heart example -----*/

.ph-heart-nav .effect, .ph-heart-nav a:after, .ph-heart-nav a:before {
  background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgypDTU3dQfrADAzdL1jBL-uasgRdoGOi8eoCaWdzAADif6IQ-eV4TxdQkUrE-xWutf4PC_xhsvK0WJBM2iyhTF9qCc1TisIceohG_um9HLBf8vFFoJGvaXH0_Wv-gKHEBIFreWGSlEncg/s1600/heart.png') no-repeat; }
.ph-heart-nav .effect {
  position: absolute;
  bottom: 26px;
  background-position: 0 0;
  height: 8px;
  width: 62px;
  margin-left:-31px; }

.ph-heart-nav a:before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 20px;
  background-position: -62px 0;
  height: 20px;
  width: 11px;
  margin-left: -11px; }

.ph-heart-nav a:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 1;
  background-position: -73px 0;
  height: 20px;
  width: 11px; }

  • Save Template....All done with template editing. Now, it's time to edit you layout.
  • Go To Blogger > Layout > Add A Widget > HTML/JavaScript
  • Paste any of the following code:

First Style:

    <div class="ph-line-nav nav">
        <a href="#">Home</a>
        <a href="#">About</a>
        <a href="#">Gallery</a>
        <a href="#">Contact</a>
        <div class="effect"></div>
    </div>

Second Style:

    <div class="ph-dot-nav nav">
        <a href="#">Home</a>
        <a href="#">About</a>
        <a href="#">Gallery</a>
        <a href="#">Contact</a>
        <div class="effect"></div>
    </div>

Third Style:

    <div class="ph-heart-nav nav">
        <a href="#">Home</a>
        <a href="#">About</a>
        <a href="#">Gallery</a>
        <a href="#">Contact</a>
        <div class="effect"></div>
    </div>

  • Save your widget. Now visit your blog and see the css magic.... :)

Don't forget to leave your valuable comments.....:)

Wednesday 20 February 2013

Post Views Counter Widget For Blogger


Finally, MBT found a great way to display post view count on Blogger. We will do this by using Firebase. With Firebase you can now create dynamic and data-driven plugins for blogger without worrying about backend development. Firebase's Free plan gives you 10GB Free bandwidth and 5GB Free storage.

The postviews count wont change when you refresh the blog homepage but it will change only when you visit individual posts. This plugin will display views only once pages are visited. It is not synchronized with your Google analytics stats data, therefore it will only display correct views for the new posts that you publish.

Create Your Firebase Account And Database:

First you need to create a Firebase account to use this widget, which is free at this link. Fill up the easy steps sensibly and then once your account has been activated, you must create your first Firebase database.

  • Towards the bottom right side of your account, you will find the following submit box:

  • Inside this box input your desire firebase name. This generated the following firebase URL: https://example.firebaseio.com.

Installing Postviews Plugin:

  • Go To Blogger > Template > Click Edit HTML > Tick the box "Expand widget Templates"
  • Search for ]]></b:skin>
  • Just above it paste the following CSS code:

    /*-------- Post Views  ----------*/
    #views-container {
    width: 75px;
    float: right;
    }

    .mbtloading {
    background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc5Wn8iV8T3XKzrW6q_bia_k7TKh0Olhkl8t3snEMxjMLXElRyFILWr8vlzqaQyeMx4CCKXU1yifPts2an9fgbsWvzKelvzfq8AzWREJyE_TMDoipuGqvM5Cnb_Mga2hU4lj93XTxL8BE/s1600/loading.gif') no-repeat left center;
    width: 16px;
    height: 16px;
    }

    .viewscount {
    float: right;
    color: #EE5D06;
    font: bold italic 14px arial;
    }

    .views-text {
    float: left;
    font: bold 12px arial;
    color: #333;
    }

    .views-icon{
    background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm_xSfbai8v-mrbnf6zQr3oVzBNQOKsIG4lse6IlGh2HQq2IRcMtIo5Ugigv-WFjlqKtmJyOKImqCVGfFlKBqgeMJtIK5UFwe4Mn9LIiQHkFnmxOB2Cgxe3PyP-1cklSbvqVDoiJmgAGE/s1600/postviews.png') no-repeat left;
    border: 0px;
    display: block;
    width: 16px;
    height: 16px;
    float: left;
    padding: 0px 2px;
    }

  • Now search for </body> and just above it paste the following JavaScript code:

<!-- Post Views Script by BWidgets -->
<script type='text/javascript'>
    window.setTimeout(function() {
        document.body.className = document.body.className.replace(&#39;loading&#39;, &#39;&#39;);
      }, 10);
  </script>
<script src='https://cdn.firebase.com/v0/firebase.js' type='text/javascript'/>
<script>
$.each($(&#39;a[name]&#39;), function(i, e) {
var elem = $(e).parent().find(&#39;#postviews&#39;).addClass(&#39;mbtloading&#39;);
var blogStats = new Firebase(&quot;https://example.firebaseio.com/pages/id/&quot; + $(e).attr(&#39;name&#39;));
blogStats.once(&#39;value&#39;, function(snapshot) {
var data = snapshot.val();
var isnew = false;
if(data == null) {
data= {};
data.value = 0;
data.url = window.location.href;
data.id = $(e).attr(&#39;name&#39;);
isnew = true;
}
elem.removeClass(&#39;mbtloading&#39;).text(data.value);
data.value++;
if(window.location.pathname!=&#39;/&#39;)
{
if(isnew)
blogStats.set(data);
else
blogStats.child(&#39;value&#39;).set(data.value);
}
});
});
</script>

  • Replace the example with your firebase name. Make sure you replace it correctly. Time for the final step.  Find this code:

<data:post.body/>

  • Just above it paste the following HTML,

<!-- Post Views Counter by BWidgets-->
<div id='views-container'><span class='views-icon'/><div class='views-text'>Views:</div> <div class='mbtloading viewscount' id='postviews'/></div>

  • Hit save and you are all done!

Having Trouble?

If you are finding multi occurrences of <data:post.body/> code then choose the first occurrence. Also, this widget will only display correct views for the new posts that you publish. Thanks to MBT for this amazing script.

Sunday 17 February 2013

Adding Disqus Combination Widget To Blogger


Previously, I shared three Disqus widget, you can check all of them at this link. Finally, It's time to share last widget of Disqus widgets series. This is a Disqus Combination widget, which is a combination of all three previous widgets. Nothing much to explain about this. Let's get started. You can also use below code on your html document or wordpress:

  • Go To Blogger > Layout > Add A Gadget > HTML/JavaScript > Paste below code:

<div class="heading blue">
            <h2>Community</h2>
        </div>
        <script type="text/javascript" src="http://wwefansnation.disqus.com/combination_widget.js?num_items=5&hide_mods=1&color=grey&default_tab=recent&excerpt_length=30"></script>
    </div>

  • Replace wwefansnation.disqus.com with your site's Disqus ID.
  • Replace 5 with the number of items your want to display.
  • Replace grey with your preferred color.
  • Replace 1 with 0 if you want to display moderator's name on this widget.

Disqus Combination Widget For WordPress:

You can download add Disqus Combination Widget to WordPress with this plugin.

Recent Posts With Scrollbar Widget For Blogger


Finally, we are back with another widget with a generator. I was trying to find this widget for my blog since I started blogging, i never got success in searching this widget. Last night, I created this widget using recent-posts-with-titles-only.js script.

This awesome script is created by blogsolute.com, and modified by madtomatoe.com. With this widget you can show upto recent 25 posts of your blog in a small box. Width of this widget is 100%, which means it automatically adjusts on your blog's sidebar. If you're sharing this post then don't forget to give me a backlink.

Below is our Widget Generator with several fields:

Friday 15 February 2013

Reasons To Buy A Custom Domain For Your Blog

When you start blogging with Blogger or any other other free blogging platform, you get a free subdomain to kick off your blog. Soon all your visitors get familiar with your free subdomain. But when you finally decide to purchase a custom domain you get confused with several questions in mind. You start thinking whether or not you'll lose your spot in Google, reputation, rankings, and more.

You can buy a custom domain as low as $7-$8 from GoDaddy and BigRock for a full year, which is less than your internet and phone bill. Following reasons will tell you why should you buy a custom domain as soon as possible:

Reputation Among Other Bloggers:

Blogs with a custom domain, e.g. .com, .net, .org, are more respected among other bloggers than blogs with sub domains such as .blogspot.com. Nobody takes .blogspot stuff seriously, just like Twitter accounts with default profile picture.

I'd prefer to visit www.bwidgets.com rather than www.widcraft.blogspot.com. It shows that you are taking your work serious by spending some money on the service that you use and you are not just another monkey with a computer (some of them are awesome).

Easy To Remember And Share:

Blogs with a custom domain are always easy to remember. This is the reason why blogs with subdomain don't get much attention on social media, which is important in blogging. A blog with custom domain gets a good amount of traffic from social media.

Blogs with a custom domain are likely to get more shares on social media then blogs with subdomain. Let's face it, we all prefer to put gmail.com on our address bar rather than mail.google.com.

More Earning With Custom Domain:

Some big advertising sites like BuySellAds do not accept subdomains. Also, direct advertisers prefers to advertise their content on a blog with a custom domain. Believe me, you will get more for the same content with a custom domain. Also, never use GoDaddy affiliates with a free domain :p

You Can Use More Services:

That's right, you can use more services with your custom domain, e.g. Google Apps, bitly Custom Short Links, Custom Emails, and more. That's right, your domain provider will provide you one or two free emails, e.g. admin@yoursite.com. It's great to use your own email for your site. Also, you can create a short link service with your custom domain, like go.bwidgets.com.

Unlimited Subdomains:

You can create unlimited subdomains with your custom domain, such as mail.bwidgets.com. You can host your other blogs with your own custom subdomain, which is way better than using .blogspot.com domain. You can also use your subdomain in another services, such as Google Sites, Newsletters, and more.

Boost Up Your Rankings:

As more and more people notice your blog and bookmark and share it, your ranking on SERPs which is search engine results page will increase. Also, after changing your domain, you'll loose your PageRank only at temporary basis. Once Google robots locate all your redirected links, your rankings will be granted back to you on next PageRank update.

Still here? Just visit GoDaddy or BigRock to buy a custom domain for your blog. Don't forget to leave a comment...

Thursday 14 February 2013

Improve Your Google PageRank


Earlier this week, I posted about Google PageRank at this link. Now, I'll tell you several ways to improve your site's Google PageRank. Your website's PageRank depends upon quality backlinks you get for your website and total count of your website pages.

1.Write Quality Content:

Everybody likes to share some good content. Create content that users want and will share with others, which will get you bunch of backlinks from other sites. Don't forget to give me a backlink from this point.

2.Guest Blogging Is A Great Move:

Seriously, guest blogging is a great way to backlink you site from an another blog or site. Also, don't forget to submit your articles to various web directories and forums. Good content never goes waste. You can also submit a guest post for our blog at this link.

3.Publicize Your Site Everywhere:

Add your site’s URL, e.g. www.bwidgets.com, into your content. Never miss a change to show off, e.g., newsletter, business cards, email signatures, press releases and more.

4.Get Backlinks From High-Quality Websites:

Ask "high-quality" websites to give a backlink on their blog. It'll improve your PageRank for sure. If your site links to delisted websites, your website might also be removed from Google’s index. Always check site's reputation before asking for a backlink.

5.Check Site's Reputation Before You Link Back:

If you receive a request for a link, check the site's reputation before giving them a backlink on your site. Also, always use 'rel=nofollow' attribute to link back to delisted or low-quality website.

6.Provide RSS Feed:

RSS (Really Simple Syndication) makes it easy for other sites to distribute your headlines and content, your RSS feed will be indexed by popular Blog search engines, including BlogSearch, and Ask.com Bloglines.

7.Keep It Up:

If your site is dead for an extended period, Google may reduce the ranking of your site. Allow your visitors to submit guest posts for new articles.

8.Make Use Of rel=nofollow:

rel=nofollow attribution tell search engines "Don't follow links on this page" or "Don't follow this specific link." This means that Google does not transfer PageRank or anchor text across these links.

Here are some cases in which you might want to consider using nofollow:
  • Untrusted content: Most importantly, always use nofollow for example, untrusted user comments or guestbook entries — you should nofollow those links. Which will keep spammers away from your site.

  • Paid links: In order to prevent paid links from influencing search results and negatively impacting users, make use of nofollow.

  • Crawl prioritization: Search engine robots can't sign in or register as a member on your forum, so there's no reason to invite Googlebot to follow "register here" or "sign in" links.

9.Give Away:

Enable others to copy, distribute, and make use of your articles and content, as long as they give your site credit. Also, write newsletter to remind your visitors about your site. Create an embed-able widget of your site for your users.

10.Never Try To Cheat Google:

If Google suspects that you are trying to deceive it web crawler and thus its users by including hidden text, misleading or repeated words, pages that don’t match your sites description, deceptive redirects, duplicate site or pages, or other disingenuous tactics, then Google may delist your site from its index.

Wednesday 13 February 2013

Using Custom Short Domain With bitly


bitly (bit.ly or bitly.com) is a URL shortening and bookmarking service owned by Bitly, Inc., a Betaworks company. The current CEO is Peter Stern. It offers URL redirection service with real-time link tracking.

It's always a great move to use your own url shortner, bitly allows you to use your own custom domain to create short links for free. Google Short Links is also a great way to build your own custom url shortner but the fact is that Google Short Links is no more a free product. Still, you can check our Google Short Links at go.bwidgets.com.

A custom short domain is a great way to brand your content across the web! For example, the New York Times uses "nyti.ms" as a custom short domain, and TechCrunch uses "tcrn.ch".

If you were to use "example.me" as a custom domain, instead of appearing like this: bitly.com/example

your links would appear like this: example.me/example

Purchase A Domain:

BigRock is a great place to begin your search for exotic short domains. Your short domain name needs to be 15 characters or less (including the dot). You can also use your existing domain or a sub-domain. Wikipedia maintains a list of top-level domains (TLDs).

Using Custom Domain:

For using your top-level domain (example: bwidgets.com), you need to update your "A-Records" and "CNAME Records." Your domain name must be 15 characters or less (including the dot):

  • Log into your domain registrar's website.
  • Select the short domain you want to modify.
  • Find the section for managing DNS entries. The name of this section varies, but is usually something like "DNS Configuration," "DNS Records", "Advanced DNS," "Total DNS", "Host records," or similar.


Add or edit the existing A-Record for your site. You can click on images for a larger look. Also, don't copy any other IP or anything from images. There all are just for example, I'am not really editing any records DNS records.



Edit the existing A-Record for your site and change the IP address to 69.58.188.49 If there is no existing A record (which is uncommon), add a new one. The A record's "host name" should be either the character @ or your base domain (both mean the same thing). You should only have one A Record. If you have more than one, remove all others and leave only the one pointing to bitly's IP.



After editing A-Records, it's time to add a CNAME Record in your DNS.



In your DNS, enter "www" as your host name name, and that it points to value 'cname.bitly.com'. For example, if your short domain was 'fred.me' you'd point your CNAME record for 'www.fred.me' to 'cname.bitly.com.'

All done in your DNS Manager. Now, scroll down to the "adding your domain to bitly" point for next step.

Using Custom Sub-Domain:

For using your sub-domain (example: sl.bwidgets.com), you need to update your "CNAME Records." Your domain name must be 15 characters or less (including the dot):

  • Log into your domain registrar's website.
  • Select the short domain you want to modify.
  • Find the section for managing DNS entries. The name of this section varies, but is usually something like "DNS Configuration," "DNS Records", "Advanced DNS," "Total DNS", "Host records," or similar.



In your CNAME Reconds, click on "Add CNAME Record." Every domain registrar has their on unique look.



In Host Name, put your desire sub-domain name (example: sl.bwidgets.com). In Value, put cname.bitly.com. All done in your CNAME Records. Now, it's time to add your domain to bigly.

Add Your Domain To bitly:

After setting up your custom domain, it's time to add your domain to bitly. It can take up to 48 hours for domain changes to propagate. It's easy:



Sign in to your bitly account, go to "settings" from the upper right pull-down menu, (or click here) and click on "Advanced" tab.



Enter your short domain under under "Custom Short Domain." (Located under the "Advanced" tab.)



Now, in this screen, you'll see instruction that we mentioned earlier on this tutorial. However, don’t take this step until you have updated your DNS Records. If you've already completed DNS setup, which we mentioned above then click on "Verify" button.



After clicking on "Verify," you'll see above screen. That's IT!!!

If bitly is showing some sort of error then try to double check all steps. Also, DNS changes can take up to 48 hours for domain changes to propagate. In my case, it took about two hours to update DNS. Now, your sub-domain or domain's root directory will redirect you to bitly's homepage. Don't forget to leave a comment....

Sunday 10 February 2013

What Is Google PageRank And Why Should I Use It?


What Is Google PageRank?

Google PageRank is a link analysis algorithm, named after Larry Page and used by Google Search. Your website's PageRank depends upon quality backlinks you get for your website and total count of your website pages.

The Google Toolbar's PageRank feature displays a visited page's PageRank as a whole number between 0 and 10. The most popular websites have a PageRank of 10. The least have a PageRank of 0.

Courtesy of Wikipedia, here is an example image of how Google PageRank works:


Mathematical PageRanks for a simple network, expressed as percentages. (Google uses a logarithmic scale.) Page C has a higher PageRank than Page E, even though there are fewer links to C; the one link to C comes from an important page and hence is of high value. If web surfers who start on a random page have an 85% likelihood of choosing a random link from the page they are currently visiting, and a 15% likelihood of jumping to a page chosen at random from the entire web, they will reach Page E 8.1% of the time. (The 15% likelihood of jumping to an arbitrary page corresponds to a damping factor of 85%.) Without damping, all web surfers would eventually end up on Pages A, B, or C, and all other pages would have PageRank zero. In the presence of damping, Page A effectively links to all pages in the web, even though it has no outgoing links of its own.


Why Should I Use It?

Google PageRank is a great way to know about, which type of sites give you a backlink. The higher a page is ranked, the better it will perform in organic search results.

If you want to generate income from search engine marketing such as paid links, pay per click or banner ads, how much you will get will largely depend on your page rank. The higher your page rank is, the higher your advertisers will pay you.

PageRank is updated every 3-6 months at Google's discretion, and therefore should not be used as a definitive way to judge the trust of a website; it only gives us an idea of the website's authority and link power based on Google's algorithm.

How To Check PageRank?

There are lots of sites, where you can check your site's PageRank. We recommend you to use PRChecker.net. In this article, we effected Wikipedia and PRChecker's PageRank, by giving them a backlink.

You can also embed your site's PageRank on your site by using following code:


<a href="http://www.prchecker.net" title="PageRank Checker"><img src="http://www.prchecker.net/lookup.php?site=http://www.bwidgets.com&badge=img1"/></a>

In above code, replace www.bwidgets.com with your site's url. Don't forget to leave a comment.

Popular Posts

 
Powered by Blogger.