Saturday, December 7

Blogger XML Code Converter

Blogger does not allow you to add adsense and other ad networks codes' directly to your html template. For that you need the code to be converted to proper format.
Whenever I tried to insert adsense code directly into the blogger template,
Either it would not show up at all
Or an XML not well formed error messages, like the following, were displayed.

“Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The content of elements must consist of well-formed character data or markup.”



“Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The processing instruction target matching “[pP][qQ][rR]” is not allowed.”

This handy tool automatically converts javascript ad code into the correct format so you can embed it directly into your new xml Blogger template. It works perfectly for AdSense, AdBrite, Chitika or any other javascript ad code you may have.

Will this break any AdSense program policies?
- No. Using this tool doesn’t breaks AdSense program policies because you are NOT modifying the ad code in any way. To be sure, use the encoded code in your template and then view source of the page. You’ll find no change in the ad code.

Want to add the above Code Converter to your website or blog? Just add the following code to the html of your website or blog -

No comments:

Post a Comment

Comment anything you want. Just be polite and give respect to others!
I am simply going to remove the comments which are offensive or are off topic.
And please don't spam your website links in comments. I don't, neither should you.