Thursday, June 25, 2009
  • Digg
  • Directly Insert Ads Code Anywhere in Blogger Template Wouldn't Work

    1 comments
    Save to del.icio.us 0 hits!

    Recently, I have tried to directly copy paste JavaScript ads code into my blogger template and gave me an error message look like this:
    "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 “[xX][mM][lL]” is not allowed."

    or

    "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"

    Some case happened when blogger xml parser seems to valid JavaScript code in blogger template without displaying an error message at all. So, I think that all is valid code until I discover the ads block nothing to gets displayed. I thought that this may be an issue with the adsense code. So, I tried to insert other ads code such as AdBrite and Chitika codes but they didn’t work as well.

    Solution for this problem:
    I converted all the special characters in the JavaScript into HTML entities. I replaced characters "<" to "&lt;" and ">" to "&gt;" and etc…

    Example:

    Original Adsense Code:

  •  Before_Convert

    After Convert:

  • After_convert

    I know that you will spending a lot of time to convert the original ad code manually. So, Don't worry...problems will resolve.. I created a tool called "". By using this great tool, im sure that it took you a few seconds to convert the original adsense code with only one click... Say no more for time searching and replacing each character adsense code... This converted code worked perfectly with the blogger template. I inserted it in various positions, including the main content area and the sidebar, and it worked each time and remember that before you make any changes to your blogger template, be practices to backup your blog template first..

    Can I Convert Other Ads Code Besides Google Adsense?
    Yes! you can convert Text Link, Adbrite, LinkWorth, Chitika, Amazon, EBay and other Ads code too...
    Awesome right?

    Benefits of this tool:
    No harm to your blog.
    Save time to convert.
    No breaking the Adsense Program Policies (TOS) and Other..
    One click.

    Lastly, Come!!! give it a try "JScript Ads Code Converter For Blogger"

  • These icons link to social bookmarking sites where readers can share and discover new web pages.
    • StumbleUpon
    • Technorati
    • Sphinn
    • Facebook
    • Mixx
    • Google
    • Furl
    • Reddit
    • Spurl
    Comments
    1 commentss

    Author: AlexL

    Do you have any suggestions? Add your comment. Please don't spam!
    Subscribe to my feed
    technoraX said...

    Hi, AlexL,

    You and Me too similiar as we are using Woork's template.But we modified it. Keep it up..gud work..

    Alex, i've started a new tech blog. And started Free Backlinks For Your Website Movement. I hope You can join me too. Via this movement you will get atleast 1 more visitors. and number of backlinks pointing to your blog will increase. So, take a look at it first. And then Join with me yah..

    Post a Comment

    About Me

    Subscribe now!Feeds RSS

    Blog Directory

    Blog Directory