:How to import your Dotclear database in WordPress:
Computer November 21st, 2006This 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.




2006-11-29 at 5.44 pm
May be you can export more things if you use the export “all the content” function for dotclear 2 which create directly the blog-backup.txt file ; not the export blog function.
The last version of flatimport.php (version du 27 nov 2006 16.00) export posts, comments, tags, categories ; links, categories ; users.
Thanks for your info, seems a more detailed tutorial is needed.
A brand new WordPress is not really needed but it will help if something goes wrong, like orphans posts, comments …
2006-12-20 at 2.38 am
merci pour le complement d’info.
2007-04-30 at 3.03 am
Wanted to compliment on your site, it looks really good .
Hank
2007-09-08 at 11.47 pm
This is my first post
just saying HI
2009-10-04 at 2.05 pm
Thanks for this post. It really helped me! Cheers.