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

Suffering from chronic idiocy since 1977

|

MTSETUP Alpha Testing

New on the list this week is a lit­tle project I’ve been think­ing about for a while, but never started work on (until this weekend).

When I first dis­cov­ered Mov­able­Type, I mar­veled at its abil­i­ties, at the free­dom it gave to its users. I was then per­plexed at its lack of any kind of auto­mated setup script to assist folks who might not be too com­fort­able with edit­ing even a few lines of a con­fig­u­ra­tion file. The thought crossed my mind to cre­ate on myself, if only to help speed the process of set­ting up mul­ti­ple MT instal­la­tions, but since that wasn’t a process I was actively engaged in at the time, the idea was shelved.

Fast-forward to the present: Web­graph is using MT for quite a few per­sonal and com­mer­cial projects (pay­ing the licenses of course), and we’re doing more instal­la­tions than before — enough to make me revisit my idea.

This week­end, I set about cre­at­ing 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 spe­cific needs, and I believe this sort of util­ity is best made in the pub­lic interests.

Thus, I present to you MTSETUP 0.1a — the ini­tial ver­sion 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 fea­tures and func­tion­al­ity 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 sep­a­rate page for MTSETUP soon, but in the mean­time, a quick descrip­tion of its cur­rent behavior:

MTSETUP 0.1a / PHP Edi­tion
MTSETUP uses a stripped-down ver­sion of the stan­dard mt.cfg file dis­trib­uted with Mov­able­Type, elim­i­nat­ing all the com­ments, and leav­ing only the con­fig­u­ra­tion lines. All comments/instructions are moved to the HTML form. The form ini­tially hides most of the set­tings (via the DOM) and every set­ting that is dis­abled (com­mented out) by default in the stock mt.cfg file has its input field dis­abled by default in the HTML form (this is intended to pre­vent new users from enabling a fea­ture by mis­take). After sub­mit­ting the form, the script writes the con­fig file to a new sub­di­rec­tory, ready to place in the default MT directory.

A few notes of inter­est: I am not a mas­ter PHP devel­oper, so there are many items at this stage which can (and will) be opti­mized (for one thing, I’m sure there are quite a few oppor­tu­ni­ties for using arrays). Also, cur­rently the script only writes a new file, it does not read in exist­ing CFG files (this is planned for a future release). Finally, the script does require that it’s con­tain­ing direc­tory is set to world-writable (chmod 0777) so it can cre­ate the sub­folder and CFG file.

I’m com­pletely open to com­ments and sug­ges­tions, and even PHP tips for those of you who may be so inclined.

“To Infin­ity, and Beyond!”

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

