Showing posts with label Tutorials. Show all posts
Showing posts with label Tutorials. Show all posts

Tuesday, February 10, 2015

Get Great Ideas For Your Content Blog

Get Great Ideas For Your Content Blog

easily get distracted and everything seems to have already been written! To make matters worse, requirements to content concepts and titles have become much more complicated. With the growing importance of referral traffic, we now have to rethink title strategies and how they appear on social sites.
 

 

Check your Comments Section

When you let people share and comment on your site, you could end up with some great blog post ideas. Your readers might ask for more information about a specific item you didn’t cover clearly in your first post, or they might share their own opinions about the topic, which could make your fingers itch to write. Reading those bits carefully could make your blogging much easier.

Check out the Competition

According to 2014 stats, more than half of all small businesses don’t have a website. As a result, your top competitor may not have a blog that you can follow. But that same competitor might be active on social media sites like Twitter and Facebook. The posts you find there could give you great ideas about topics you should cover.
If you grab an idea from someone else, be sure to tweak it or amend it or somehow make it your own. Stealing outright could get you in hot water, both with your competitors and with Google. But borrowing a good idea could help you to come up with the story idea that’s been eluding you.

Yelp Pages

People with reputation management problems are likely accustomed to the idea of using Yelp as an early warning system. When they see a poor review pop up, they know they must get to work generating content that either refutes or explains the complaint. But Yelp can also help you write blog posts about issues people either like or have questions about.
Read through your reviews and look for items that get a lot of mentions. Not all Yelp comments will contain blog gems, of course. Some might just contain complaints or random bits of praise you can’t build on. But, watching the comments closely could give you some great ideas for writing that will really resonate.

Targeted Keyword Research

And ofcourse, nothing beats good ol' fashioned keyword research. This is a fundamental part of the writing process, as it helps you find the right terms which will perform better on SERPs. But more than SEO, your searches can also help you to find out what people are looking for, and that could give you some excellent blog post ideas.
With Google AdWords‘ Keyword Planner, you can run a simple search on a topic you’re planning to cover. Your results page will give you keywords that are similar to the topic you’ve hit, but they come with just a few changes.
We'll soon publish an entire section dedicated to keyword research in the SEO process, so stay tuned!
Coming up with new content ideas is not easy. But if poke around and are receptive enough, with enough luck you will soon find great content ideas to go on your blog! Good luck :)
0

Wednesday, February 4, 2015

search engine optimization:Tricks For Improving The SEO Of Your Website

Search Engine Optimization:Tricks For Improving The SEO Of Your Website


Tips And Tricks For Improving The SEO Of Your Website
Most people take a lot of pride in the sites they build and the businesses they put together via the web. But this pride doesn’t come without first experiencing success. No one is proud of a failed business or website. Here are some SEO tips you can use in order to make a success of your business:
For the best results in search engine optimization, be sure to use only the highest quality of content. It doesn’t matter how many great keywords you have in an article if the article is dull, trite, or simply badly written. Search engine bots are not going to buy your product or service, people are. If your article can’t impress people your search engine rankings won’t matter.
An introduction to search engine optimization can be found all over the Internet. This is where you would go to learn how to get more traffic onto your web site. This is very common for those who have affiliate sites, blogs to generate income.
Keep your keywords in mind, but create your page for the users. Search engines crawl for keywords but they are not the ones choosing to click on your link. A page title or meta description that is full of keywords without content will keep people from clicking on your link.
Continually focus on ways to improve your search engine optimization throughout the life cycle of your site. While initial consideration during design is important, continual adjustments and tweaks to your optimization plans keep your site moving up in ranking results. Be proactive in reviewing trends or analytic data and make ongoing adjustments accordingly.
If you are looking to hire a company to do your SEO for you, make sure to research and interview them thoroughly. Determine what kind of tactics that they use for their optimization and make sure that it fits in with your brand and business strategies. Ask if they can provide references for companies that they have helped and search them. If they rank high, you may be on the right track.
If you would like to increase your search engine traffic through back links, make use of social media. Sites like Twitter, Tumblr and Facebook allow users to share your links on their own page with a simple click of a button. Many Twitter and Facebook pages have high page rankings, and being linked to from them can significantly increase the page rank of your own site.
Today most search engines are capable of indexing Flash content on a website, but be cautious in using it on your site. Flash content simply does not index as well or as completely as HTML. For optimal search engine ranking make sure your site relies primarily on plain HTML, and only use Flash for non-essential bonus content.
As you can deduce from the information above, search engine optimization is about making your website appeal to the engine and to your particular market. It’s a careful blend of quality control and targeted advertising that you can pull off by using what you’ve learned above. So, how about working for that first page placement?
0

Monday, February 2, 2015

How to Use Blogger and Google+ Comments System Together With Toggle

How to Use Blogger and Google+ Comments System Together With Toggle


Google+ comment is a cool new and improved commenting system for blogger, which allows you to create a strong bond with your readers. This new commenting system not only provides extra coverage but also brings additional engagement to any Blogger site. This system provides them the flexibility to share and discuss much more quickly. However, before anyone could leave a comment, they have to get themselves registered on Google plus. It would work for some users, but not everyone wants to put barriers around their site and content. Who does not like freedom?  Same thing applies here too. You do not want to force your visitors to starting using platform because, you are endorsing them. Today in this article, we will show you How to create toggle Google+ and Blogger comments in blogger
We have created a toggle method that would allow you to enable the new Google+ Comments, but without losing your old Blogger commenting system. Users can continue to comment like they use to do in the past but Google Plus users can hit the “G+” toggle button and can comment, share and view the activity you post has had using that.

What are the Disadvantages of Google+ Comments?

First and foremost  to use this feature, it is must that a person should have an account on Google plus otherwise he cannot leave a reply. Now not every single person on this earth is using this platform so this probably would annoy your visitors. 
Secondly, this commenting system depends upon the URLs. Unlike Facebook Application ID, it does no stores anything in your API. You would lose your all previous comments if you change the URL of your article or think about re-branding your domain. 
It does not send notifications to your Email Address whenever someone either leaves a reply to your blog or posts a new comment. On the other hand, all comments are published instantly without any review so it may become an ideal place for Spammers.

The Solution:

Step#1: The first thing you need to do is to backup your template. After logging in, from the dashboard go to Template >> Edit HTML. Now enable the HTML Editor’s built-in search box and search for the following code.  (Quick Tip: Click anywhere on the HTML editor and Press CTRL+F to enable the search box).
 **********************************************************************************
<b:includable id='threaded_comments' var='post'>
.
.
.
.
</b:includable>
**********************************************************************************
Step#2: After finding the code mentioned above, replace it entirely and accurately with the Following code. (Remember: Make sure that the tags are properly closed otherwise you would face errors).
**********************************************************************************
<b:includable id='threaded_comments' var='post'>
  <div id='com-header'>
