3 / 3
Sep 2010

I'm working with Blogger to create a blog site with my affiliate links on the side. When I got my code and cut and pasted the link to my site, I'm getting this 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 "c" must end with the ';' delimiter."



I've tried using " instead of ' before and after the link, I even added a ";" to try to close the issue, I put &amp instead of the & and I've looked over several of the help threads involving XML issues, and I don't feel like I've gotten any more useful information that will help me resolve the problem.



Please help, and explain a solution like I've never coded before. I'm a self-taught techie who only knows coding basics, and is learning as I go.



Thank you.

  • created

    Sep '10
  • last reply

    Sep '10
  • 2

    replies

  • 1.2k

    views

  • 2

    users

  • 9

    links

It sounds like maybe you're trying to put your E-junkie button codes in a template, rather than just pasting the code into your layout editor's Edit HTML mode as described here:

2http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=468702



If you still want to put our button code in a template, then you must make some modifications to the button code after you obtain it from Seller Admin. Change every "&" into "&" and change "onClick" to "onclick", so your code looks like the following examples:



Add to Cart:



<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&amp;i=XXXXXX&amp;cl=133825&amp;ejc=2" target="ejejc" class="ec_ejc_thkbx" onclick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ejadd_to_cart.gif" border="0" alt="Add to Cart"/></a>



View Cart:



<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&amp;cl=133825&amp;ejc=2" target="ejejc" class="ec_ejc_thkbx" onclick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ejview_cart.gif" border="0" alt="View Cart"/></a>

<script language="javascript" type="text/javascript">

<!--

function EJEJC_lc(th) { return false; }

// -->

</script>

<script src="http://www.e-junkie.com/ecom/box.js" type="text/javascript"></script>

Thanks. I actually was using the HTML editor.



I was trying to edit the 125x125 ads on the side column. I had the images I wanted to use for people to click and go to the websites that sell their products. I couldn't get it to work, so I cheated and used tinyurl to mask the link. haha.



Sloppy, and unprofessional, I'm sure, but hey. It worked. :smiley:



I didn't realize that you had an "add to cart" feature. I will look through more of the options available as I become more comfortable with the site.



Thank you so much for getting back to me.