WordPress.org

Support

Support » Plugins and Hacks » sphpblog to wordpress convertor

sphpblog to wordpress convertor

  • Hello,

    Today I migrated from sphpblog to WordPress, and I wrote a small script (it’s a quick-n-dirty script, but it works) to convert the posts and comments from the sphpblog file based system to the WordPress database.

    You can find it here. Have fun with it 🙂

    Jan

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘sphpblog to wordpress convertor’ is closed to new replies.