Easy Retweet Plugin

UPDATE: This plugin has been updated! Download the newest version here.
Earlier today, John Resig released a script called Easy Retweet for tracking the number of people visiting his blog from Twitter. It's a stand alone script than can be used anywhere you like. All you need to do is make a link with a class of "retweet" and your done. Of course there are other options available and I encourage you to check John's blog post where he lists all the available options for creating a link.
Since the script was so simple I thought I would make a very simple Mango Blog plugin out of it. The plugin has two possible functions. By default the plugin will create a new sidebar pod and automatically generate the retweet button for any page you include the pod on.
If you don't like the sidebar pod, you can disable it and simply include the retweet script into your template and make links manually in your blog posts or anyplace in your template that you specify.
Note: I barely tested the plugin before posting it, but it all appeard to work in the few themes that I tested it out on. Let me know if you discover any bugs.
Get the Easy Retweet Plugin
- Plugin version:
- 1.0
- Last Updated:
- 2009-07-10
- Requires:
- Mango Blog 1.3+
- Auto-install URL:
- http://www.visual28.com/assets/content/mango/EasyRetweet.zip
Tags: Freebies · Mango Blog · Plugins
8 comments so far ↓
It would be great if it would listen to the "beforePostContentEnd" event so that it can be automatically added to the footer of all posts.
I looked in the /assets/retweet.js
I changed the font color to #FFFFFF
Under the // Style information section. I changed them all, but nothing seemed to work.
By blog is at hawaiiflash.net/blog.
is it possible to change the black text(to the left of the re tweet button) to white?
Thanks so much,
Johnny`-`
In this case you should change "a.retweet" or possibly more specifically "a.retweet strong" depending on what styles are being overwritten. I didn't dig to deep but one of those should do the trick.
Thanks so much!
I will try the firefox toolbar first, this way I can't mess up any of the code.
Thanks again for pointing out which tag to look at as well.
Johnny
Leave a Comment