This post is more a memo to myself ; i lost a weekend to import my billets from Dotclear to WordPress while the entire process might takes 10 minutes ^_^

My config :

  • Dotclear 2 Beta 3 (old) (therefore i dunno if it works with a previous version)
  • WordPress 2.0.5 (new)

In Dotclear :

  • In the admin tool, export your database ; you might obtain a default-backup.txt file.
  • Open the file with Wordpad and check that the file starts by ///DOTCLEAR …..
    If not, delete all characters before ///DOTCLEAR. Then save it.

It is done with Dotclear.

In WordPress :

Once WordPress is installed properly, DO NOT DELETE anything ; keep WordPress brand new (do not ask me how ; i followed a tuto ^_^ ).

  • save flatimport.txt into your local hdd.
  • rename flatimport.txt to flatimport.php then save it in wp-admin/import directory thru a FTP soft (such as CuteFTP, …)
  • take the default-backup.txt file and rename it to blog-backup.txt and save it into /wp-content/uploads directory.
  • in WordPress admin tool, click Import tab >> select Dotclear flat import >> click Import and Wait till the job is done.

You have done it !

For more details, check the author’s page in french.