Working on WordPress to b2evolution importer
I've now working on a WP to b2evolution importer feverishly as I haven't been able to find one anywhere on the internet. They say, if you cannot find somebody to do the job, do it yourself
Once that is done, I'll probably switch over to b2evolution and share the code with the community. I'm working with Francois Planque, the b2evolution developer to ensure that everybody benefits from this piece of code.
I've done the categories and posts tables but I have yet to finish the comments and the users table. At this point things look really good. This importer works with WP 2.3 (only) and converts to b2evolution 2.0.1 (alpha).
Should be done in a day or so. In the meantime if anybody is interested in testing it, please drop a comment here and I'll let you have the code when I finish it. Developed in an environment of PHP 5 and Apache 2+ but it should work with PHP 4 as well as I've not used an PHP 5 specific functionality as far as I can see.
8 comments
Necessity is the mother of invention
You know, I haven't upgraded to WordPress 2.3 yet. Maybe I'll do that in the next couple of hours. I hope it doesn't break anything. I have backups, just in case.
I now do a weekly back up of my database tables, as recommended in the Codex, as well as exporting the posts/cats/comments/etc with the built in exporter to its .xml file. I also use the back up facility built into Plesk (I really prefer cPanel, but Plesk's ok). And, if there's any significant change, I also use an FTP program to back up my wp-config directory.
Of course, that didn't stop me from royally screwing up my database with an upgrade to 2.3 from the Alpha build that I was running (no worries, BTW, RT. That was due to the way I had been upgrading and reverting with the nightly builds, etc).
About the "theme structure", b2evolution's reorganized & enhanced skin structure should be complete in a week or two.
RT, upgrade should be fairly easy.
Francois, thanks for the heads up! :grin: