Tips and Tricks About Computers, Web Development, Linux, the Internet and the Like
Getting Entrecard to Work with Blogger
Just 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!
| Print article | This entry was posted by Tyler Mulligan on December 11, 2007 at 10:59 am, and is filed under Blogger, Entrecard, Web Development. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 2 years ago
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.