Blogger Ad Code/Javascript code converter

Have you ever tried to implement Adsense/Adbrite/Chitika or any Javascript codes in your Blogger templates? And sure it won’t work. Usually you will come across some Blogger error messages if you tried to do so. So, there is a handy tool which enables you to convert Javascript codes and embed the those codes anywhere in your blogger template.

This simple online tool at eBlogTemplates will convert some characters such as > < and ” to HTML entities. For example:

This is a piece of Google Adsense code. 

<script type="text/javascript"><!--
google_ad_client = "pub-1234567890123456";
/* 468x60, created 3/12/09 */
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>

into this code

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-1234567890123456&quot;;
/* 468x60, created 3/12/09 */
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;

So, all you have to do is go to Blogger Ad Converter and put in the Javascript snippet code and click convert

Then copy the converted code and paste it in your blog template.

3 Replies to “Blogger Ad Code/Javascript code converter”

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge

This site uses Akismet to reduce spam. Learn how your comment data is processed.