<h6>Comment With:</h6> <img class='com-on' id='com-norm' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGDyP0G5_eP5CA0_gf3Es3OM0H9kkexM6e4viacWE24EeEhTnejhBO7SrTM3zBr0s9l3cD86fhYlKJHAaLfmhNGAHypYVbGTA70C_iPKrd8UF5CbQ8iJ4ejjt0-V7HUatpguJpyIk0kPEl/s50/blogger_on.png' title='view Blogger comments'/><h6>OR</h6> <image id='com-gplus' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-9p7xn1O_ekcr3vmlFhcUrlXhGa_0f_IWyGs5Ga1TdQVuShjjFT6UB-PsB1nyMWQNAGetOIut2XFrjIY5QogiierpQTdHx4u_6vaLBJRWQtBH5WafYKPNMiJL7yYRC70VDBUoUi6FqLQv/s50/plus_off.png' title='view Google+ comments'/><h6>The Choice is Yours!</h6> 
<div id='copyrigtsmbl'><a href='http://www.mybloggerlab.com/2013/04/ow-to-use-blogger-and-google-comments-together.html' id="mblrights">Get This Widget</a></div>
</div>
<div id='comment-zone'>
  <div class='comments' id='comments'>
    <a name='comments'/>
    <h4><data:post.commentLabelFull/>:</h4>
    <div class='comments-content'>
      <b:if cond='data:post.embedCommentForm'>
        <b:include data='post' name='threaded_comment_js'/>
      </b:if>
      <div id='comment-holder'>
         <data:post.commentHtml/>
      </div>
    </div>
    <p class='comment-footer'>
      <b:if cond='data:post.allowNewComments'>
        <b:include data='post' name='threaded-comment-form'/>
      <b:else/>
        <data:post.noNewCommentsText/>
      </b:if>
    </p>
    <b:if cond='data:showCmtPopup'>
      <div id='comment-popup'>
        <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
        </iframe>
      </div>
    </b:if>
    <div id='backlinks-container'>
    <div expr:id='data:widget.instanceId + &quot;_backlinks-container&quot;'>
       <b:if cond='data:post.showBacklinks'>
         <b:include data='post' name='backlinks'/>
       </b:if>
    </div>
    </div>
  </div>
  <div id='gcontainer'><div id='gcomments'/></div>
<script src='http://apis.google.com/js/plusone.js'/>
<script src='https://googledrive.com/host/0B0WJjcJEFNziQU01STJVc3RzeWc'/>
<style>
#gcontainer {
display:none;
  }
#com-norm,#com-gplus {
cursor:pointer;
padding:0 5px;
float:left
  } 
#com-header { 
border: 1px solid #d2d2d2;
padding: 10px;
float: left;
width: 580px;
margin-bottom: 20px;
background: #f5f5f5;
  }
#com-header h6{ 
font-size: 20px;
text-transform: uppercase;
font-weight: bold;
float: left;
padding-top: 15px;
margin: 0px;
margin-right: 7px;
margin-left: 7px;
  }
#copyrigtsmbl {
float: right;
margin-top: 20px;
border-top: 1px solid #d2d2d2;
margin-right: -10px;
padding-right: 10px;
padding-top: 5px;
padding-left: 10px;
border-left: 1px solid #d2d2d2;
padding-bottom: 5px;
margin-bottom: -10px;
font-size:11px;
background: #fff;
  }
#copyrigtsmbl a {
text-decoration:none;
color:111!important; 
  }
</style>
</div>
</b:includable>
**********************************************************************************
Step#3: Now once again with the help of search box look for the following code.

**********************************************************************************
<b:includable id='comment_picker' var='post'>
.
.
.
.
</b:includable>
**********************************************************************************
Step#4: After finding the code as prescribed above, replace it completely and properly with the Following code. (Remember: Try to close the tags properly, so the template does not catch any errors).

**********************************************************************************
<b:includable id='comment_picker' var='post'>
  <b:if cond='data:post.forceIframeComments'>
    <b:include data='post' name='iframe_comments'/>
    <b:if cond='data:post.showThreadedComments'>
      <b:include data='post' name='threaded_comments'/>
    <b:else/>
      <b:include data='post' name='comments'/>
    </b:if>
  <b:else/>
    <b:if cond='data:post.commentSource == 1'>
      <b:include data='post' name='iframe_comments'/>
    <b:else/>
      <b:if cond='data:post.showThreadedComments'>
        <b:include data='post' name='threaded_comments'/>
      <b:else/>
        <b:include data='post' name='threaded_comments'/>
      </b:if>
    </b:if>
  </b:if>
</b:includable>
**********************************************************************************

Step#5: After applying the instructions as mentioned above press the “Save Template” button located at the top of your screen. 
Congratulations: You have successfully added Google+ commenting system to blogger without removing the previous blogger commenting system.

Conclusion:

By Enabling both commenting system, you are not forcing your users instead you are giving them the freedom to choose their most preferable platform. It does bring a lot of benefits to both you and your readers. Let us know what you think about the new tweak? Make sure to come back to this page if you come across any issues!