Categories:

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 com­puter at a lab right now ;)

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

    Good idea. I’m sur­prised that no one else has done this already.

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

    i mis­spelled 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 test­ing. 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 every­one who’s signed up for test­ing so far. I’ll have the download/info site ready for you tonight or tomorrow.

    As for noti­fy­ing Ben and Mena: I’m sure they have prob­a­bly heard about it already via the grapevine, but I don’t want to offi­cially con­tact them until MTSETUP reaches beta, at which point I will actu­ally 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 remem­ber 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 user­name and pass­word) on the site of the cre­ator of the script, after which the install pro­ce­dure would detect the perl path and cgi exten­tion, FTP all files to my server and cre­ate the con­fig­u­ra­tion file. Within a minute I had my script con­fig­ured and run­ning, with­out any tech­ni­cal knowl­edge about my server!!!

    You can see this instal­la­tion 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 ver­sion has been released to the test­ing group, so we are offi­cially mov­ing for­ward. Since this is a job in my spare time, the sched­ule may vary for new releases, but it will con­tinue to be improved, with the main goal being a pub­lic beta release in the not-to-distant future.

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

    Jeroen — Wouldn’t some­thing like that be hideously inse­cure? Giv­ing off your pri­vate FTP infor­ma­tion to a site with­out know­ing what kind of dodgy things they might do with it?

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

    melo­dias melo­dias y logos melo­dias para movil melo­dias para celu­lares melo­dias para eric­s­son melo­dias nokia gratis melo­dias moviles gratis melo­dias gratis para nokia melo­dias gratis para moviles melo­dias siemens c45 melo­dias para moviles gratis melo­dias nokia 3310 melo­dias movil gratis melo­dias para celu­lar tonos y melo­dias com­poner melo­dias melo­dias alca­tel 301 nokia melo­dias melo­dias ericc­son melo­dias para siemens c45 melo­dias para alca­tel 311 descar­gar melo­dias melo­dias logos logos y melo­dias para moviles melo­dias para moviles alca­tel melo­dias motorola t191 melo­dias para sam­sung melo­dias celu­lares melo­dias para nokia gratis melo­dias siemens m35 alca­tel melo­dias melo­dias para mobiles melo­dias de nokia melo­dias moviles alca­tel melo­dias moviles nokia siemens melo­dias melo­dias para tele­fonos melo­dias gratis siemens melo­dias para moviles siemens melo­dias para alca­tel 511 melo­dias moviles siemens melo­dias para el alca­tel melo­dias para sony logos y melo­dias para nokia melo­dias para el nokia melo­dias celu­lar logos y melo­dias para siemens melo­dias gratis moviles melo­dias móviles melo­dias para siemens m35 tonos melo­dias melo­dias para com­poner eric­s­son melo­dias melo­dias para motorola t191 melo­dias midi melo­dias gratis motorola melo­dias para movil gratis melo­dias movil nokia descarga de melo­dias melo­dias de celu­lares melo­dias movil siemens melo­dias gratis movil melo­dias gratis para movil melo­dias para ericc­son logos i melo­dias melo­dias moviles gratis melo­dias logos melo­dias gratis melo­dias poli­fon­i­cas alca­tel logos y melo­dias melo­dias tonos melo­dias de moviles gratis logos y melo­dias siemens melo­dias para moviles motorola movil melo­dias melo­dias com melo­dias para moviles eric­s­son melo­dias para pana­sonic melo­dias polifónicas melo­dias para nokia 3330 melo­dias para celu­lares nokia melo­dias moviles motorola melo­dias gra­tu­itas para moviles edi­tor de melo­dias melo­dias poli­fon­i­cas nokia melo­dias v50 melo­dias motorola t 191 melo­dias siemens c 45 melo­dias y logos para nokia melo­dias para mobil melo­dias alca­tel one touch www melo­dias melo­dias y logos para siemens melo­dias para siemens c35 melo­dias para el com­pos­i­tor melo­dias gratis para celu­lares tonos y melo­dias gratis melo­dias para el movil gratis melo­dias para siemens c 45 alca­tel 311 melo­dias melo­dias nokia 8210 melo­dias nuevas melo­dias para movil alca­tel melo­dias siemens c55 melo­dias siemens c25 melo­dias gratis para nokia 3310 bus­car melo­dias melo­dias a moviles gratis melo­dias de celu­lar logos y melo­dias para movil par­ti­turas de melo­dias melo­dias para alca­tel gratis logos melo­dias nokia melo­dias techno melo­dias y logos nokia nuevas melo­dias sam­sung melo­dias melo­dias nokia 7650 melo­dias para todos los moviles melo­dias móvil edi­tor melo­dias melo­dias gratis a moviles melo­dias t191 logos y melo­dias gratis para nokia melo­dias gratis alca­tel 311 com­pos­i­tor de melo­dias para moviles melo­dias eric­s­son t10 melo­dias para moviles gra­tu­itas melo­dias para siemens a50 melo­dias siemens s55 logos melo­dias siemens melo­dias para movil nokia melo­dias para el nokia 3310 logos y melo­dias para siemens c45 down­load melo­dias melo­dias gratis nokia 3310 melo­dias t68i com­poner melo­dias alca­tel descar­gar melo­dias gratis par­ti­turas melo­dias melo­dias para tu movil melo­dias para sony­er­ic­s­son melo­dias para los moviles melo­dias para el siemens c45 melo­dias para moviles sam­sung logos y melo­dias gra­tu­itas com­pos­i­tor de melo­dias nokia melo­dias man­uales 3310 melo­dias logos y melo­dias gratis para moviles melo­dias logos gratis melo­dias gratis alca­tel 511 melo­dias com­pues­tas melo­dias siemens c35i melo­dias moviles sam­sung melo­dias poli­fon­i­cas para alca­tel melo­dias eric­s­son t20 melo­dias m35 melo­dias para alca­tel 525 melo­dias 511 melo­dias para siemens s45 com­pos­i­tor melo­dias moviles melo­dias 2442 com­posi­cion melo­dias envio melo­dias t191 melo­dias melo­dias para siemens c25 logos y melo­dias movil melo­dias sony ericc­son melo­dias para el alca­tel 511 melo­dias sam­sung r210 melo­dias gratis para el nokia tonos y melo­dias para moviles melo­dias para siemens m 35 mis melo­dias melo­dias poli­fon­i­cas para motorola melo­dias para el alca­tel 301 melo­dias y logos alca­tel melo­dias para eric­s­son t28 melo­dias i logos melo­dias motorola c330 melo­dias para celu­lar gratis melo­dias para el mobil melo­dias mid melo­dias poli­fon­i­cas para siemens descar­gas melo­dias logos melo­dias moviles melo­dias gratis para celu­lar melo­dias manga melo­dias siem­mens melo­dias para enviar melo­dias para sony eric­s­son t200 com­poner melo­dias para moviles motorola t191 melo­dias melo­dias motorola v66 logos melo­dias alca­tel notas melo­dias bajarse melo­dias melo­dias para c45

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

    Does any­one have recipe of this soup?