On iMT and a Lightweight MT Interface for the Desktop
This is a bit of a thought piece I've been meaning to write up for some time, that brings together two different seemingly different events -- that is until Anil Dash posed an interesting idea.
Back in September, not long after MT4 and the iPhone shipped, Six Apart announced the release of iMT, a plugin specially designed user interface for Movable Type 4.0 users to access their installation via their iPhone or iPod Touch.
About the same time, over on the ProNet mailing list, a somewhat heated discussion of the merits and demerits (mostly the demerits) regarding the new interface unveiled in MT4. The complaints where varied and at times conflicting (go figure), but for the most part I categorize them as the new interface being:
- Too heavy -- the MT4 uses is too much CSS and JavaScript files.
- Too busy -- the MT4 interface is too colorful, hard on the eyes, over done, gradients suck, icons not clear etc. etc.
There is a lot of good in the new interface, but there is some credence to the gripes that were aired. I admit to contributing some of them.
Long into the conversation, Anil Dash asked if anyone had tried using iMT as a basic lightweight interface for everyday authors.
An interesting thought! I had not tried and though my wife owns an iPod Touch chances are I'd have to peel it from her dead fingers to use it. (I jest, but you get the idea.)
Things is if you try to use iMT from your desktop browser -- well you can't. Not without some hacking. While an intriguing idea with some potential, in practice it's tricky and requires some hacking to even try. For most developers this is a non-starter unless they have developer skills.
While I have the kills, I just haven't gotten around to even skimming over it until recently. The rest of this post is a summary of my observations and notes during this experiment.
The biggest problem in testing iMT 1.0 without an iPod Touch or iPhone it that iMT loads itself into MT itself, rather then as a separate script, and filters requests based on the browser user agent being MobileSafari. Install iMT and point FireFox or IE or even Safari at MT and nothing happens. Everything is the same. You need to hack the code a bit to remove the browser detection code that override the rich "fat client" interface.
The hack is pretty simple really as long as you are bit careful. You comment out (add the # symbol to the start of the line) of three lines in the init_request method of mt/plugins/iMT/iMT.pl as follows:
# if ((( $ua =~ m!AppleWebKit/! ) && ( $ua =~ m!Mobile/! )) ||
# ( $ua =~ m!Opera Mini/!)) {
$enabled = 1;
# Redirect 'dashboard' or 'default' modes to iphone_main
$app->mode('iphone_main')
if ($app->mode eq 'default') || ($app->mode eq 'dashboard');
$app->config('AltTemplatePath', $plugin->path . '/tmpl');
# }
IMPORTANT NOTE: Doing this will temporarily mess-up the standard MT interface for ALL users. You'll want to try this out on a sandbox -- preferably one that you are only going to use.
With that you can run the stripped down mobile browser interface. While I was able to mostly see and work with the interface using any browser you really should try and stick to Safari. (Why in a bit.)
With that in place, I gave using iMT a try. I worked though I wouldn't recommend using it for everyday use in its current state. What follows are my observations and notes.
Running in the average size desktop browser window the proportion is all off. It would be comical if it didn't look so off. Creating bookmarklet to launch the iMT interface in a pop-up size window like MT uses for publishing would help.
Safari only. Some buttons such as the entry delete button vanishes in Firefox 2. Didn't look too good in Safari 2. Fields don't have border either.
iMT can't handle assets aka uploading a file. Not sure this is a big deal (agreed?), but its work noting.
The rest of MT gets "hosed." As mentioned earlier, with the browser detection code removed all other screens will appear broken to ALL users. iMT replaces the MT system styles. Since iMT uses mostly different CSS identifiers leaving the standard interface mostly unstyled and unusable. Personally I would have designed iMT as a separate script so the Apple mobile device interface had a separate URL from the desktop browser interface. Browser detecting is "too cute" for my tastes and creates the potential break overtime, besides a companies like Google and Yahoo have established the convention of using a different URL to access the mobile interface to their apps.
While numerous questions remain and there are many issues to sort out for the iMT plugin to be used as a lightweight/basic interface to MT, there clearly in potential. The interface actually makes its look further off then it is.
Looking at the code and considering what in my experience such an interface would need, iMT wouldn't be a wouldn't be a radical departure. I'm not sure if the needs of both uses (Apple Mobile and MT simple interface) can be and should be addressed in one plugin though I hesitate to suggest a fork wither.
Is there a demand for a lightweight MT browser interface for basics that only addresses the most common everyday function of weblog author? What is missing from the iMT functionality? Is anything not needed?
Leave your thoughts in the comments.

6 Comments