About this site's lack of design: Yes, it's supposed to look this way — I'm helping create a new sandbox theme for WordPress (see it on GitHub).

Dan Rubin's SuperfluousBanter

Design, random musings, and the Web. Since 1977


MTSETUP Alpha Testing

New on the list this week is a little project I’ve been thinking about for a while, but never started work on (until this weekend).

When I first discovered MovableType, I marveled at its abilities, at the freedom it gave to its users. I was then perplexed at its lack of any kind of automated setup script to assist folks who might not be too comfortable with editing even a few lines of a configuration file. The thought crossed my mind to create on myself, if only to help speed the process of setting up multiple MT installations, but since that wasn’t a process I was actively engaged in at the time, the idea was shelved.

Fast-forward to the present: Webgraph is using MT for quite a few personal and commercial projects (paying the licenses of course), and we’re doing more installations than before — enough to make me revisit my idea.

This weekend, I set about creating a basic script that would take input from an HTML form, and write out a basic mt.cfg file. It is in very early alpha stage, but I believe it is ready for some brave alpha testers, since my input alone will result in a project which serves only our specific needs, and I believe this sort of utility is best made in the public interests.

Thus, I present to you MTSETUP 0.1a — the initial version has been built in PHP (since we use it on all our servers), though I intend to port it to Perl and ASP once the features and functionality have been decided upon.

If you would like to add your name to the list of alpha and (future) beta testers, please send me an email and I’ll get you started.

I’ll set up a separate page for MTSETUP soon, but in the meantime, a quick description of its current behavior:

MTSETUP 0.1a / PHP Edition
MTSETUP uses a stripped-down version of the standard mt.cfg file distributed with MovableType, eliminating all the comments, and leaving only the configuration lines. All comments/instructions are moved to the HTML form. The form initially hides most of the settings (via the DOM) and every setting that is disabled (commented out) by default in the stock mt.cfg file has its input field disabled by default in the HTML form (this is intended to prevent new users from enabling a feature by mistake). After submitting the form, the script writes the config file to a new subdirectory, ready to place in the default MT directory.

A few notes of interest: I am not a master PHP developer, so there are many items at this stage which can (and will) be optimized (for one thing, I’m sure there are quite a few opportunities for using arrays). Also, currently the script only writes a new file, it does not read in existing CFG files (this is planned for a future release). Finally, the script does require that it’s containing directory is set to world-writable (chmod 0777) so it can create the subfolder and CFG file.

I’m completely open to comments and suggestions, and even PHP tips for those of you who may be so inclined.

“To Infinity, and Beyond!”

This item was posted by Dan Rubin on Monday, September 15th, 2003.


You can follow comments on this item via the RSS 2.0 feed.

Comments are closed.

