« My new Shirt | Main | Miss that vinyl »

Tag Cloud

I recently wanted to add a "tag cloud" to this blog but found that out of the box, it simply listed the tags used, from A-Z without any distinguishing characteristics. So I poked around a little bit, found one with no code and another that wanted to charge me. And then I found some info on SixApart's website. Really, there are only a couple of things that need doing to add a tag cloud on your Moveable Type blog.

<Note! Proceed at your own risk! Your mileage may vary! You may completely mess up your web site if you follow these instructions!>

I'm leaving the instructions somewhat vague with the idea that if you don't know what I'm talking about, you won't attempt it. Seriously, you could mess up your site if you did this wrong and didn't know how to un-do it.

First, find your site's Main Index template. Find where you want your Tag Cloud to go. Open a different window with SixApart's Tag Cloud page. Find the section marked "Displaying a "Tag Cloud"" Copy the code from that page to your template. Save.
Second, find your site's CSS file or files. You may need an editor (emacs, anyone?) to do this. Select the one you want to edit. Find where you want to add your Tag Cloud CSS. From the SixApart page, copy the CSS code from under the "Displaying a "Tag Cloud"" code into your CSS file. Save.

Rebuild (I guess that's step #3) your front page and refresh your browser. You should see a neat little tag cloud wherever you told it to be!

If you wanted to do it differently, you could create a MT Widget and add it to your Widget Set (that's what I did). That way, when I want to mess around with the tag cloud by itself, I can do that. I also added a couple of lines to the CSS to get the effect I was looking for.

TrackBack

TrackBack URL for this entry:
http://mySawdust.com/cgi-bin/mt/mt-tb.cgi/67

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on November 27, 2007 5:25 AM.

The previous post in this blog was My new Shirt.

The next post in this blog is Miss that vinyl.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.