WordPress to b2evolution import script
Filed under: My software by HariPosted at 10:14:28 IST (last updated: 30 Oct 2008 @ 23:00:10 IST)
NOTE: I no longer maintain the original version of this script as both WordPress and b2evolution have changed their database structure since b2evolution 2.0.1-alpha and WordPress 2.3. If anybody wants to maintain this script for current versions of the respective software, please feel free to take the code and incorporate it from b2evolution. Also please post your questions at the b2evolution forums as you are more likely to get active responses from there.
Here's my import script which I used to convert this blog from WordPress 2.3 to b2evolution 2.0.1-alpha. The attached file has instructions on how to convert your blog. I strong recommend that you peruse the README file before using it. This works only with WordPress 2.3 and not versions below it. If you have an older WordPress blog, please upgrade first to 2.3 before importing.
I have enjoyed using b2evolution so far as it's much more configurable than WordPress (in the admin interface) and it's more like a CMS than a blog. However, you can check for yourself. This importer does not touch your existing WordPress installation, so there is no harm in testing it out.
You can ask questions and provide your feedback here! I would appreciate it.
Download link: wp_2_b2evolution.zip (6.6 kB)
37 comment(s)
Leave a comment »Comment by RT Cunningham (visitor) on 4 Oct 2007 @ 10:21:46 IST #
Comment by hari (blog owner) on 4 Oct 2007 @ 12:12:50 IST #
Comment by Walter Cruz (visitor) on 4 Oct 2007 @ 19:44:20 IST #
Comment by hari (blog owner) on 4 Oct 2007 @ 19:51:38 IST #
Thanks again for the script!
Comment by M Ardat (visitor) on 17 Oct 2007 @ 09:28:13 IST #
Comment by hari (blog owner) on 18 Oct 2007 @ 08:22:50 IST #
Comment by M Ardat (visitor) on 18 Oct 2007 @ 11:45:26 IST #
Comment by hari (blog owner) on 19 Oct 2007 @ 07:36:26 IST #
Comment by tapirul (visitor) on 22 Oct 2007 @ 03:05:15 IST #
Comment by hari (blog owner) on 22 Oct 2007 @ 16:47:43 IST #
Comment by tapirul (visitor) on 22 Oct 2007 @ 17:05:50 IST #
Comment by tapirul (visitor) on 22 Oct 2007 @ 22:25:27 IST #
Comment by hari (blog owner) on 23 Oct 2007 @ 10:04:52 IST #
Comment by tapirul (visitor) on 23 Oct 2007 @ 11:34:54 IST #
Comment by hari (blog owner) on 23 Oct 2007 @ 16:15:27 IST #
It worked well with the info on b2evolution forum on how to change to utf-8 (I only had to edit a php file, the database was already converted tu utf-
Comment by tapirul (visitor) on 30 Oct 2007 @ 00:16:44 IST #
Comment by hari (blog owner) on 30 Oct 2007 @ 08:40:07 IST #
There are about 1,100 comments; I wouldn't think it gets timed out, it takes less than other scripts I might run (restoring a database let's say) - it takes about, say, 10 seconds.
Comment by tapirul (visitor) on 30 Oct 2007 @ 22:05:48 IST #
Comment by tapirul (visitor) on 30 Oct 2007 @ 22:48:50 IST #
Comment by hari (blog owner) on 31 Oct 2007 @ 08:23:38 IST #
Thanks again
Comment by tapirul (visitor) on 31 Oct 2007 @ 09:57:39 IST #
Comment by hari (blog owner) on 31 Oct 2007 @ 10:12:45 IST #
(on phpMyAdmin i have this message, though, Your PHP MySQL library version 5.0.32 differs from your MySQL server version 4.1.11. This may cause unpredictable behavior, but I don't have other problems)The data base is already UTF-8The posts were all imported, with the correct characters (after doing the changes suggested here http://forums.b2evolution.net/viewtopic.php?t=10992
Comment by tapirul (visitor) on 31 Oct 2007 @ 12:09:33 IST #
Comment by hari (blog owner) on 31 Oct 2007 @ 14:24:30 IST #
I am running the blogs on my university's server (I am a student, and we have some webspace alloted), so I cannot test it somewhere else.
I'll try again as soon as possible and let you know.
Comment by tapirul (visitor) on 31 Oct 2007 @ 23:24:50 IST #
Comment by ameo (visitor) on 10 May 2008 @ 09:22:40 IST #
Comment by hari (blog owner) on 10 May 2008 @ 10:02:35 IST #
Jim
Comment by BlueJim (visitor) on 30 Jul 2008 @ 22:53:16 IST #
Comment by hari (blog owner) on 31 Jul 2008 @ 22:41:45 IST #
Comment by BlueJim (visitor) on 3 Aug 2008 @ 03:32:55 IST #
Comment by Sue (visitor) on 2 Sep 2008 @ 09:44:21 IST #
Comment by hari (blog owner) on 5 Sep 2008 @ 14:36:02 IST #
Comment by Daethian (visitor) on 6 Sep 2008 @ 22:20:01 IST #
Comment by hari (blog owner) on 7 Sep 2008 @ 15:50:30 IST #
I've been attempting to use your script all evening and I've had absolutely no luck at all.I filled in the correct info for the username and database info and still it error's out.http://foundationsound.co.uk/blog/
this is the blog where I am working.the database error is:WordPress database name is incorrect. Please check the name and try again.I created a database user and the password to be sure of each. so I am not sure why this error is given.I would really like to use your script as I have the intention to move all of my blogs from wp as it causes my blogs and seperated domains to be down alot due to sql timeouts.thank you in advance for your response
Comment by RE Ausetkmt (visitor) on 15 Oct 2008 @ 05:55:18 IST #
I wanted you to also see this error which I've gotten many times.I filled in my password, and instead the word yes appears to have been put in place of my password.help please,
TIA____________________________Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'badgalsr_b2e01'@'localhost' (using password: YES) in /home5/badgalsr/public_html/foundationsound/blog/inc/tools/wpimport.ctrl.php on line 116Error connecting to MySQL. Please check whether the server is running and the host, username and password fields are correct!
Comment by RE Ausetkmt (visitor) on 15 Oct 2008 @ 06:00:52 IST #
Comment by hari (blog owner) on 15 Oct 2008 @ 08:20:32 IST #