20 August 2017

HTML to XML Parser | Medianet Adsense Ad Codes Converter | Blogger Scripts Converter


SaibaWorld HTML to XML Parser was created so JavaScript ad codes like Google AdSense can be added into the body of Blogger Templates. However, if there is any other script you add to Blogger Template that gives an error, then putting it through the parser below would very likely solve the problem.

The HTML to XML parser and converter

The tool below automatically converts any JavaScript ad code into the correct format so you can embed it directly into your XML Blogger template. If you get an error while embedding any code into your template, then run it through the tool below, and it will resolve. It is perfect for converting scripts like those of Google AdSense, Yahoo MediaNet, Chitika and any other JavaScript code that you may have.

How to Use the AdSense Code Converter

Just paste your Adsense code or any other code or HTML into the empty box below, and then click the Convert button. Thereafter copy the resulting code. and paste into your Blogger template. If you want to convert more codes, just click the Clear button and paste in the new code into the now empty box, and repeat the former steps to also convert. Simple!

paste code

Why you get error messages in Blogger Template when adding codes

HTML has special handling for characters like '<' and '>' symbols, so it does not work well with those characters where they should not be.

Having spurious characters like these symbols in your text can have some weird effects - blocks of text not appearing, broken formatting, and generally just not seeing what you expect to see. And of course, error messages.

This can all be fixed by 'escaping' those characters. This process involves scanning the text for those characters, and replacing them with a special character-code that browsers can interpret as the correct symbol, without actually embedding that symbol in your text.

For example, the escaped character code for > is &gt;.

The SOLUTION is simply to run it through the script parser above.

Related: How to upload your favicon to Blogger blog inspite of error messages

1 comment: