cannot add adbrite code in ma blog

Discussion in 'HTML & Website Design' started by jagathdesigner, Sep 8, 2009.

  1. #1
    this is ad code and

    <!-- Begin: AdBrite, Generated: 2009-09-07 2:27:22 -->
    <script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=13323423&br=1&dk=72656c6174696f6e73686970735f2342342345f7"></script>
    <!-- End: AdBrite -->

    this is the error

    "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 reference to entity "br" must end with the ';' delimiter."


    please some one help me
     
    jagathdesigner, Sep 8, 2009 IP
  2. techbongo

    techbongo Active Member

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #2
    This is not because the adbrite code. Problem is at somewhere else. If you can save the blogger template without pasting this code then the template is ok. For this case, find out </body> tag inside the template. Now paste the code just before the </body> tag and have a try. If you become able to save now, it means, you were trying to paste the code inside a wrong tag.
     
    techbongo, Sep 8, 2009 IP
  3. jagathdesigner

    jagathdesigner Well-Known Member

    Messages:
    258
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #3
    no i tryed pasting it before the body tag only.... blogger gave the error stated above
     
    jagathdesigner, Sep 8, 2009 IP
  4. jagathdesigner

    jagathdesigner Well-Known Member

    Messages:
    258
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #4
    please some one help ..:-(
     
    jagathdesigner, Sep 9, 2009 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #5
    That's not what you were told to do. Go back and read the instructions again.

    cheers,

    gary
     
    kk5st, Sep 9, 2009 IP
  6. jagathdesigner

    jagathdesigner Well-Known Member

    Messages:
    258
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #6
    tryd before </body> still same error
     
    jagathdesigner, Sep 15, 2009 IP
  7. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #7
    Try replacing this:
    sid=13323423&br=1&dk
    Code (markup):
    with this:
    sid=13323423&amp;br=1&amp;dk
    Code (markup):
    An ampersand is a reserved character and must be written as an alpha or numeric entity.

    cheers,

    gary
     
    kk5st, Sep 16, 2009 IP
  8. jagathdesigner

    jagathdesigner Well-Known Member

    Messages:
    258
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #8
    thanks man this works fine...:)
     
    jagathdesigner, Sep 16, 2009 IP