Movable Type

  • Dynamic Encoding of Ampersands

    As you know, I recently converted a number of my archives so that they would use dynamic publishing. Today, I continued the push by converting daily archives and also category feeds to dynamic publishing. Thus far, they seem to be working pretty well, and I've been able to…

  • True Smarty Pagination

    While my earlier example illustrated the concept of automating pagination with Smarty in your Movable Type archives, I had a couple of problems with it….

  • Even More fun with Smarty

    One of the things that bothered me about the switch to dynamic archives is that I had to stop using the Compare plugin, since it doesn't support dynamic publishing (or didn't, at any rate). With the use of Smarty, you can very easily reproduce this functionality, and though…

  • Automated Smarty Pagination

    As mentioned previously, using Smarty for pagination isn't difficult. Of course, the simple example already given doesn't really do much – your users would still need to know about it, and manually construct the URL. That wouldn't be much fun. Using Smarty, we can do the work for…

  • Pagination Using Smarty

    As I mentioned yesterday, I'm now using Smarty to provide pagination in my category archives. The code is inserted directly into the template, and (apparently) when it rebuilds the template it parses that code prior to rendering the page. It's actually quite impressive. Thanks again to Brad, not…

  • Dynamic Publishing with Smarty

    I've been trying to get dynamic publishing working today, specifically with the category archives. Well, I think I'm finally there. Thanks to some of Brad's amazing Smarty-fu, a whole lot of testing and a fair number of insults hurled in the way of the server, my category templates…

  • Trying to Block the Bad People

    I've received only a small taste of the trackback spam that has been floating around, yet it's still enough to be annoying, especially since I didn't really have any good way of addressing it. With comments, I can moderate them. I can make sure they have approval. Not…

  • Replacing Data in Comments

    I noticed today that I had a bunch of markup in my comments. I had been wondering why I had all these <p>, </p> and <br /> tags in there. Turns out I had neglected to set the convert_breaks=”0″ attribute when I redid my page. So it stored…

  • Considering the nofollow Attribute

    The world is afire this morning with talk of the announcements by Six Apart and the three major search engines (Google, MSN and Yahoo) to support a new HTML attribute named nofollow (in full, rel="nofollow"). By adding this attribute to your link anchors, the search engines will no…

  • Using nofollow in Movable Type

    Installing the Movable Type "nofollow" plugin from Six Apart will automatically update the built-in tags MTCommentBody, MTCommentAuthorLink and the container tag MTPings. The use of the MTPings container should serve to update any URLs contained within, such as those produced by the MTPingURL tag and surrounding template code….