<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Michele Campeotto: Tag blogging</title>
    <link>http://blog.micampe.it/articles/tag/blogging?tag=blogging</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>I'm not Winston Wolfe.</description>
    <item>
      <title>Technorati Cosmos in Textpattern</title>
      <description>&lt;p&gt;How do you get trackbacks without the spam and at the same time routing around your &lt;a href="http://textpattern.com"&gt;blogging software&lt;/a&gt; lack of that functionality?&lt;/p&gt;

&lt;p&gt;Answer: you use some other tool, wich requires an even lower effort both on your and on other people&amp;#8217;s side: &lt;a href="http://developers.technorati.com/wiki/CosmosQuery"&gt;Technorati Cosmos&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I started with a simple piece of code from &lt;a href="http://weblogtoolscollection.com/archives/2004/02/08/technorati-link-cosmos-using-php/"&gt;Weblog Tools Collection&lt;/a&gt;, 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.&lt;/p&gt;

&lt;p&gt;So here is my &lt;a href="http://micampe.it/files/txp/mic_technorati_cosmos.php"&gt;Texpattern Technorati Cosmos plugin&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The plugin needs some easy configuration, in form of a &lt;a href="http://www.technorati.com/developers/apikey.html"&gt;Technorati Key&lt;/a&gt; and a cache directory wich must be writable by the web server.&lt;/p&gt;

&lt;p&gt;To use it just place the tag &lt;code&gt;&amp;lt;txp:mic_technorati_cosmos /&amp;gt;&lt;/code&gt; in your article form and you&amp;#8217;re mostly done. With the default settings, the generated code will be like this:&lt;/p&gt;

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

&lt;p&gt;The label, the image and the excerpt can be customized and completely removed, please refer to the plugin&amp;#8217;s help for more information. &lt;code&gt;rel="nofollow"&lt;/code&gt; support is an attribute away, too.&lt;/p&gt;

&lt;p&gt;You can see it at work in some of my &lt;a href="http://micampe.it/2005/03/28/textpattern-wysiwyg-editor"&gt;articles&lt;/a&gt; and &lt;a href="http://micampe.it/things/flickrclient"&gt;projects&lt;/a&gt; pages. Enjoy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: New version with better duplicates detection&lt;/p&gt;</description>
      <pubDate>Mon, 11 Apr 2005 06:04:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:564ab76e-f688-4e3a-ac74-74a79dfb2247</guid>
      <author>micampe</author>
      <link>http://blog.micampe.it/articles/2005/04/11/technorati-cosmos-in-textpattern</link>
      <category>English</category>
      <category>textpattern</category>
      <category>technorati</category>
      <category>cosmos</category>
      <category>plugin</category>
      <category>php</category>
      <category>blogging</category>
      <trackback:ping>http://blog.micampe.it/articles/trackback/176</trackback:ping>
    </item>
  </channel>
</rss>
