Wednesday, December 16, 2009

How To Put AdSense Code in Post Body-Blogger

One of the Best Place to put adsense code is between the post title and Body. For doing  so in blogger we need to put code direcly in the XML template.

First Locate the following code by taking "Layout-Edit HTML"

<data:post.body/>
 other lines between that code will be like this

 <div class='post-header-line-1'/>
    <div class='post-body'>
      <data:post.body/>
      <div style='clear: both;'/> <!-- clear for photos floats -->
  </div>

 Now Select your Adsense code from Adsense account like 250*250  and FORMAT it. Check this post for formatting

 add ths formatted adsense code inside an HTMl Div element
<div style='float:left;'>
AdSense Code
</div> 

Insert this Code here

 <div class='post-header-line-1'/>
    <div style='float:left;'>
    AdSense Code
    </div>

<div class='post-body'>
      <data:post.body/>
      <div style='clear: both;'/> <!-- clear for photos floats -->
  </div>

Save Template and Check the post.You Can See the Adsense Floating to the left of the body. See the Screen Shot below















If you need to Place adsense to the right of the text Place this Code instead
 <div class='post-header-line-1'/>
  <div style='float:right;'>
   AdSense Code
 </div>
<div class='post-body'>
      <data:post.body/>
      <div style='clear: both;'/> <!-- clear for photos floats -->
  </div>



If User needs to put adsense code only in blogger First Post Use the following code instead

<div class='post-header-line-1'/>
<b:if cond='data:post.isFirstPost'>
    <div style='float:right;'>
    AdSense Code
    </div>
</b:if>
<div class='post-body'>
      <data:post.body/>
      <div style='clear: both;'/> <!-- clear for photos floats -->
  </div>


Even if the User used the "Read More" link in any post in the blogger, he will see the adsense Code when he opens the link since now the first post in the page will be that  "Read More" post.

Adsense Code Converter For Blogger

 For placing google adsense  directly in the xml template of blogger you need to convert
  • < by &lt;
  • > by &gt;
  • and so on.

So that, the code,

<script type="text/javascript"><!--
google_ad_client = "pub-1234567890123456";
/* 468x60, created 3/17/08 */
google_ad_slot = "1234567890";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


become as follows,


&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-1234567890123456&quot;;
/* 468x60, created 3/17/08 */
google_ad_slot = &quot;1234567890&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;






Click Here for alternate link to Convert The code

Thursday, December 10, 2009

Free Search Engine Keyword Rankings Check in Seconds

Search Engine Rankings offers free, instant, online reports of web site rankings in 8 top search engines and web directories, including Google, Yahoo! Search, Bing (MSN), AOL, AltaVista, AllTheWeb, Yahoo! Directory, and Open Directory (Dmoz).


CLICK HERE to Find Search Engine Rankings



Search Engine Rankings - Instant, online reports of web site rankings in 8 top search engines and web directories, including Google, Yahoo! Search, Bing (MSN), AOL, AltaVista, AllTheWeb, Yahoo! Directory, and Open Directory (Dmoz).