• RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter

Google place ads in central theme entry

 -3-

Conversion tool to convert ads AdSense code



Look for the following code:




<data:post.body/>


Select it and then wipe it put in his place the following code:




<div expr:id='"aim1" + data:post.id'></div>
<div style="clear:both; margin:10px 0">
<!-- AdSense Parsed code -->
</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




---------------------------------------------------------------
And, of course, replace the phrase Adsense Parsed Code amended by Adsense code.
Now, when writing any new codification, place the following code anywhere within the entry which you want the appearance of ads, noting that the introduction of this code is a last step, and in HTML edit mode for codification


<!-- adsense -->

The situation becomes final announcement follows (according to the place you have chosen):

Flag Counter
 

About Me

raguigue zoubair
View my complete profile
Powered by Blogger.

BTricks

BThemes

Copyright 2010 google adsense - All Rights Reserved.
Designed by Web2feel.com | Bloggerized by Lasantha - Premiumbloggertemplates.com | Affordable HTML Templates from Herotemplates.com.