June 15, 2011
I was playing around with Twitter’s new Follow Button and I couldn’t help but notice that the embedding markup is some of the best I’ve ever seen.
<a href="http://twitter.com/kneath" class="twitter-follow-button" data-show-count="false">Follow @kneath</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
I love the idea of using regular HTML with feature-flags in data attributes combined with a common script. Can’t wait to play around with this style on Gist.
If you'd like to keep in touch, I tweet @kneath on Twitter. You're also welcome to send a polite email to kneath@gmail.com. I don't always get the chance to respond, but email is always the best way to get in touch.