Tag Archive for 'Movable Type'

New Capndesign.com

I love Matt Jacob’s just launched redesign. Bright and fresh, with cool jquery charts, archives that mashup photos and posts, and some Typekit.

New Capndesign.com

Screen shot

Congrats, Matt! If only things didn’t look so stale around here.

Al Shaw on Redesigning the Front Page of Talking Points Memo

On Redesigning the Front Page of Talking Points Memo »
Al Shaw talks about some of the design considerations and technical wizardry that went into the face lift of the Liberal-leaning politics blog. Be sure to watch the video demo of the ajaxy front page CMS editor.

Weighted Category Lists

After a few site tweaks earlier in the week allowed me to implement new categories in this weblog, I decided to add weighted category lists, much like Flickr & Technorati.

I modified an example given by hitormiss, which looks like this:

$minfont = 1;
$maxfont = 5;
$fontunit = "";
$catlinks{"<$MTCategoryLabel$>"} = "<$MTCategoryArchiveLink$>";
$counts{"<$MTCategoryLabel$>"} = <$MTCategoryCount$>;

$spread = max($counts) – min($counts); if ($spread <= 0) { $spread = 1; };
$fontspread = $maxfont – $minfont;

$fontstep = $spread / $fontspread; if ($fontstep <= 0) { $fontstep = 1; };
foreach ($counts as $catname => $count)
$catlink = $catlinks{$catname};
print "<a href=\"$catlink\" title=\"$count entries\" class=\"cat".
ROUND(($minfont + ($count/$fontstep)))."\">$catname</a> &nbsp;\n";

[You can also download it in a text file]

Put it in your Moveable Type archive template, and you’re good to go. It will write 5 CSS classes — cat1, cat2, cat3, cat4, cat5… (of course, you’ll have to define those in your stylesheet!)

You can head over to my archives page, to check out the implementation. (Notice that the 5 largest categories are the original 5… i will be classifying old entries in the next couple of days…)

(I apologize if not all the code is viewable here — I suggest you highlight and copy/paste to a text editor, which should work)

The limits of Push-button Publishing

Moveable TypeA while back, Jason Kottke began tweaking his site layout, merging his “remainder” links into the daily thread of his weblog, and creating a different look for “Featured” posts such as movie and book reviews.

When I last redesigned (now more than a year ago), I thought a lot about how to use MT categories, and the importance of drawing a visual distinction between featured posts, and shorter daily posts. It was necessary to weigh certain types of posts as more relevant than others.

This not-so-creative solution was to use a styled post title & a unique icon—for music, movies, books, photos, & special posts—and leave non-featured posts unstyled (albeit bolded). Also, I try to use a small photo for each featured post. By using PHP and some MT template code, I was able to hack something together.

Jason’s method of using 5 weblogs for 5 different kinds of posts seems overly complicated and unwieldy for me, because I have other blogs on our domain. But, there is a point where PHP hacks can defeat the purpose of using “push-button publishing”.

I very much like his idea of embedding these remaindered links in the chronological thread of the weblog—Because these are timely links referencing current events or memes, why not?

I always thought Anil’s method of grouping links under a date would be almost meaningless for my site—as I only post 1 or 2 items per day. My Daily Bookmarks have no reference point—they are merely sorted descending by date. Once again, Jason gets me thinking…