Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Move iWeb MobileMe Blog to Wordpress

I had to migrate my private Blog about my 2 years old little daughter from Apples mobileme servers to a wordpress account.

I wanted to keep all the comments too (Marlas birth..). So i wrote a perl script to do the job. It is far from beeing perfect, but it works for me. So it may work for you too. You have to adjust some things, that‘s for sure.


Features:

-Keep Comments

-Keep Images (hmm mostly)

-Sets email-adresses for comments by Name

-Sets Tags by text strings occured in title or body

-Free, but my daughter will get every euro you donate! THX!


Note: The script works only while the apple servers are up. After 30. June all your comments are gone!



http://iweb2wordpress.weinschenks.com/Website/iweb2wordpress.html

Posted on Apr 21, 2012 1:13 PM

Reply
43 replies

Jun 7, 2012 2:49 AM in response to MirkoW

@Mirko You are a star, thank you. Just before seeing your script I managed to get help from the guys at Ragesw who were very helpful.


@Treffynnom agree with you completely regarding Apple's approach to this. Shame on them for leaving iWeb users orphans and with no support. I wasted a lot of time talking to Apple Care and Mobile Me. There is no procedure to escalate issues and not even published procedures explaining how to complain... I was told to send a carbon letter to headquarters!

Jun 19, 2012 8:25 AM in response to MirkoW

I'm trying this script for my blog http://web.me.com/wgmccallum/History/ which I want to migrate to mccallumfamily.wordpress.com. I get the following


wgmccallum@Redtail-4:~/Downloads$ perl ./iweb2wordpress.pl

title=Home

description=sorry, no description found, but you can adjust afterwards.

============================================================exported 0 postings


and a more or less empty xml file. I've set the old adress, new address, and from to settings as follows:


# from to

# set to 0 for unlimited

my $start_id = 0;

my $end_id = 5;



# ------------------------

# old adress

my $blog_url = 'http://web.me.com/wgmccallum/History/Home/blog-archive.xml';

#my $blog_url = 'http://web.me.com/joelgrimes/Joel_Grimes_Photography/Blog/blog-archive.xml';



# ------------------------

# optional Basic Authentification .htaccess

my $ht_username = '';

my $ht_password = '';

my $domain = 'web.me.com:80';

my $realm = 'me.com';



# ------------------------

# new adress

$VAR{'base_site_url'} = 'http://mccallumfamily.wordpress.com';

$VAR{'base_blog_url'} = 'http://mccallumfamily.wordpress.com'; # mostly the same as base_site_url

$VAR{'base_upload_url'} = 'http://mccallumfamily.wordpress.com/wp-content/uploads/'; # url to upload dir

$VAR{'author_login'} = 'Author';

$VAR{'author_display_name'} = 'Author';

$VAR{'author_email'} = 'noemail@internet.de';

$VAR{'author_first_name'} = 'First';

$VAR{'author_last_name'} = 'Last';

$VAR{'language'} = 'en';


Any tips appreciated! Thanks.

Jun 19, 2012 11:40 AM in response to William McCallum1

@William McCallum1

The script works only for web.me.com adresses. As Wyodor already mentioned your http://web.me.com/wgmccallum/History/Home/blog-archive.xml links to http://www.mccallumfamily.org.

Anyway you can change line 187


@posts = ($res->content =~ m/<link>(http:\/\/web.me.com\/.*html)<\/link/g);


into


@posts = ($res->content =~ m/<link>(http:\/\/www.mccallumfamily.org\/.*html)<\/link/g);


You may want to comment the following line 429


$post_paragraph =~ s/$last_link_or_para//gim;


into

#$post_paragraph =~ s/$last_link_or_para//gim;


Let me know if this helps!



@Wyodor

it has a reason that i don't left an email adress for support questions. i know that whois is open to everyone, but that was unessesary. i have a subscription to this thread.


regards,

Mirko

Jun 24, 2012 12:10 PM in response to MirkoW

@MirkoW I've procrastinated long enough! I'm planning to use your script this afternoon, if I can figure it out.


Every line of code that has the # means I need to change that code to my site, is that correct?


My first blog site is:


http://web.me.com/patrickfifth/Buenos_Aires/Bienvenidos.html


I have one more blog to convert though I don't have very many comments.


Once I'm successful with the old blog I want to change this one:

http://web.me.com/patrickfifth/blog/PatrickBennettPhotoBlog/PatrickBennettPhotoB log.html


Thank you so much for your help on these problems!


Patrick

Jun 24, 2012 1:14 PM in response to PatrickV

PatrickV wrote:


@MirkoW I've procrastinated long enough! I'm planning to use your script this afternoon, if I can figure it out.


Every line of code that has the # means I need to change that code to my site, is that correct?


My first blog site is:


http://web.me.com/patrickfifth/Buenos_Aires/Bienvenidos.html


I have one more blog to convert though I don't have very many comments.


Once I'm successful with the old blog I want to change this one:

http://web.me.com/patrickfifth/blog/PatrickBennettPhotoBlog/PatrickBennettPhotoB log.html


Thank you so much for your help on these problems!


Patrick


Hi Patrick,


no, # are lines with comments.

Wich lines you have to edit depends on your blog. There are too many to discribe them one by one.


Start with line 43



my @blog_urls = ('http://web.me.com/patrickfifth/Buenos_Aires/BuenosAiresBlog/blog-archive.xml'
                                                                );


But you have to set also the urls to your new blog startin in line 60.


In addition I had to set line 114 for your blog


# Add x to month of upload dir; normaly 1
my $add_upload_dir_month = -1;



I tried it with your first blog (only for the first 5 posts) and the result is quite good i think.


http://test.weinschenks.com/



For your second blod you have to set the url in line 43 to http://web.me.com/patrickfifth/blog/PatrickBennettPhotoBlog/blog-archive.xml


Give it a try

Mirko

Jun 25, 2012 7:44 AM in response to MirkoW

@MirkoW First, thanks so much for creating this script... what a huge help.


I've tried using it with some success, but there are a couple of issues I can't seem to resolve. I'm hoping there's an easy answer to my questions.


The blog I'm working with is currently mirrored in two places: The original site is at http://web.me.com/geoffreyg/Cars/Blog/Blog.html and I've recently reconfigured the iWeb project for a new hosting account, so the same content is mirrored at http://lanciainfo.com/Lancia_Info/Blog/Blog.html (sans comments).


I've tried running the script (v1.5) on the me.com site and it always results in the "0 postings" message that other users have experienced, although I'm sure the xml feed exists and is entered properly in the script.


I have better luck if I reconfigure the script and run it on the blog at lanciainfo.com – in this case all posts are successfully exported and I have been able to migrate them to a new wordpress installation at http://blog.lanciainfo.com. However, there are two significant issues: first, the post dates all seem to be reset to the same date, and second, the embedded image links are all broken. I suspect these two problems are connected since WP sorts image files into folders that reflect the date they are posted.


Can you offer any insight as to what's happening or how I might fix these issues?


Thanks again,

Justin

Move iWeb MobileMe Blog to Wordpress

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.