Skip to the Main Content

Note:These pages make extensive use of the latest XHTML and CSS Standards. They ought to look great in any standards-compliant modern browser. Unfortunately, they will probably look horrible in older browsers, like Netscape 4.x and IE 4.x. Moreover, many posts use MathML, which is, currently only supported in Mozilla. My best suggestion (and you will thank me when surfing an ever-increasing number of sites on the web which have been crafted to use the new standards) is to upgrade to the latest version of your browser. If that's not possible, consider moving to the Standards-compliant and open-source Mozilla browser.

August 17, 2003

Technorati Plugin Patch

Adam Kalsey’s Technorati 1.0 plugin is out. It fixes many of the bugs I’d previously complained about. Unfortunately, it still needs the following patch

--- MTPlugins/Technorati.pm.orig	Mon Aug 11 17:10:46 2003
+++ MTPlugins/Technorati.pm	Mon Aug 11 17:12:07 2003
@@ -100,7 +100,7 @@
             warn('<b>The Technorati service didn\'t answer. It might be down.</b>');
             return '';
         }
-        eval { $content_tree = XMLin(@{$content}[1]) };
+        eval { $content_tree = XMLin(@{$content}[1], SuppressEmpty => undef) };
         return $ctx->error("Error reading XML content: $@.")
             if ($@);
         next unless (!$@ and ref $content_tree and $content_tree->{document}->{item});

to work correctly. I had sent this to Adam, along with my other patches. But I guess it never made it into 1.0; so here it is again.

Posted by distler at August 17, 2003 9:07 AM

TrackBack URL for this Entry:   http://golem.ph.utexas.edu/cgi-bin/MT-3.0/dxy-tb.fcgi/202

2 Comments & 0 Trackbacks

Re: Technorati Plugin Patch

It fixes may

Shouldn’t that be:

It fixes many. That’s all I can say on your weblog, for the rest, especially the math, it’s way too advanced.

Posted by: Anne van Kesteren on August 17, 2003 2:23 PM | Permalink | Reply to this

Re: Technorati Plugin Patch

Thanks, Anne. I may be able to reliably produce syntactically-correct XHTML. But syntactically-correct English? That’s another matter …

Posted by: Jacques Distler on August 17, 2003 2:30 PM | Permalink | Reply to this

Post a New Comment