Posting here has still been light as I've been working under the hood to get everything just the way I likes it. One of the things I've been working to get fixed is the Tags, discussed at length in this previous post. Upgrading to MT4.2 meant that I no longer had to hack keywords to act like tags since it comes with native tag support. (For anyone following along, I used the Keywords as Tags plugin to convert all my old keywords into the new tags.)
But under the old system, I could easily produce a list of tags for the most recent entries as a "What We're Talking About Lately" feature. MT's tag function, though, will only produce a "most used tags" cloud. The Tags.App plugin has this functionality -- but the out-of-the-box tag cloud it creates is difficult to style. (I could set a minimum font size, but not a maximum, resulting in GIANT TAGS THAT ATE MY BLOG.) So I waded into the variable functions of MT, in order to set the size correctly for the sidebar. Here's the recipe:
<MTTags latest="20">
<MTSetVarBlock name="addsize"><MTTagCount></MTSetVarBlock>
<MTSetVar name="tagsize" value="7">
<a rel="tag" href="<MTTagLink>" style="font-size:<MTGetVar name="tagsize" op="add" value="$addsize">pt; text-decoration:none;"><MTTagName></a>
</MTTags>
Incidentally, I'm finding that MT's documentation of their latest version isn't that great -- and worse, the community doesn't seem to be as active as it once was. Lots of forum searches turned up questions with no answers.
More to come: fixing the tag results page, category-specific tag pages, and the uber-tag cloud.
| Tags
LOTS of migrations to WordPress and similar while 6A was trying to monetize their product a little too much. That is all.
Comment #1 :: link :: December 6, 2008 4:12 PM