NAME

TechnoratiTags - Plugin for Moveable Type


DESCRIPTION

A variable plugin that outputs an entry's keywords as Technorati Tags. For more information see http://www.technorati.com/help/tags.html

Technorati already adds tags for entry categories but this allows you to add free-form tags for each entry.


REQUIREMENTS

Moveable Type 2.2 or higher

Tested on Movable Type 2.661 and 3.14


INSTALLATION

Put TechnoratiTags.pl in the plugins directory for your Moveable Type installation and make sure that the permissions make it readable by the web server.

Now, make sure that Movable Type is pinging Technorati by following the instructions at http://www.technorati.com/developers/pingconfig.html#head-47a9faa5390ea56a6c23fe7f74b4fc693f915465

You may also want to customize your New Entry form to display the keyword field. Choose New Entry then at the bottom of the form click the link Customize the display of this page. On the form that pops up choose Custom and then check all the fields you want to display, including Keywords. Click the Save button.

To use TechnoratiTags as a plugin for dynamic publishing, put function.MTTechnoratiTags.php in /php/plugin


USAGE

Add keywords for your post separated by spaces. For example, the TechnoratiTags plugin might get these tags: technorati tags MovableType

Note that Movable Type was turned into one word: MovableType. If it had been spelled with the space, each word would have been tagged with Movable and Type but not Movable Type.

In your template add

<$MTTechnoratiTags$>

where you want to display tags. By default it outputs the links with the class ``TechnoratiTags'' but you can optionally override this with the ``class'' attribute:

<$MTTechnoratiTags class="someotherclass"$>

For more advanced formatting use Brad Choate's IfEmpty plugin from http://www.bradchoate.com/weblog/2004/10/20/mtifempty

For example:

<MTIfNotEmpty var="EntryKeywords">

<div id="some_id">

<h2>Tags</h2>

<p><$MTTechnoratiTags$></p>

</div>

<MTIfNotEmpty var="MTEntryKeywords">


CHANGES

3
Added PHP plugin for dynamic publishing provided by Jan Theofel http://www.etes.de/
2
There was a bug when an entry didn't have keywords that is now fixed.


BUGS

I can't tell from Technorati's site whether the tags need to be on the individual entry archive template or the main index template or what.


COPYRIGHT

This program is copyright 2005 George Hotelling http://george.hotelling.net/ and licensed under the GPL General Public License.