With the public release of the Technorati API today, I figured I would take a few minutes and start wrapping a plugin around it. Here's what I've got so far.
Download one of these files, unpack it, and place technorati.pl in your plugins/ directory.
The following tags are available:
- MTTechnoratiCosmos: container tag for the Link Cosmos that Technorati generates.
- MTTechnoratiCosmosName: name of the weblog from which the link was generated.
- MTTechnoratiCosmosUrl: url of the weblog.
- MTTechnoratiCosmosRssUrl: url of the rss feed of the weblog.
- MTTechnoratiCosmosExcerpt: excerpt containing the link.
Usage Example:
<MTTechnoratiCosmos>
<a href="<MTTechnoratiCosmosUrl>"><MTTechnoratiCosmosName></a>:
<MTTechnoratiCosmosExcerpt><br />
</MTTechnoratiCosmos>
Minor (but Important) Update:
- You will be required to get your own API key from Technorati . You should be able to do so just by signing up (no cost to you). I have been unable to myself, but I imagine that is mostly due to user error. :) (Nevermind, I found it)
- When you get it, place the key on line 22 of the plugin file, between the single quotation marks.
template_tags=MTTechnoratiCosmos,MTTechnoratiCosmosName,MTTechnoratiCosmosUrl,MTTechnoratiCosmosRssUrl,MTTechnoratiCosmosExcerpt
Maybe I'm missing something extremely obvious, but I can't even get this to show up on my index page. I insert this into the template:
">:
Nothing shows up, even when I view source.
I put the API key in the .pl file as per the above instructions, uploaded to plugins dir, etc.
Any ideas?
oops, my code didn't stick. at any rate, it's the same code as above. any ideas on what I'm doing wrong here?
Hi,
is it possible that the new Technorati application (launched in the end of february) gives different values for the plugin via the API? The line:
">
gives a totally different result nowadays.
Keep up the good work!
Best,
Torsten