IMPORTANT: To make Google plus and blogger comments appear together it is necessary that a post must have at least 1 comment. Those posts which have 0 comments would continue to display your default commenting system. Remember: (There is no need to Enable Google+ comments from your setting. If you have already enable it then disable it before you apply this tutorial).
0

How to Increase Alexa Rankings in a Week

How to Increase your Alexa Rankings in a Week


In the past, we have already provided you some tips to increase Alexa rankings. However, sometimes those tips are hard to follow and even if you’re able to follow up correctly it doesn’t provides results quickly. Therefore, people are looking for ways that are not only easier to follow but also provide rapid results. Having a good Alexa rankings may not matters a lot for search engines but it does counts big when you’re looking for a potential advertisers. AlexaBoostup, is the exact solution to your all problems and your dreams of having a site with good Alexa ranking. In this article, we will show you How to Guarantee Increase your Alexa Rankings in a Week.

What is AlexaBoostup?

AlexaBoostup is a free online tool that helps you to get more targeted traffic to your site. This site provides points for surfing websites, once you have enough points you can use them to get traffic to your site which ultimately helps you to increase the Alexa rankings.

The majority of users which it sends to your site has Alexa toolbar installed in there browsers, which helps you to get a better Alexa ranking as quickly as possible.

You can earn points by surfing different websites or by referring a friend. You can also buy paid impressions, as they have a cheap price of 5000 unique impressions per $5. Its free, its paid and it really works.

How to Increase Alexa Ranking using AlexaBoostup?

The very first thing you need to do is to register a new account at Alexaboostup.com, during registration it will ask all basic necessary information about you which should be filled accurately.

After registering for an account, you can login to the site to proceed to the next step.  Now you need to add your site, so that people can start visiting your site to help you increase your Alexa rankings. Go to >> Manage website >> Add New Website.
Carefully insert your website’s title and URL. You can allocate points to your site 1 point mean 1 visit. However, make sure you have points in your account, if you don’t then you can earn points by referring friends or surfing other websites.
You need to surf a website for 30 second to earn 1 point. It’s just like, you surf my site and I’ll surf yours. Once you have collected enough points, you can allocate them in your site to give a boost to your site’s rankings.

We hope this tutorial may have helped you to learn how to guarantee increase your Alexa rankings.  What do you think about Alexa? Does it really matters? If yes, then let us know about your opinions in the comment below.
0

How To Add Moste Visitors Commenting To Blogger



How To Add Moste Visitors Commenting To Blogger


 

 
How To:
Step 1: Go to blogger dashboard.

Step 2: Select layout in menu on left side.


Step 3: Click on add a gadget and scroll down to Html/javascript.


Step 4: Copy below code and paste it into Html/javascript window:



