I didn't like the way that MT-SomeDays used different code to do the what was essentially the same task for different loops, but I couldn't figure out how to get the functions in a subroutine. Well, I finally figured it out. Once this was done, it became really easy to add some new functionality to the plugin. So that's just what I did.
Okay, so I'm a moron. While it was an entertaining exercise, yesterday's bit about using PHP to block IP addresses probably wasn't completely necessary. Yes, that's right - Movable Type has IP banning built right in. So I just add the IP address to the list, and the only functionality that changes is that the user cannot leave a comment, nor can they send a trackback. Geez...
Three times in the last week I received comment spam. If you happened across it while reading one of my entries, I apologize for not getting to it quickly enough. All traces of those comments should be gone, but if you notice more, please let me know about it. Ads for penis enlargement simply aren't wanted here.
When I actually went to implement MT-SomeDays, I found some problems.
First was a non-numeric message when using the <$MTSDWorkDate$> tag when used in conjunction with the format option. It would actually work correctly, so long as your format pattern did not include hours minutes or seconds, but it would return messages.
I had looked around for a way to create a calendar in my blog that worked like the <MTCalendar> container, but for a week instead of a month. There are all sorts of plugins out there that come close.
Brad Choate has a plugin called onthisday, that allows you to show entries from the same day and different years. Kevin Shay offers DateTags, that probably does everything I want, but looked too complex to me.
Even Movable Type has the days="7" function that comes close - but it includes only entries, and not the days without. So I wrote my own.
Not long ago, I updated the format for the names of links. This wasn't terribly complex, but it does raise the question of how to deal with all those "old" pages. For instance, I see an increasing number of people hitting my page on The Angler Fish (now on the first page of results at Google!). Unfortunately, they are using the old URL to access it.
Now that you've designed your blog, should you syndicate it? Syndication, while it sounds somewhat intimidating, really means nothing more than making your site available in a slightly different format so that it can be processed and read more efficiently. In the most basic sense, a web page itself is, in fact, syndication - you are providing data, and that data is wrapped in a formatting language (HTML/XHTML) that tells a browser how to display the data.
As I was finishing up the initial release of the blog, I decided that I wanted to do something different with the "add a comment" function. While it was clear enough that you selected the "no" button to keep from saving your personal information, the information was removed just by the clicking of that button!