Technorati Cosmos in Textpattern

How do you get trackbacks without the spam and at the same time routing around your blogging software lack of that functionality?

Answer: you use some other tool, wich requires an even lower effort both on your and on other people’s side: Technorati Cosmos.

I started with a simple piece of code from Weblog Tools Collection, kept only the clever XML parsing trick and expanded it to a full Textpattern plugin. There was no license attached to that code, so I hope they are fine with me redistributing this.

So here is my Texpattern Technorati Cosmos plugin.

The plugin needs some easy configuration, in form of a Technorati Key and a cache directory wich must be writable by the web server.

To use it just place the tag <txp:mic_technorati_cosmos /> in your article form and you’re mostly done. With the default settings, the generated code will be like this:

<!-- Technorati Cosmos for http://currenturl -->
<h3 class="cosmos_label">Technorati Cosmos <a href=""><img src="bubble"></a></h3>
<ul class="cosmos_list">
    <li><a href="" title="">Cosmo title</a> &mdash; Cosmo excerpt</li>
    <li><a href="" title="">Cosmo title</a> &mdash; Cosmo excerpt</li>
</ul>

The label, the image and the excerpt can be customized and completely removed, please refer to the plugin’s help for more information. rel="nofollow" support is an attribute away, too.

You can see it at work in some of my articles and projects pages. Enjoy.

Update: New version with better duplicates detection

Comments
  1. Todd said Mon, 11 Apr 2005 18:38:07 GMT

    Looks awesome. Installs like a dream. No one has mentioned me at all yet, so I can’t actually be certain it’s working, but everything looks good so far.

  2. Michele said Mon, 11 Apr 2005 20:00:05 GMT

    Well, as you can see over here, it worked for your own post ;)

  3. Todd said Wed, 13 Apr 2005 18:53:10 GMT

    I was simply allowing for my own ability to mess even the simplest things up.