Hi! I tried to use your converter but it didn’t work for me. It seems to get hung right after the initial opening. I set it up just as you suggested, but can’t get it to work at all.
Any help is GREATLY appreciated.
Since the script didn’t work for me, I modified it to actually create the posts and comments. It also transforms the characters to utf-8 (UNICODE) before inserting them in the database. The modified script can be found here. The scrips now also fixes URLs and html braces “[“.
The comment count also needs to be fixed after running the script. This script takes care of that.
I have updated the script above and packaged it with rawlinsons comment count script into a small toolbox which can be found here.
Features:
* Posts and comments migration from sphpblog text files to wordpress database
* Fixes for images, urls and html formatting.
* Conversion to unicode
* Creates “page moved” for old sphpblog permalinks to correct wordpress post
* Comment counts update.
Enjoy, and always backup your wordpress database.