October 28, 2003

Inconsequential MT hacks

Filed under: digital — mhoye @ 6:23 pm

I’m sure everyone already knows this, but if your web-pages are served with healthy dollop of PHP, the absolute first thing you should change once you get into your Movable Type setup is to change your main index output file from “index.html” to “index.php”. I don’t know exactly what this does to Apache, aside from making it smartly parse PHP tags. – I hope that it doesn’t dim the lights in Shaver’s colo or anything, ’cause my ass is about half a stupid question away from an rmluser ejector seat on that front – but throwing a few php-readfile tags in there lets you separate a chunk of your site-admin away from the web interface to the console, and anything that gets me away from web interfaces is OK by me.

The judicious application of PHP-readfile tags and some server-side applications is responsible for that quote rotator at the top of the front page and the bit over to the left. The ongoign rotation of glib superficiality is simple – it’s just a symlink to my sigmonster-rotated .signature file, sensibly encased in a table, partly to preserve freshness and partly because stylesheets ain’t, strictly speaking, everything to which they are referring. The rest of it, being collections of HTML fragments in static files, is even simpler.

Alex has fancified his web page with some sort of weblogging software, though you’ll have to scroll way down to see it. I encourage all of you to head over there and make derogatory comments until it stops looking like a box of mints. Hi, Alex!

Apropos of nothing, follow the bouncing ball:


Jesus, that still works. Christ. Wake me up when we get to the future.


  1. funny webpage
    was curious

    Comment by Elizabeth Katz — October 28, 2003 @ 7:02 pm

  2. Your pioneering work in surrealist children’s-book titles has not gone unappreciated.

    Comment by Mike Hoye — October 28, 2003 @ 8:18 pm

  3. You can also tell MT to put the templates in various files, and then you’d be thinking “hey, I bet there’s a command-line thing that will rebuild from those templates”. Meanwhile, MT is thinking “hahahaha, get your ass back into the web interface where you have to claw and fight to rebuild single entries to test new template stuff”.

    Someday, I will be motivated enough to fix it.

    If your website becomes a major load, you’ll be the first to hear about it, I assure you.

    Comment by Mike Shaver — October 29, 2003 @ 4:07 pm

  4. Much gratitude, as always. Impose on me at any time.

    Comment by Mike Hoye — October 29, 2003 @ 5:13 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress