Moveable Type Camel Case

I love the way you can use templates in the specifications of the archive names in Moveable Type. I've used this feature along with a custom plugin I developed to produce friendly names for all the archived entries. For example, this entry will have an archive file name of moveableTypeCamelCase.html which is a lot nicer than the default 0000321.html.

First of all I added my custom plugin which converts a piece of text to camelCase (first letter lower case, initial letters of all subsequent words upper case). I used Brad Choate's Proper Case Tag as a basis for developing this tag. He also developed the postproc.pm module required by this script that allows you to create your own global post-processing handlers for Moveable Type. The source looks like this:

Permalink: http://blog.iandavis.com/2002/07/moveable-type-camel-case/

Other posts tagged as internet-alchemy, technology

Earlier Posts