After changing my blog from
Blogger URL: http://wereya.blogspot.com
Custom Domain URL: <http://www.wereya.com>
You don't need to correct the codes of Adsense if you add the codes onto the side-bar on your blog since the side-bar is using HTML/Javascript which is not allow xml.
But if you go to Dashboard > Design > Edit HTML (This HTML editor allows xml), you need to modify the codes of Adsense :
- Change &
&
into &&
- Change <
<
into <<
- Change >
>
into >>
- Change "
"
into ""
- Change '
'
into ' For example, the blue codes below is original codes of Adsense, and the yellow codes below is what I have after changed all the symbols :'
<script type="text/javascript"><!-- google_ad_client = "pub-0690220431785051"; /* 728x90For example, created 8/7/10 */ google_ad_slot = "8652075993"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>the blue codes below is original codes of Adsense, and the yellow codes below is what I have after changed all the symbols:
<script type="text/javascript"><!--
google_ad_client = "pub-0690220431785051";
/* 728x90, created 8/7/10 */
google_ad_slot = "8652075993";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "pub-0690220431785051";
/* 728x90, created 8/7/10 */
google_ad_slot = "8652075993";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>