Blog Update
I have decided to change my blog from DotClear to WordPress.
The change should be very smooth, but please tell me if you notice anything wrong.
I’ll update the design later. [Note: I have updated the design, but it's not finalized yet.]
I have also added a new poll on the sidebar to know where you live. Yes I’m curious =)
Notes on migrating from DotClear to WordPress
Importing posts and comments
WordPress can import DotClear posts. I didn’t manage to import posts with french characters correctly because of some encoding hell.
The DotClear importer didn’t like to have that much posts to import, and complained something like :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 327859 bytes) in …
The only solution I found is to import posts little by little.
There is certainly a much better way to handle this, especially if you’re a SQL export, but I’m not, so here’s the hard way :
- Backup the dotclear database
- Delete the posts you don’t want to import
- Important if you want to keep your comments : also delete the comments that go with the posts you deleted
- Use the WordPress importer.
- Reload the entire dotclear database
- Delete some other posts
- Repeat …
Keeping dotclear permalinks and rss/atom feeds
My dotclear permalinks used the postId in the url, so I have to get rid of it to match the wordpress format.
Dotclear :
http://cb.nowan.net/blog/index.php/2006/12/16/280-my-wii-and-the-child-in-all-of-us
WordPress :
http://cb.nowan.net/wblog/2006/12/16/my-wii-and-the-child-in-all-of-us/
If you want that the permalinks generated by dotclear be still valid, you have to use the mod_rewrite option of your apache server.
Same goes for rss/atom posts and comments feeds.
Check my .htaccess file.
14:05
Loading...

Tada! Rainy WE in Paris to do blog migration?
Comment by SuperSaC — Sunday, 17 December 2006 @ 17:39
Hum,
The RSS is still working with the old link but it’s not updated…
Hopefully, I went in this blog without looking the old RSS.
Comment by Alex — Thursday, 28 December 2006 @ 17:57
I’ve heard about this problem.. are you using GoogleReader ? it seems to cache the rss..
You can use the new feed url :
http://cb.nowan.net/blog/rss.xml
http://cb.nowan.net/blog/comments_rss.xml
http://cb.nowan.net/blog/atom.xml
http://cb.nowan.net/blog/comments_atom.xml
Comment by cb — Thursday, 28 December 2006 @ 18:11
Yes me too, the blog feed was not updated anymore… had to delete and recreate it in google reader
(I’m not sure other people will notice it)
The comments feeds don’t have titles and no comments in google reader ?!
I see the comments when accessing it directly ?!
Comment by cogito — Wednesday, 10 January 2007 @ 11:24