<style type="text/css">
.top-commentators {margin: 3px 0px;border-bottom: 1px dotted #CCC;font-family: arial;color: #FF764C;}.top-commentators b{color: rgb(132, 132, 132);}
.avatar-top-commentators {
vertical-align:middle;
border-radius: 30px;}.top-commentators .commenter-link-name {padding-left:0;}
</style>
<script type="text/javascript">
var maxTopCommenters = 8; 
var minComments = 1;     
var numDays = 0;         
var excludeMe = true;    
var excludeUsers = ["Anonymous", "someotherusertoexclude"]; 
var maxUserNameLength = 42;
//
var txtTopLine = '<b>[#].</b> [image] ([user]) ([count]) ';
var txtNoTopCommenters = 'No top commentators at this time.';
var txtAnonymous = '';
//
var sizeAvatar = 33;
var cropAvatar = true;
//
var urlNoAvatar = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYniYkqr9kVDK-HkD2CkZAYYvijPgcpriGgaOVhyDRoXw_gq2NA2B9-gSe8p934mtzfdcJ3voZRh1H5tbcYqK84_5vLPshy4y_mPFII7RzNJoHLHBuV36RFseWSAzSY7k0DwroM559FP2R/s1600/avatar_blue_m_96.png" + sizeAvatar;
var urlAnoAvatar = 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsw64_jogsr4vRSsmLVbnH5p-z4nzShAdQyJjBYQZHh276p04GiunfcNOejqbWmxjJ-fVwfLy3eWkjMngYfmMSwPeOvlpRdjxcgUQ-NJr-tTGUI4VkFrokyXB6EZ06w8fR9MK2d9eA9vR0/s1600/avatar1.png' + sizeAvatar;
var urlMyProfile = '';
var urlMyAvatar = '';
if(!Array.indexOf) {
 Array.prototype.indexOf=function(obj) {
  for(var i=0;i<this.length;i++) if(this[i]==obj) return i;
  return -1;
}}
function replaceTopCmtVars(text, item, position)
{
  if(!item || !item.author) return text;
  var author = item.author;
  var authorUri = "";
  if(author.uri && author.uri.$t != "")
    authorUri = author.uri.$t;
  var avaimg = urlAnoAvatar;
  var bloggerprofile = "http://www.blogger.com/profile/";
  if(author.gd$image && author.gd$image.src && authorUri.substr(0,bloggerprofile.length) == bloggerprofile)
    avaimg = author.gd$image.src;
  else {
    var parseurl = document.createElement('a');
    if(authorUri != "") {
      parseurl.href = authorUri;
      avaimg = 'http://www.google.com/s2/favicons?domain=' + parseurl.hostname;
    }
  }
  if(urlMyProfile != "" && authorUri == urlMyProfile && urlMyAvatar != "")
    avaimg = urlMyAvatar;
  if(avaimg == "http://img2.blogblog.com/img/b16-rounded.gif" && urlNoAvatar != "")
    avaimg = urlNoAvatar;
  var newsize="s"+sizeAvatar;
  avaimg = avaimg.replace(/\/s\d\d+-c\//, "/"+newsize+"-c/");
  if(cropAvatar) newsize+="-c";
  avaimg = avaimg.replace(/\/s\d\d+(-c){0,1}\//, "/"+newsize+"/");
  var authorName = author.name.$t;
  if(authorName == 'Anonymous' && txtAnonymous != '' && avaimg == urlAnoAvatar)
    authorName = txtAnonymous;
  var imgcode = '<img class="avatar-top-commentators" height="'+sizeAvatar+'" width="'+sizeAvatar+'" title="'+authorName+'" src="'+avaimg+'" />';
  if(authorUri!="") imgcode = '<a href="'+authorUri+'">'+imgcode+'</a>';
  if(maxUserNameLength > 3 && authorName.length > maxUserNameLength)
    authorName = authorName.substr(0, maxUserNameLength-3) + "...";
  var authorcode = authorName;
  if(authorUri!="") authorcode = '<a class="commenter-link-name" href="'+authorUri+'">'+authorcode+'</a>';
  text = text.replace('[user]', authorcode);
  text = text.replace('[image]', imgcode);
  text = text.replace('[#]', position);
  text = text.replace('[count]', item.count);
  return text;
}
var topcommenters = {};
var ndxbase = 1;
function showTopCommenters(json) {
  var one_day=1000*60*60*24;
  var today = new Date();
  if(urlMyProfile == "") {
    var elements = document.getElementsByTagName("*");
    var expr = /(^| )profile-link( |$)/;
    for(var i=0 ; i<elements.length ; i++)
      if(expr.test(elements[i].className)) {
        urlMyProfile = elements[i].href;
        break;
      }
  }
  if(json && json.feed && json.feed.entry && json.feed.entry.length) for(var i = 0 ; i < json.feed.entry.length ; i++ ) {
    var entry = json.feed.entry[i];
    if(numDays > 0) {
      var datePart = entry.published.$t.match(/\d+/g);
      var cmtDate = new Date(datePart[0],datePart[1]-1,datePart[2],datePart[3],datePart[4],datePart[5]);
   
      var days = Math.ceil((today.getTime()-cmtDate.getTime())/(one_day));
      if(days > numDays) break;
    }
    var authorUri = "";
    if(entry.author[0].uri && entry.author[0].uri.$t != "")
      authorUri = entry.author[0].uri.$t;
    if(excludeMe && authorUri != "" && authorUri == urlMyProfile)
      continue;
    var authorName = entry.author[0].name.$t;
    if(excludeUsers.indexOf(authorName) != -1)
      continue;
    var hash=entry.author[0].name.$t + "-" + authorUri;
    if(topcommenters[hash])
      topcommenters[hash].count++;
    else {
      var commenter = new Object();
      commenter.author = entry.author[0];
      commenter.count = 1;
      topcommenters[hash] = commenter;
    }
  }
  if(json && json.feed && json.feed.entry && json.feed.entry.length && json.feed.entry.length == 200) {
    ndxbase += 200;
    document.write('<script type="text/javascript" src="http://'+window.location.hostname+'/feeds/comments/default?redirect=false&max-results=200&start-index='+ndxbase+'&alt=json-in-script&callback=showTopCommenters"></'+'script>');
    return;
  }
  // convert object to array of tuples
  var tuplear = [];
  for(var key in topcommenters) tuplear.push([key, topcommenters[key]]);
  tuplear.sort(function(a, b) {
    if(b[1].count-a[1].count)
        return b[1].count-a[1].count;
    return (a[1].author.name.$t.toLowerCase() < b[1].author.name.$t.toLowerCase()) ? -1 : 1;
  });
  var realcount = 0;
  for(var i = 0; i < maxTopCommenters && i < tuplear.length ; i++) {
    var item = tuplear[i][1];
    if(item.count < minComments)
        break;
    document.write('<di'+'v class="top-commentators">');
    document.write(replaceTopCmtVars(txtTopLine, item, realcount+1));
    document.write('</d'+'iv>');
    realcount++;
  }
  if(!realcount)
    document.write(txtNoTopCommenters);
}
document.write('<script type="text/javascript" src="http://'+window.location.hostname+'/feeds/comments/default?redirect=false&max-results=200&alt=json-in-script&callback=showTopCommenters"></'+'script>');
</script>
Customize
1-       var maxTopCommenters = 8;   This code to change the number of users.

2-      var sizeAvatar = 33;    This code to resize the image commentators .

0

Monday, January 26, 2015

How to Share a Text in Twitter by Select it ? Widget in Blogger

How to Share a Text in Twitter by Select it ? Widget in Blogger 

 


Today we have come up with another Twitter widget for your BlogSpot site that is unique and efficient enough to help you gain more exposure to your site with the help of Twitter. In this article, we will show you how to select text and share it to Twitter widget in blogger.









What is Select text and share it to Twitter?

It is an efficient plugin that allows your users an ability to select any text on your blog or website to share it (selected text) on their favorite social site Twitter. It is extremely easy to install and use, plus extremely lightweight in nature.
In the above screenshot, we have shown how this widget works. Whenever a small part of the text is select a Twitter icon appears, upon clicking that icon you can share that piece of text to your twitter account, making sharing easier.

You can check out the demo of this widget here

How to Install this widget?

The installing instructions are extremely simple and would take hardly few seconds to complete. The first thing, you need to do is to login to your blogger account and select the blog you'll like to install the widget on. Now to Template >> Edit HTML >> Search for ]]></b:skin> and just above it paste the following CSS codes.

.MBLSharetip {
display:none;
top:0;
background:#333;
color:#f16786;
width:40px;
height:32px;
position:absolute;
margin-left:-20px;
opacity:0;
filter:alpha(opacity=0);
z-index:99;
-webkit-transition:all .3s ease;
-moz-transition:all .3s ease-in-out;
-o-transition:all .3s ease;
transition:all .3s ease-in-out;
}
.MBLSharetip span {
position:absolute;
content:" ";
border:solid rgba(0,0,0,0);
height:0;
width:0;
top:100%;
border-top-color:#333;
left:50%;
-webkit-transition:all .3s ease;
-moz-transition:all .3s ease-in-out;
-o-transition:all .3s ease;
transition:all .3s ease-in-out;
border-width:7px;
margin:0 0 0 -7px;
}
.MBLSharetip a {
color:#f16786;
}
.MBLSharetip:hover {
background:#3D566E;
}
.MBLSharetip:hover span {
border-top-color:#3D566E;
}
.tooltipContainer {
position:relative;
display:block;
width:100%;
height:100%;
top:0;
left:0;
}
.tooltipContainer a {
width:100%;
background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeF0rP2gFwtMqxWbIwwpZsc1oFtPMcWIp8GDvNdFPnNSNvMm-abChrb9ILS-PMNQ0s0T7DZoJ9LFo7BrF06Df6IdMhyVcQUQRQ2Wbqq8BXYgkxcK5CNZxKnCtFD2nsw6uLYlIDz7WS90vh/s1600/sprites.png) 0 0 no-repeat;
left:0;
top:0;
height:100%;
text-decoration:none;
display:block;
padding:0;
}
.sharingLink {
display:block;
position:absolute;
text-indent:-9999px;
}

After adding the above CSS codes, again in the template search for ending </head> tag and just above it paste the following jQuery code:

<script type='text/javascript'>
 /*<![CDATA[*/
$(document).ready(function() {
    textToShare = '';
    $(document).mousemove(function(m) {
        generateTooltipPosition();
    });
});
$(document).mouseup(function() {
    $(document).mousemove(function(m) {
        generateTooltipPosition()
    });
    var textToShare = getTextToShare();
    var MBLSharetip = document.getElementById("MBLSharetip");
    if (textToShare != '') showMeTooltip();
});
$(document).click(function() {
    var textToShare = getTextToShare();
    var tooltipTitle = null;
    var newTooltipTitle = $("#MBLSharetip").attr("title");
    if (newTooltipTitle == "") return;
    if (newTooltipTitle !== tooltipTitle) $('#MBLSharetip').animate({
        opacity: 0
    }, 30);
    if (textToShare != "") showMeTooltip();
});
$(window).resize(function() {
    if ($('#MBLSharetip').show()) {
        $('#MBLSharetip').animate({
            opacity: 0
        }, 30);
    }
});
function showMeTooltip() {
    var pageURL = window.location.toString();
    var twitterLink = "https://twitter.com/intent/tweet?text=" + getTextToShare() + "&via=" + twitterAccount + "&url=" + pageURL;
    $('#MBLSharetip').show();
    $('#MBLSharetip').animate({
        opacity: 1
    }, 30);
    $('#sendToTwitter').attr('href', twitterLink);
}
function getTextToShare() {
    shareTxt = '';
    if (window.getSelection) {
        shareTxt = window.getSelection();
        generateTooltipPosition();
    } else if (document.getSelection) {
        shareTxt = document.getSelection();
        generateTooltipPosition();
    }
    return shareTxt;
}
function generateTooltipPosition() {
    var selection = window.getSelection && window.getSelection();
    if (selection && selection.rangeCount > 0) {
        range = selection.getRangeAt(0);
        pos = $(window).scrollTop();
        selection_text = selection.toString(), rect = range.getBoundingClientRect();
        $('#MBLSharetip').css({
            top: (rect.top + pos - 20) - 32 + 'px',
            left: rect.left + (rect.width / 2) + 'px',
        });
    }
}
/*]]>*/
</script>

Now lastly, to display the widget we need to add the HTML code in the template. Search for the ending </body> tag and just above it paste the following code:

<script>var twitterAccount = "mybloggerlab";</script>
    <div class="MBLSharetip" id="MBLSharetip">
         <div class="tooltipContainer"><a id="sendToTwitter" href="" class="sharingLink twitter"><span></span></a></div>
     </div>

Once everything is done press the "Save Template" button present towards the top of your screen and you're done. Congratulations, you have successfully installed the widget on your site. Now visit your blog and select any text to see what happens next.

We hope this article may have helped you to add more Twitter friendly features to your BlogSpot site. Do let us know about your thoughts in the comment section below
0