13 comments on “MTSETUP Alpha Testing”

  1. Posted by Mike on Monday, September 15th, 2003.

    That sounds like a great idea Dan, can’t wait for it to be fully operational!

    I’m not sure when the next time I’ll be installing MT will be, but count me in as an MTSETUP tester.

    Sorry I couldn’t email you, I’m on a computer at a lab right now ;)

  2. Posted by Brye on Monday, September 15th, 2003.

    Good idea. I’m surprised that no one else has done this already.

  3. Posted by Bryce on Monday, September 15th, 2003.

    i misspelled my own name above. it’s Bryce.

  4. Posted by nate on Tuesday, September 16th, 2003.

    Same here, i think it is a great idea… I wish it was around when I started to use MT. I emailed you about being a tester.

    and BTW, nice site!

  5. Posted by Mike Steinbaugh on Wednesday, September 17th, 2003.

    Ah yes, a very good idea indeed. I signed up for beta testing. Let’s get the ball rolling. Did you e-mail Ben and Mena about this? I bet they’d be interested.

  6. Posted by Scrivs on Friday, September 19th, 2003.

    I am still amazed no one has done this before.

  7. Posted by Dan on Friday, September 19th, 2003.

    Thanks to everyone who’s signed up for testing so far. I’ll have the download/info site ready for you tonight or tomorrow.

    As for notifying Ben and Mena: I’m sure they have probably heard about it already via the grapevine, but I don’t want to officially contact them until MTSETUP reaches beta, at which point I will actually be able to show them how it works, rather than how I expect it to work :-)

  8. Posted by Jeroen on Tuesday, September 23rd, 2003.

    I remember once installing a search script, which made me wish all scripts could be installed like that.

    I only had to fill in a small form (site URL, FTP username and password) on the site of the creator of the script, after which the install procedure would detect the perl path and cgi extention, FTP all files to my server and create the configuration file. Within a minute I had my script configured and running, without any technical knowledge about my server!!!

    You can see this installation in action at http://install.xav.com/. Maybe you can have a look to get some inspiration?

  9. Posted by Jacob Patton on Wednesday, September 24th, 2003.

    I’d like to test out your script, too!

  10. Posted by Dan on Wednesday, September 24th, 2003.

    Quick Update: The first alpha version has been released to the testing group, so we are officially moving forward. Since this is a job in my spare time, the schedule may vary for new releases, but it will continue to be improved, with the main goal being a public beta release in the not-to-distant future.

  11. Posted by Rahul on Monday, September 29th, 2003.

    Jeroen – Wouldn’t something like that be hideously insecure? Giving off your private FTP information to a site without knowing what kind of dodgy things they might do with it?

  12. Posted by hello on Thursday, September 30th, 2004.

    melodias melodias y logos melodias para movil melodias para celulares melodias para ericsson melodias nokia gratis melodias moviles gratis melodias gratis para nokia melodias gratis para moviles melodias siemens c45 melodias para moviles gratis melodias nokia 3310 melodias movil gratis melodias para celular tonos y melodias componer melodias melodias alcatel 301 nokia melodias melodias ericcson melodias para siemens c45 melodias para alcatel 311 descargar melodias melodias logos logos y melodias para moviles melodias para moviles alcatel melodias motorola t191 melodias para samsung melodias celulares melodias para nokia gratis melodias siemens m35 alcatel melodias melodias para mobiles melodias de nokia melodias moviles alcatel melodias moviles nokia siemens melodias melodias para telefonos melodias gratis siemens melodias para moviles siemens melodias para alcatel 511 melodias moviles siemens melodias para el alcatel melodias para sony logos y melodias para nokia melodias para el nokia melodias celular logos y melodias para siemens melodias gratis moviles melodias móviles melodias para siemens m35 tonos melodias melodias para componer ericsson melodias melodias para motorola t191 melodias midi melodias gratis motorola melodias para movil gratis melodias movil nokia descarga de melodias melodias de celulares melodias movil siemens melodias gratis movil melodias gratis para movil melodias para ericcson logos i melodias melodias moviles gratis melodias logos melodias gratis melodias polifonicas alcatel logos y melodias melodias tonos melodias de moviles gratis logos y melodias siemens melodias para moviles motorola movil melodias melodias com melodias para moviles ericsson melodias para panasonic melodias polifónicas melodias para nokia 3330 melodias para celulares nokia melodias moviles motorola melodias gratuitas para moviles editor de melodias melodias polifonicas nokia melodias v50 melodias motorola t 191 melodias siemens c 45 melodias y logos para nokia melodias para mobil melodias alcatel one touch www melodias melodias y logos para siemens melodias para siemens c35 melodias para el compositor melodias gratis para celulares tonos y melodias gratis melodias para el movil gratis melodias para siemens c 45 alcatel 311 melodias melodias nokia 8210 melodias nuevas melodias para movil alcatel melodias siemens c55 melodias siemens c25 melodias gratis para nokia 3310 buscar melodias melodias a moviles gratis melodias de celular logos y melodias para movil partituras de melodias melodias para alcatel gratis logos melodias nokia melodias techno melodias y logos nokia nuevas melodias samsung melodias melodias nokia 7650 melodias para todos los moviles melodias móvil editor melodias melodias gratis a moviles melodias t191 logos y melodias gratis para nokia melodias gratis alcatel 311 compositor de melodias para moviles melodias ericsson t10 melodias para moviles gratuitas melodias para siemens a50 melodias siemens s55 logos melodias siemens melodias para movil nokia melodias para el nokia 3310 logos y melodias para siemens c45 download melodias melodias gratis nokia 3310 melodias t68i componer melodias alcatel descargar melodias gratis partituras melodias melodias para tu movil melodias para sonyericsson melodias para los moviles melodias para el siemens c45 melodias para moviles samsung logos y melodias gratuitas compositor de melodias nokia melodias manuales 3310 melodias logos y melodias gratis para moviles melodias logos gratis melodias gratis alcatel 511 melodias compuestas melodias siemens c35i melodias moviles samsung melodias polifonicas para alcatel melodias ericsson t20 melodias m35 melodias para alcatel 525 melodias 511 melodias para siemens s45 compositor melodias moviles melodias 2442 composicion melodias envio melodias t191 melodias melodias para siemens c25 logos y melodias movil melodias sony ericcson melodias para el alcatel 511 melodias samsung r210 melodias gratis para el nokia tonos y melodias para moviles melodias para siemens m 35 mis melodias melodias polifonicas para motorola melodias para el alcatel 301 melodias y logos alcatel melodias para ericsson t28 melodias i logos melodias motorola c330 melodias para celular gratis melodias para el mobil melodias mid melodias polifonicas para siemens descargas melodias logos melodias moviles melodias gratis para celular melodias manga melodias siemmens melodias para enviar melodias para sony ericsson t200 componer melodias para moviles motorola t191 melodias melodias motorola v66 logos melodias alcatel notas melodias bajarse melodias melodias para c45

  13. Posted by Julie Ferret on Monday, October 4th, 2004.

    Does anyone have recipe of this soup?