blogs tips

3 views
Skip to first unread message

wed wed

unread,
Jan 9, 2008, 7:33:36 AM1/9/08
to adsense-publ...@googlegroups.com, adultvi...@googlegroups.com, a-journey-in...@googlegroups.com, Andy-Math...@googlegroups.com, angel...@googlegroups.com, anticip...@googlegroups.com, a-painting-a-day...@googlegroups.com, Aprendice...@googlegroups.com, artes...@googlegroups.com, Beautiful...@googlegroups.com, beer-and-blo...@googlegroups.com, Bible-Prophec...@googlegroups.com, Blogger...@googlegroups.com, BloggersC...@googlegroups.com, BlogReade...@googlegroups.com, blog...@googlegroups.com, bttsta...@googlegroups.com, cosmology-mathemat...@googlegroups.com, Customi...@googlegroups.com, daily-devot...@googlegroups.com, deng...@googlegroups.com, disc...@googlegroups.com, dr-H...@googlegroups.com, eccles...@googlegroups.com, Editor...@googlegroups.com, egmed...@googlegroups.com, epoti...@googlegroups.com, fetishad...@googlegroups.com, gluo...@googlegroups.com, Goat-Rop...@googlegroups.com, gtd...@googlegroups.com, hao...@googlegroups.com, heal...@googlegroups.com, herbyswi...@googlegroups.com, housemd...@googlegroups.com, id-...@googlegroups.com, imoveis-lancamento...@googlegroups.com, inco...@googlegroups.com, Inside-A...@googlegroups.com, inside-a...@googlegroups.com, inside-a...@googlegroups.com, inside-googl...@googlegroups.com, invest2s...@googlegroups.com, ipkat_...@googlegroups.com, japan-blo...@googlegroups.com, jhumab...@googlegroups.com, lokodo...@googlegroups.com, low-co...@googlegroups.com, marr...@googlegroups.com, master-expertise-en-micr...@googlegroups.com, MayDayDiv...@googlegroups.com, Mephis...@googlegroups.com, mimi...@googlegroups.com, momsw...@googlegroups.com, monet...@googlegroups.com, My-blog...@googlegroups.com, news-in...@googlegroups.com, nutric...@googlegroups.com, on-c...@googlegroups.com, osegred...@googlegroups.com, pakist...@googlegroups.com, pakist...@googlegroups.com, panora...@googlegroups.com, pinay...@googlegroups.com, poole---bournemou...@googlegroups.com, procat...@googlegroups.com, rails-...@googlegroups.com, raiz...@googlegroups.com, RANDOMN...@googlegroups.com, Red...@googlegroups.com, resources_...@googlegroups.com, richs-fami...@googlegroups.com, rockvill...@googlegroups.com, rupya...@googlegroups.com, sangabrielhigh...@googlegroups.com, satofa...@googlegroups.com, schall-u...@googlegroups.com, so...@googlegroups.com, taiw...@googlegroups.com, tamilna...@googlegroups.com, telug...@googlegroups.com, the-hernan...@googlegroups.com, the-paint...@googlegroups.com, tranz...@googlegroups.com, treat...@googlegroups.com, watot...@googlegroups.com, webmarketcent...@googlegroups.com, xys-...@googlegroups.com, zakar-art-by...@googlegroups.com





Insert Adsense In to Blog Body Post

I make this note because it is looks nice if adsense placed inside post body. Since I publish several Blog on Blogger, I try to find out how to put adsense into New Blogger. I keep this article here to make it easier for me and also for you in the future. If you want to place Google Adsense into your Blogger Post Body, like in the picture, you can use this method.

You should edit your HTML code of your template and don't forget to activate Expand Widget Templates on the right side. Try to locate


*Click Expand Widget Templates






CODE:

1.<div class='post-body'>

2.<p><data :post.body/></p>

3.</div>


Since Blogger started using XML everything is more strict and standardized. The above error simply mean the Adsense code is not standized XML and solve it we need to replace all the html character such '<' with '>' '"' with '"'. For example:


Your Adsense code change like this code





&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--

google_ad_client = &quot;pub-XXXXXXXXXXXXXXX&quot;;

google_ad_width = 336;

google_ad_height = 280;

google_ad_format = &quot;336x280_as&quot;;

google_ad_type = &quot;text_image&quot;;

google_ad_channel = &quot;&quot;;

google_color_border = &quot;FFFFFF&quot;;

google_color_bg = &quot;FFFFFF&quot;;

google_color_link = &quot;000000&quot;;

google_color_text = &quot;000000&quot;;

google_color_url = &quot;000000&quot;;

//--&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;


This is the code in the template





1.<div class='post-body'>

2.<p><data :post.body/></p>

3.<div style='clear: both;'/> <!-- clear for photos floats -->

4.</div>


Replace your adsense in the templet





1.<div style="float:left;">

2.your adsense code

3.</div>

adding margin on style code





1.<div style="float:left; margin:3px 3px 3px 3px">

2.your adsense code

3.</div>





 
Reply all
Reply to author
Forward
0 new messages