The HashTag plugin is yet another twitter plugin. It will Tweet the entry title and a link using the account in the plugin settings, it can also add hashtags to your tweets. Hashtags are Twitter's version of tags, they provide a way of adding structure to your tweets and allowing people to filter tweets against their interests.
It was written because I was always forgetting to add #mt to all my MT related blog post tweets, which in turn meant that they were being missed by HashMT which collates all the #mt posts onto a single site.
The latest version of HashTag can be downloaded from http://www.composing-stick.net/projects/hashtag/HashTag.zip. NOTE this version is for MT4.x. There will be a separate version released for MT5.x as there are some changes to the edit entry screen which means that the tweet options are not displayed correctly.
Copy the HashTag directory to your Movable Type plugin directory.
- Log onto Movable Type and select your blog.
- From the top menu select Tools > Plugins.
- From the list of plugins select HashTag 2.5 and click on settings
Enter your Twitter username and password. This is the account that will be used for all tweets from this blog.
Introduction: this will prefix all your your tweets.
Hash Tag: This is the default hashtag that will be used for all your tweets.
Select your default tweet option, this can be overridden when posting an entry or creating a new page.
Don't forget to save changes.
When you create or edit an entry or page, you will see the HashTags options on the right hand side of the edit area. This allows you to override your default settings. If you select Tweet tags as hashtags then all the tags will be used except private tags (tags that start with the @ symbol) which will be ignored. Tags with spaces in their name will be have the spaces removed, this is the same as the normalisation that Movable Type does in the background.
You can add a set of links at the bottom of you entries that will search Twitter for tweets with the same HashTags. Add the following code to your entry template (see samplecode.txt in the HashTag plugin folder)
Removed default intro if blank.
Removed dependency on XML::Atom.
Changed post override options from radio group to single select list to save space.
Added support for scheduled posts. NOTE: Schedule posts will always use the plugin default settings at the time the post is published.
Refactored duplicate code into functions.
Check for Movable Type proxy configuration. Thanks to Alvar Freude for supplying patch to do this.
Added option to treat entry and page tags as HashTags.
Help from Jay Allen to make sure HashTags was using functions already in Movable Type rather than re-inventing the wheel.
Original version, based on Ian Fenn's mt-twitter plugin
Added option to include a default HashTag when tweeting