Promote This! Plugin for Movable Type
I was surprised to discover just how hard it was to find a plugin that would help me add a "digg this" link to my site. So as I was coding up an overly complicated set up Movable Type Template Tags it occurred to me that there is a simpler way.
So I created the Promote This! plugin for Movable Type. Promote This provides a set of super-simple template that makes it crazy-easy to compose links to your favorite social bookmarking, and social news services like del.icio.us, digg (my favorite), reddit and Newsvine URLs.
What support for another service? Just let me know and I will add it!
Reference
Here is the current list of supported template tags:
<$MTDiggURL$><$MTdeliciousURL$><$MTredditURL$><$MTNewsVineURL$><$MTFurlURL$><$MTFarkURL$><$MTGoogleURL$><$MTSpurlURL$><$MTMyWebURL$><$MTBlinkListURL$><$MTBlinkBitsURL$><$MTConnoteaURL$><$MTFeedMeLinksURL$><$MTShadowsURL$><$MTSimpyURL$><$MTStumbleUponURL$><$MTLinkrollURL$><$MTBlogMarksURL$><$MTFaceBookURL$><$MTSphereItURL$><$MTMagnoliaURL$><$MTTechnoratiURL$>
So to create a "digg this" link on your Movable Type blog, here is the template code you would use:
<a href="<$MTDiggURL$>">digg this</a>
It can't get much easier than that. Can it?
Installation
To install the plugin:
- Download Promote This.
- Set the current working directory to your
MT_HOME(whereMT_HOMEis the same directory in whichmt.cgican be found). - Unzip the Promote This archive file - doing so will place all of Promote
Does this on Dynamic templates in Movable Type 4.0?
Byrne
Very nice and handy little plugin :)
The only thing it's missing is icons!
Michele
I love this plugin! However, my stumbleupon one isn't working (see my blog link). Also, could you create one for technorati?
The StumbleUpon doesn't work for me either. It adds href= before the URL of the submitted site.
Hi Byrne -
Any recommendation of a plug-in which allows readers to mail a page?
Geoff Fox
This is a WONDERFUL plugin, another great way to market a site. Thanks!
Exactly what I was looking for - thanks for keeping it simple.
@Shane - Promote This is compatible with MT4 and dynamic publishing.
Support for StumbleUpon has been fixed. Thanks!
Thanks very much for the plugin...it's just what I was looking for!
Is there any chance of adding Technorati or ma.gnolia?
@cognitive dissident - Done and done. You can download Promote This 1.09 now.
Thanks so much for the updates; your work is greatly appreciated!
Forgive me for asking but where exactly do you paste this URL:
Thanks, Jim
@JimmyTomato - I might place it right next to the comment count in the entry meta data area.
I thought I would let you know that I noticed that the '&t=' in the PromoteThis.pl file for Facebook functionality needs to be changed to '&t=' in order for pages that use this to validate. It seemed like an oversight since it is correct in the php file. Hope this helps. Thanks for the plugin! I love it!
-Grady
Fixed! Promote This 1.12 has been released!
GREAT plugin -- just what I've been looking for. thank you.
Hello. Do you know a good "email this to a friend" solution for MovableType? Thank you!
Hi!
Uh oh, I placed
into my Sidebar template, and it gives me the error
'Can't call method "permalink" on an undefined value at ...PromoteThis.pl line 49.'
It looks from the Perl code like the argument passed into DiggURL (which is called $ctx) doesn't contain an 'entry' in its stash hash.
Obviously, I have no idea what this means or how this function is called. :)
Never mind, I figured out that I need to surround the call with <MTEntries>. It's in the README file, although not on the main PromoteThis Web page.
I have a problem with the Fark code. When in dynamic publishing, it gives the following error:
Fatal error: Call to undefined function: unescape() in /home/critica3/public_html/cgi-bin/mt/php/plugins/function.mtfarkurl.php on line 7
The rest of the page stops loading at this point. I can remove the Fark tag and all works fine...
Same problem as Steve. I think this just started happening with 4.2.