Tuesday, April 30, 2013

Put Adsense code In Middle blog Post


If you put adsense code middle in the post, easy to get
click frequently.So it wil help to earn more money.Try these.

1. First of all you have to parse the code.Go to these link
and parse the code.AdParser.

2.After log in to your blogger account and go to
dashboard >> Layout >> Edit HTML

3. Check THE "Expand Widget Templates" and
find this code by using Ctrl+F
<data:post.body/>

4.Now replace above code with this below code.

<div expr:id='"aim1" + data:post.id'></div>
<div style="clear:both; margin:10px 0">
<!-- Your AdSense code here -->
</div>
<div expr:id='"aim2" + data:post.id'>
<data:post.body/></div>

<script type="text/javascript">
var obj0=document.getElementById("aim1<data:post.id/>");
var obj1=document.getElementById("aim2<data:post.id/>");
var s=obj1.innerHTML;
var r=s.search(/x3C!-- adsense --x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>

5. Now save the template. Now put this special code to your every post.
<!-- adsense --> this is the place you want to put your adsense code.
6. Cheers.

Posted by R2blog. R2blog auto post for blogspot. Download at http://R2blogger.blogspot.com


0 comments:

Post a Comment