You have seen the auto tagging link in wordpress, which is very efficient for bounce rate. But unfortunately blogger doesn't provide auto tagging. So today I wrote this post for those who want to add auto tagging in blogger with a simple piece of code.
Here is steps :
#1 Open your template in word editor .
#2 Add this line before </head>
<script src="http://dinhquanghuy.110mb.com/autotag.js" type="text/javascript"></script>
#3 Find this line <b:if cond='data:blog.pageType == "item"'>
and look down ,you will see this code :
<p>
<data:post.body/>
</p>
replace it with
<p>
<div expr:id='"summary" + data:post.id'>
<data:post.body/>
</div>
<script type='text/javascript'>
highlightSearchTerms('blogging',true,'http://www.geekspalace.com/','summary<data:post.id/>');
highlightSearchTerms('SEO',true,'http://www.geekspalace.com/','summary<data:post.id/>');
</script>
</p>
take a look at the texts in bold . In this text ,"blogging" and "SEO" is the text that script will find to add link , "http://www.geekspalace.com/" is the link .
You can add more anchor text and link with this structure
highlightSearchTerms('text you want to add link',true,'link','summary<data:post.id/>');
The script will find "text you want to add link" in your post and place a link "link" on this text .
This script is not as much as the wordpress have but alternatively good for blogspot platform, where this widget is absent.
Thanks to Simplexdesgin for the code
Here is steps :
#1 Open your template in word editor .
#2 Add this line before </head>
<script src="http://dinhquanghuy.110mb.com/autotag.js" type="text/javascript"></script>
#3 Find this line <b:if cond='data:blog.pageType == "item"'>
and look down ,you will see this code :
<p>
<data:post.body/>
</p>
replace it with
<p>
<div expr:id='"summary" + data:post.id'>
<data:post.body/>
</div>
<script type='text/javascript'>
highlightSearchTerms('blogging',true,'http://www.geekspalace.com/','summary<data:post.id/>');
highlightSearchTerms('SEO',true,'http://www.geekspalace.com/','summary<data:post.id/>');
</script>
</p>
take a look at the texts in bold . In this text ,"blogging" and "SEO" is the text that script will find to add link , "http://www.geekspalace.com/" is the link .
You can add more anchor text and link with this structure
highlightSearchTerms('text you want to add link',true,'link','summary<data:post.id/>');
The script will find "text you want to add link" in your post and place a link "link" on this text .
This script is not as much as the wordpress have but alternatively good for blogspot platform, where this widget is absent.
Thanks to Simplexdesgin for the code
This post is written by Ifham khan you can catch him on