type = "story"; // the vocabulary name is used to create a new taxonomy within // your new Drupal installation. taxonomies and vocabularies are // fancy terms for Movable Type categories. you can name the vocab // here; you can also change it through Drupal at a later date. $vocabulary['name'] = "Weblog Categories"; $vocabulary['nodes'] = 0; $vocabulary['multiple'] =0; $vocabulary['required']=0; $vocabulary['hierarchy']=0; $vocabulary['relations']=0; // newly imported authors are given no passwords whatsoever - // to generate one for them, you can instruct users to "Request // new password" from the login block. If, on the other hand, // you'd like to set a default password for everyone, do so here. $author['pass'] = ""; // generic settings that probably shouldn't // be changed unless you have a clue bit. $node->promote = 1; $author['status'] = 1; $timezone = "<$MTBlogTimezone$>"; $timezone = preg_replace('!:!', '', $timezone); // let's begin this bad boy, eh? echo "

Movable Type => Drupal Conversion

"; $first_cid = db_num_rows(db_query("SELECT * FROM comments")); // /////////////////////////////////////////////////////////////////////////// // first thing we do is import the categories of Movable Type // // (the "terms") into the Drupal taxonomy ($vocabulary_name). // // /////////////////////////////////////////////////////////////////////////// echo "

Importing Categories

"; // /////////////////////////////////////////////////////////////////////////// // now, let's import the entries. it'd be nice if we could import the // // authors first, but MT has no loopable author equivalent, so instead // // we have to do people when we learn about 'em during entry loop. // // /////////////////////////////////////////////////////////////////////////// echo "

Importing Entries

"; ?>