Forums

importing from b2evolution (23 posts)

  1. perler
    Member
    Posted 1 year ago #

    hi,

    i want to switch from a b2evolution, is there really no working import script? all scripts are either for an older version of b2evo or an older version of wp - has no one a current import script?

    PAT

  2. samboll
    moderator
    Posted 1 year ago #

  3. perler
    Member
    Posted 1 year ago #

    thanks, but to link one, "This script has currently not been updated since September 2006 and is incompatible with the current (v1.9) b2evolution database structure." is the problem.

    the rss import feature is not really an option because all categories would be missing..

    PAT

  4. perler
    Member
    Posted 1 year ago #

    ok, b2evolution import works to 90% this way:

    1. download this skin:

      http://patsplanet.com/static/wordpress/b2evo_import/extract_into_b2evo_installation.zip

    2. extract into the root of you existing b2evo installation
    3. change this setting in b2evo: http://patsplanet.com/static/wordpress/b2evo_import/b2evo_import.png
    4. goto http://yourblog.com/index.php?blog=YOURBLOGNUMBER&tempskin=wpimport (EXAMPLE: http://falschgold.net/index.php?blog=13&tempskin=wpimport)
    5. save the source of this page (firefox: ctrl+u)
    6. import as rss into wordpress

    remarks:

    • i checked with b2evo 10.0.2 and wp 2.6
    • the skin is basically the same skin as the rss2 skin of b2evo. it's necessarry to replace around line 67 all instances of

      <category domain="XXXX"> to <category> or the wp import failes

    • imported articles are not assigned to authors, the XML tags in the rss feed are ignored unfortunately
    • PAT

  5. perler
    Member
    Posted 1 year ago #

  6. Nixie Pixel
    Member
    Posted 1 year ago #

    Hi, is there any way that this can be further explained for a brand new user? I mean one who knows nothing at all about the concepts being talked about here?

    I recently installed b2evolution and have been blogging, but Wordpress seems to better suit my needs. I would like to switch, but I really know next to nothing about these things.

    Where do I install Wordpress while this is happening? What changes do I have to make?

    I'm really lost, and the scripts that I can find online (as you noted) are obsolete and no longer work.

    I really hope you can help, I feel like someone who has landed on an alien world and has been asked to complete tasks with alien tools that I have never before seen and have no idea what I can do with them.

    Thank you so much!

    ~Nix

  7. Saurus
    Member
    Posted 1 year ago #

    It might be easier to copy and paste your posts from b2evo into text files, delete b2evo entirely, then install WP from scratch. Then use the text files you saved to post new into WP.

    My son recently did exactly that because neither he nor I are in a position better than you are to understand all perler quoted you.

  8. bodum
    Member
    Posted 1 year ago #

    The RSS-Skin that is linked here seems to be broken. It doesn't work in the current 2.x-Line of b2evolution.

    At the moment I am writing a new Rss-Skin that should work without any problems. But I need a small documentation which elemens of rss are supported and get importet into wordpress. Could you give me a hint where to find the documentation for the rss importer?

  9. perler
    Member
    Posted 1 year ago #

    i never went to b2evo 2.0, but i think it should be enough to take the rss skin from b2evo 2.x and change the <category domain> to <category> - this should do it..

  10. bodum
    Member
    Posted 1 year ago #

    No, it doesn't. That way the comments are not imported and a few other fields i like to get imported. I really need a documentation of the rss importer. Or do I have to read the sourcecode of the importer?

  11. Nixie Pixel
    Member
    Posted 1 year ago #

    So how hard is it to make the change perler suggests to the skin, with no experience with skins?

    It is amazing to me that with the popularity of Wordpress no one has a tool to assist in migrating from b2evolution 2.x.

    I would love to help, but I am a complete newbie.

  12. bodum
    Member
    Posted 1 year ago #

    I have modified the rss-skin from b2evolution, that was not hard, but it only migrates the basic data. Only the Text, no comments, no tags.

    At the moment I am waiting for someone who is able to show me the fieldnames that wordpress understands. There must be a way to import tags and comments. Without it, the migration is useless.

  13. bodum
    Member
    Posted 1 year ago #

    Okay, I looked into the rss importer Code. The best option for me is to rewrite this:

    http://themikecam.com/downloads/import-b2evolution-wp2.php.txt

    to work with b2evo 2.x.

    Hopefully I will have some time in the next few days for this.

  14. Nixie Pixel
    Member
    Posted 1 year ago #

    Awesome news, thank you! I will look forward to it!

  15. bodum
    Member
    Posted 1 year ago #

    There you have it:

    http://stuff.wannawork.de/import-b2evolution-wp2.php.txt

    it imports the posts and comments. The categories and tags have to be added, but I don't need them.

    Could someone please move this into the wordpress source code repository? I don't plan to support this modification in the future :)

  16. Saurus
    Member
    Posted 1 year ago #

    Could you explain briefly how to utilize your importer, please?

  17. bodum
    Member
    Posted 1 year ago #

    It is explained in the php-file. put it in the wp-admin-folder, open the url in a web browser ( http://yourblog.com/wp-admin/import-b2evolution-wp2.php ) and follow the instructions on that site.

  18. Nixie Pixel
    Member
    Posted 11 months ago #

    Does the script address keeping external links alive after this transition?

    Thanks!

  19. acidtrip
    Member
    Posted 9 months ago #

    I tried the script and it seems to have imported most of the posts, though it seems to have missed ones from December for some reason?

    Anyways, figured I'd let ya know that I got these two errors when I ran it:

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/wp/wp-admin/import-b2evolution-wp2.php on line 79

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/wp/wp-admin/import-b2evolution-wp2.php on line 97

  20. acidtrip
    Member
    Posted 9 months ago #

    It also seems to have missed all the tags and associated authors. I'm sure most of this is because my b2evo blog was multi-blogs with subdomains.

  21. acidtrip
    Member
    Posted 9 months ago #

    Actually, I was wrong. It didn't miss things from December, it changed the date to Jan 4th for some reason? At least it looks like it got most of the content.

  22. acidtrip
    Member
    Posted 9 months ago #

    Actually, I was wrong. It didn't miss things from December, it changed the date to Jan 4th for some reason? At least it looks like it got most of the content.

  23. btetrault
    Member
    Posted 7 months ago #

    I had the problem that I was trying to import from b2Evolution 2.4.x to the newest Wordpress and I was having the same problem that Wordpress graciously offers a script to import from b2evolution....but only earlier versions (1.9 and before I think). So I used "bodum"'s Link on the post in this thread and it worked perfect:
    http://stuff.wannawork.de/import-b2evolution-wp2.php.txt

  24. Stefan78
    Member
    Posted 6 months ago #

    Hi, I used the link above to import my posts.

    The guys down at Hostmonster helped me set up the SQL and I ran the script as is... it did import on of my categories but left out all the rest...

    I got 34 of 150 or so posts... anyone with some help to these error messages?

    All right sparky, this is where the actual import takes place! Do you feel lucky today? :p

    Importing User records ...
    1 User record(s) imported!
    Importing Category records ...
    Importing Links from Blog #

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home2/thewelln/public_html/wptest/wp-admin/import-b2evolution-wp2.php on line 79

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home2/thewelln/public_html/wptest/wp-admin/import-b2evolution-wp2.php on line 97

    Done. Imported 0 links in 0 link categories.
    1 category record(s) imported!
    Importing Entry records ...
    SQL for Blog-Entries : SELECT * FROM evo_items__item INNER JOIN evo_categories ON cat_ID = post_main_cat_ID WHERE cat_blog_ID IN (5)Inserted Career Developments - cont. - THIS BOY STAYS IN CANADA!!!
    Inserted Career Developments - Not so great news...
    Inserted Career developments
    Inserted Career Developments - Better news...
    Inserted Career Developments - shortest straw
    Inserted Colleges, soldiers, family, friends and others…
    Inserted Flight tickets purchased! It\'s really happening!
    Inserted It\'s all happening! *SCARY*
    Inserted Panorama November 2006
    Inserted Panorama - December 2006
    Inserted 2006 Summery
    Inserted 7th-9th January 2006 - Banff Film Festival @ RK HeliPlex
    Inserted Thoughts about Banff
    Inserted Tunnel Mountain Hike
    Inserted The Call...
    Inserted Frigid Experience...
    Inserted Snowmobing
    Inserted Career developments
    Inserted Heliskiing - Things will never be the same...
    Inserted Horseback Riding - Rafter Six Ranch
    Inserted Birthday in Banff
    Inserted Fay Hut Trip
    Inserted Calgary Trip
    Inserted Spring Update
    Inserted Banff Mountain Film Festival - 2007
    Inserted College of the Rockies - Fernie, B.C. - Aug 2001 - May 2002
    Inserted Wilderness Travel
    Inserted Mountaineering
    Inserted Three Sisters Hike
    Inserted Climbing - Stone Hills, MT
    Inserted Ski Touring I
    Inserted Advanced Recreational Avalanche Course
    Inserted Summery Fall 2001
    Inserted Ski Touring II
    34 entry record(s) imported!
    0 comment record(s) imported!
    34 entry category record(s) imported!
    That's all folks!

Topic Closed

This topic has been closed to new replies.

About this Topic