« The Browser Wars Reignite | Main | FeedDemon supports ecto »

RFC: How can I auto-disable TypePad comments?

I'd like to change the "Individual Archive" template for my TypePad-hosted blogs so that comments can only be posted within seven days of an entry's creation. Basically, something like this for each entry:

<MTEntryIfCommentsOpen>
 if within 7 days
   show comment form
 else
   show "Sorry, comments can no longer be posted."
</MTEntryIfCommentsOpen>

Does anyone know if this is possible, and if so, how it's done?

Comments

Hey Nick, Try this:

Here">http://www.rayners.org/2003/12/27/closing_comments_on_old_entries.php">Here

Thanks for the tip, Matt. Unfortunately, this is for MT itself rather than TypePad (which I don't believe allows Perl code).

The comments to this entry are closed.