Getting Entrecard to Work with Blogger
Blogger, Entrecard, Web Development December 11th. 2007, 10:59amJust the other day, I was trying to integrate Entrecard into one of my Blogger accounts and it didn’t work. The reason for this, is google’s very strict about their document validity, while Entrecard has seemingly over-looked a common HTML markup mistake. The use of an ampersand, rather than html entity:
Theirs:
<script src="http://entrecard.s3.amazonaws.com/widget.js?user_id=629&type=standard_200" type="text/javascript" id="ecard_widget"></script>
Valid:
<script src="http://entrecard.s3.amazonaws.com/widget.js?user_id=629&type=standard_200" type="text/javascript" id="ecard_widget"></script>
Note: don’t just copy that code and use it in your blog… unless you want to display my card!



















December 11th, 2007 at 4:13 pm
Ugh. Actually we do use amp;, but our rendering engine is xml - it outputs the character at the end. I’ll see what I can do about that. Thanks for the heads up.