Many of the plugins I have seen have the following problems
1. Don’t handle comment pagination, as they assume the plugin will only be on the single page.
2. If the links appear in feeds, they don’t add full parameters to the share links so the links still work
3. If javascript is switched off, whilst a link can be created based upon a referrer, the Tweet text is not propagated.
That is why I knocked together a quick tutorial on creating a shortcode, though all of it could then be incorporated in a plugin.
Also that Async code has no significant benefit, because currently Twitter serves the javascript from Akamai.
If Akamai is down or slow, so is most of the internet.
I still think Topsy in many situations offers a better Tweet count and overview of tweets for a story, & Tweetmeme have the best graphic counter that works in feeds.
James began using WordPress in 2004. Being new to WordPress (and blogging in general), he quickly found the WordPress Support Forums and basically never left. James currently resides in sunny Southern California, where he enjoys bringing happiness to millions of WordPress.com users.
Do any of these incorporate @tschellenbach’s fix http://j.mp/9aW6aW
Instead of the standard Twitter version:
Use the async method, or your site can have trouble loading when Twitter is down:
//async script, twitter button fashiolista.com style
(function() {
var s = document.createElement(‘SCRIPT’);
var c = document.getElementsByTagName(‘script’)[0];
s.type = ‘text/javascript';
s.async = true;
s.src = ‘http://platform.twitter.com/widgets.js';
c.parentNode.insertBefore(s, c);
})();
I have been using STC for a while now and was glad to see they incorporated this within just a day or two.
Added STC to this blog. Thanks for the suggestion and thanks to Otto for some fantastic work, as usual!
You’re welcome!
Many of the plugins I have seen have the following problems
1. Don’t handle comment pagination, as they assume the plugin will only be on the single page.
2. If the links appear in feeds, they don’t add full parameters to the share links so the links still work
3. If javascript is switched off, whilst a link can be created based upon a referrer, the Tweet text is not propagated.
That is why I knocked together a quick tutorial on creating a shortcode, though all of it could then be incorporated in a plugin.
http://andybeard.eu/2907/bette.....utton.html
Also that Async code has no significant benefit, because currently Twitter serves the javascript from Akamai.
If Akamai is down or slow, so is most of the internet.
I still think Topsy in many situations offers a better Tweet count and overview of tweets for a story, & Tweetmeme have the best graphic counter that works in feeds.
Nice article!!
I put the tweet button on my blog and I feel good.
I just believe that there is a problem with the counting.
Has anyone had this problem?
Thanks