My side of the world and story

Sponsored By
Below are readers who have donated to me as a thank you token. If you feel that my post are worth reading, please donate to me at any amount. Thank you.
  • Markp-R
  • Kathy M
  • Russell Gumns
  • Sazali Hassan
  • Evil Monkey
  • Link to me

    Book i read.
    Tuesday, October 04, 2005
    Wrap that sense
    As my previous post stated that you can wrap your Adsense around your content, IE seems to hate the tags. I should realized that Ie behave "off track" compared to FireFox. So folks, please use FireFox next time before entering my space. To make sure everything working fine, my hack should be taken seriously. Please backup your template code before doing this tip. Ready to hack? As usual, login to your Blogspot dashboard.

    Go to Setting and look for Formatting. There you can see Enable Float Alignment and select NO. This is to make sure your template wouldn't break the offset. After that Save everything and head to your template. Look for <$BlogItemBody$> in your code. Are you scrolling looking for it? Why not copy your code and paste it into Notepad. I use UltraEdit for my text editing. Far better then Notepad. If you are using Notepad, just use the search function, that should do it. Found it? Great, now we are going to add some codes.

    <div style="float:right;margin: 1 1 1 1;">
    Adsense code goes here

    That was easy right? Only two line of codes and you are done. You can change the float:right to float:left to suits your layout. As you can see in my post, my Adsense is on the right to give it a tidy look. If you're using some sort of images as the background for your <$BlogItemBody$> CSS tag, make sure the offset is correct. If not, your layout will be out of balance.

    If you want to put your Adsense next to your content, make a table with two column. In the first column, put the <$BlogItemBody$> and your Adsense in the other column. Remember, <$BlogItemBody$> is the tag you must make sure working nicely before adding any codes above or below it. Last i checked, this tip works fine in both IE and FireFox. I don't know if Safari users found it bit acward in their browser.

    Another tip that can help you with your Adsense is the section targeting. What is that? In simple word, it will tell GoogleBot to read more faster and giving your Adsense a faster ads. Again, <$BlogItemBody$> plays an important role to get this tip to work. Find <$BlogItemBody$>, and get ready to insert some codes ( do i make that sound too hard?).

    <!-- google_ad_section_start -->
    <!-- google_ad_section_end -->

    The first code is like an instruction for GoogleBot to read this paragraph ONLY and the second code tells it to stop scanning. It's just like asking GoogleBot to read this and stops at the last dot. Confused? Let me explain to you bit more. <$BlogItemBody$> is where your content is in your template but not in your HTML code. By adding these code, you can get much more faster Adsense ads related to your content. If you DON'T want GoogleBot to scan the whole page, you can add &#60;!-- google_ad_section_start(weight=ignore) -->. For example, you don't want GoogleBot to scan your link ( maybe your links contain some keywords not related to your content ). You can always do like this :

    #60;!-- google_ad_section_start(weight=ignore) -->
    Link 1
    Link 2
    <!-- google_ad_section_end -->

    This way, you can slash GoogleBot's time into 40%. Meaning faster and more relevant ads. To learn more about section targeting, head to Adsense tips page. I do hope the tips above helps. If you need any help, you know where to click right ( notice the contact me?).

    Thanks to Rick Blythe for pointing to me the easy way for inserting Adsense into the content.
    posted by Jamloceng @ 6:46 PM  
    About Me
    Author: About me
    Contact: me
    Add to: Yahoo
    Subcribe to: Newsgator
    Subcribe to: Rojo
    My: NewsBurst
    Disclaimer: Creative Commons
    Previous Post
    As seen on