MovableBlog: Archives: June 2002

A weblog about the Movable Type Publishing Platform and other geekery

June 30th, 2002

MeFi Sidebar »

Didn't notice it before, but the sidebar for MetaFilter is powered by MT. I probably didn't notice it because I assumed that it was powered by the same proprietary blogging system programmed by MeFi's numero uno Matt Haughey.

Posted by Richard at 06:42 PM | Category: MT | Comments (0)

MT 2.21 »

MT 2.21 released

Important update for those who use MySQL as their backend (I use it for one installation of MT, and would like to for this one, but there's a snag related to a comment having a NULL value). Also, bug fixes.

Posted by Richard at 04:02 PM | Category: MT | Comments (0)

June 28th, 2002

Word Count in MT »

Word count plugin for Movable Type

First Perl plug-in I've seen for MT and it's a neat one. Creates a <MTWordCount> tag to give you the number of words in your entry.

I look forward to seeing more plugins for MT.

Posted by Richard at 01:44 AM | Category: MT | Comments (0)

June 26th, 2002

Collapsable Comments and Extended Entry »

Spurred by my idea (and subsequent failure to code a demo of it), the goddesses over at scriptygoddess have come up with a DHTML way of expanding and collapsing inline comments and extended entries.
Be sure to read the comments too.

I have contributed a crude example of the way I was going to do it (comments only). Revel in its unformatted glory.

Posted by Richard at 11:38 PM | Category: MT | Comments (1)

MT 2.2 Released »

Movable Type 2.2 Released!

New features: MySQL database support (don't worry if you don't have it or don't want to use it, you can still use the old file-based database system) and Trackback.

The most useful feature is MySQL support, since PHP has a MySQL interface, this means you can easily create dynamic content from the blog data without even relying on MT tags or any of the MT CGI scripts. The most interesting (and possibly revolutionary) feature, however, is Trackback, which enables a sort of conversation between MT-powered weblogs. While I believe there will be snags related to the conversion of MySQL will be difficult, the concept of Trackback will be the most difficult to explain (the logic of using it with bookmarklets is a little confusing for myself).

Also, the MT website has changed look to celebrate the new release.

Posted by Richard at 10:34 PM | Category: MT | Comments (0)

June 23rd, 2002

Add tags to MTGoogleSearch »

Sifry's Alerts: More Google API hacks for Movable Type

Adds a 'title=' and 'excerpt=' attributes to the <MTGoogleSearch> tags.

[via Google Weblog]

Posted by Richard at 11:13 PM | Category: MT | Comments (0)

June 19th, 2002

no_generate attribute »

Ben reveals another undocumented feature: no_generate attribute for <MTEntryExcerpt$>.

This is useful for when you want to have an excerpt of your choosing but, when you don't write one in yourself, nothing shows up. Or, you could test to see if there is an excerpt using PHP, and print a message like "No Excerpt." if there's no excerpt.

<MTEntries lastn="1">
<?php

$excerpt = "<$MTEntryExcerpt no_generate="1"$>";
if ($excerpt)
{
print $excerpt;
}
else
{
print "No Excerpt.";
}

?>
</MTEntries>

Posted by Richard at 01:39 AM | Category: MT | Comments (0)

June 15th, 2002

MySQL Support Coming Soon »

Oh great: only at the end of the one day I where I actually spent the vast majority of it away from my computer do I find out that I could have been a beta tester for MT 2.2. Oh well, I had non-computer-related stuff planned for this weekend anyway.

Anyway, according to Ben's non-subtle hint, version 2.2 will support MySQL databases.

Posted by Richard at 12:16 AM | Category: MT | Comments (0)

June 7th, 2002

A Better Way To Display Extended Entries »

Aarondot.com: A Better Way To Display Extended Entries

Nice little Javascript workaround to 'toggle' Extended Entries. I would have used less clever variable names, but still, a fun way to display the rest of your longer posts.

Posted by Richard at 12:06 AM | Category: MT | Comments (3)

June 4th, 2002

Neat decoder »

Not specific to MT, but courtesy of scriptygoddess, you can add a Javascript bookmarklet to easily convert < and > to their HTML equivalents, &lt; and &gt;. Neat!

Posted by Richard at 02:58 PM | Category: MT | Comments (0)

June 2nd, 2002

Kottke Moves to MT »

BTBer (big-time-blogger) Jason Kottke switches from hand-coding to MT. Useful for many (although possibly too nerdy for most) is Kottke's use of the RedirectMatch directive in Apache after changing the URL format of his weblog. Makes for much less 404 errors client-side. It seems to work fairly well: this URL [old] redirects to this URL [new]. It goes to the appropriate monthly archive, although not to the actual post in question (re: "Attack of the Clowns").

I could be wrong, but this might be solved by inserting the following code in between his <MTDateHeader> MT tags for his monthly archive template:

<a name="<$MTEntryDate format="%y%m%d"$>" id="name="<$MTEntryDate format="%y%m%d">"$></a>

Anyway, another convert. The revolution continues.

Posted by Richard at 01:30 PM | Category: MT | Comments (1)