Movable Type allows you to schedule posts in advanced (for example, I’m writing this post Sunday night but it won’t publish until Tuesday afternoon). However, in order to get the scheduled post to “pop” live at the time you specify, there is script that you run from the server via crontab. It makes since that they won’t magically appear when you static publishing, since the Movable Type program actually creates each web page manually and stores them on the hard drive, content complete.
However, it also supports dynamic publishing, where the pages are created automagically by the program when they are accessed. This allows you to do stupid pet tricks, speeds up things like comment postings, and saves hard disk space on the server. It would make sense that, since the pages are created automatically as they are requested, that it would automatically publish the page that is past it’s scheduled date. But, it doesn’t. A scheduled post for today didn’t appear because when I switched to dynamic, I deleted the cronjob. It’s fixed now, but, it’s still dumb.
Life has been hectic recently, therefore I haven’t had time to update recently. But, I’m upgrading the box to FreeBSD 6.0, and that means I’ve got to ruin my uptime. 
Well, I feel like I have hit the big times. I just deleted 65 trackback spams. I feel like someone noticed. Hooray! (well, really, Thanks to the new anti-spam features in MT 3.2).
I believe that I accomplished a minor feat in the world of Movable Type hacks, and it required no Perl or SQL knowledge at all. I set up Holly’s blog on her site tonight. They’re both hosted on the same box, and use apache’s domain based virtual hosting to keep them independent of each other. However, we are sharing the same MT installation. The problem? In all of her pages, her links to scripts (such as trackbacks and comments) were coming back to recompiled.org instead of to her domain. Why? The CGIPath in the mt.cfg specified recompiled.org as the path. How did I fix it? Read on, my friend (or friends, but, friend is more likely).
Continue reading ‘Movable Type Hack: Multiple domains, one installation’
It’s Sunday, 11:46pm. Holly has been in bed since 8:45. I am still awake because I know that when I go to bed, I will have to get up and go to work tomorrow.
Gotta love burnout…
11:57pm… ran the server logs through an analyzer. It tells you what people searched for on a search engine to find your site. Someone searched for “latinas getting raped” and found my site. I have no clue how this happened, because I don’t remember ever mentioning “latinas” or “raped” in my postings… oh, wait, nevermind. I found it in the Bob Costas entry.
Okay, I’m going to bed now. I promise.