ne_plus
01-13-2010, 07:36 PM
I am utilizing a blogger template & attempting to manually patch DISQUS comment script. When I input the script:
<!-- +disqus --> <b:else/> <div id="disqus_thread"></div> <div style="display:none;" id="disqus_post_title"><data:post.title/></div> <div style="display:none;" id="disqus_post_message"><data:post.body/></div> <script type="text/javascript"> var disqus_url = '<data:post.url/>'; var disqus_title = document.getElementById('disqus_post_title').innerHTML; var disqus_message = document.getElementById('disqus_post_message').innerHTML; </script> <script type="text/javascript" src="http://SHORTNAME.disqus.com/embed.js"></script> <a expr:href='"http://disqus.com"' class='dsq-brlink'>blog comments powered by <span class='logo-disqus'>Disqus</span></a> <!-- -disqus -->
I receive the blogger 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 content of elements must consist of well-formed character data or markup."
Are there any pros out there that know what is going on with this & how to fix?
Blogger Site (XML Doc): http://selfemployedmavens.blogspot.com/
DISQUS Patch: http://disqus.com/docs/patch-blogger/
<!-- +disqus --> <b:else/> <div id="disqus_thread"></div> <div style="display:none;" id="disqus_post_title"><data:post.title/></div> <div style="display:none;" id="disqus_post_message"><data:post.body/></div> <script type="text/javascript"> var disqus_url = '<data:post.url/>'; var disqus_title = document.getElementById('disqus_post_title').innerHTML; var disqus_message = document.getElementById('disqus_post_message').innerHTML; </script> <script type="text/javascript" src="http://SHORTNAME.disqus.com/embed.js"></script> <a expr:href='"http://disqus.com"' class='dsq-brlink'>blog comments powered by <span class='logo-disqus'>Disqus</span></a> <!-- -disqus -->
I receive the blogger 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 content of elements must consist of well-formed character data or markup."
Are there any pros out there that know what is going on with this & how to fix?
Blogger Site (XML Doc): http://selfemployedmavens.blogspot.com/
DISQUS Patch: http://disqus.com/docs/patch-blogger/