jnetonunes / google-blog-converters-appengine

Automatically exported from code.google.com/p/google-blog-converters-appengine
Apache License 2.0
0 stars 0 forks source link

Wordpress2Blogger: Comments NOT imported #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I tried importing a Unicode based Hindi blog
1. The conversion utility at http://wordpress2blogger.appspot.com worked fine
2. The import failed first time (sorry I didn't save the error message) but
succeeded when I retried. Second time it displayed the comment being
imported for a slight duration but since the file was very small it
immediately finished importing.
3. All posts, categories imported with correct encoding but with author set
as myself. None of the comments (written in Hindi) were imported. Status of
a draft post was kept intact, which was cool.

Original blog: http://samayiki.com
Test Import blog: http://samayiki.blogspot.com

Wordpress Export/Blogger converted file attached.

Original issue reported on code.google.com by debash...@gmail.com on 16 Jan 2009 at 9:59

GoogleCodeExporter commented 8 years ago
I had the the same problem. All comments were lost.

Original comment by eel...@gmail.com on 3 Feb 2009 at 2:34

GoogleCodeExporter commented 8 years ago
It appears that when wordpress2blogger makes the conversion, if a post has an
excerpt, the content of the excerpt is inserted into the post_id (complete with
newline). For example in my blogger-export.xml, I get

<ns0:id>post-Example excerpt text.
6</ns0:id>

Original comment by billpineapple@gmail.com on 25 Aug 2009 at 3:37

GoogleCodeExporter commented 8 years ago
Even though <excerpt:encoded> is skipped, the content of that element stuck 
around.
The attached patch fixed the no-comments problem for me.

Original comment by billpineapple@gmail.com on 25 Aug 2009 at 5:09

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch.  I'll have it incorporated into the project shortly.

Original comment by jlu...@gmail.com on 25 Aug 2009 at 7:09

GoogleCodeExporter commented 8 years ago
This is incredible news. BTW I had imported a blog at 
http://hindionweb.blogspot.com
probably few days ago and the import worked fantastically, all comments were
imported. Tags were converted to labels but I am not sure to what happened with 
the
wordpress categories. 

Original comment by debash...@gmail.com on 26 Aug 2009 at 5:37

GoogleCodeExporter commented 8 years ago
I've been trying for 1 week to get my Wordpress.org Comments to import to 
Blogger, too.  No luck. I've tried 3 different WP.org sites.  All Posts and 
Pages import, but not Comments.  I've also tried exporting my WP.org blog to 
WP.com (Comments all import fine), then exporting the WP.com XML and using 
WP2Blogger, but the Comments still don't import.

Original comment by colleen....@gmail.com on 25 May 2011 at 3:57

Attachments:

GoogleCodeExporter commented 8 years ago
Colleen,

I submitted a patch to fix this back in 2009, but the patch was never added to 
the project. You can follow these instructions to fix your copy and try the 
conversion again:

Open the file src/wordpress2blogger/wp2b.py and find lines 182 and 183:

    if (name.split(':')[0] == 'excerpt'):
      return

In between these two lines, add this line:

      self.contents = ''

The new line should be indented to the same level as the "return" line.

Save the file and run you conversion again, and good luck.

Original comment by will...@subtlecoolness.com on 25 May 2011 at 2:23

GoogleCodeExporter commented 8 years ago
How do I run my conversion again with these files?  I used the web converter.  
I've altered the wp2b.py file, but have no idea how to run it locally.  Thanks.

Original comment by colleen....@gmail.com on 1 Jun 2011 at 2:23

GoogleCodeExporter commented 8 years ago
Colleen,

Rather than explain how to run it locally, I just did it for you with the 
WordPress file you attached to your earlier comment. The converted Blogger file 
is attached here.

Please let me know if this works or not!

Original comment by will...@subtlecoolness.com on 1 Jun 2011 at 1:45

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Will,

I need to hit you up one more time for help, if I may. I'm trying to transfer 
another blog from Wordpress (this time, .com) to Blogger, and am hoping to 
include all of my comments.

Do you have a public Amazon wish list or done button? If so, I'll gladly repay 
you for your help and kindness.

Thank you,

Colleen greene

Original comment by colleen....@gmail.com on 6 Aug 2012 at 11:57

Attachments:

GoogleCodeExporter commented 8 years ago
I opted to go back to a self-hosted Wordpress site (from my .com site), instead 
of Blogger.

Thank you,

Colleen Greene

Original comment by colleen....@gmail.com on 7 Aug 2012 at 6:01

GoogleCodeExporter commented 8 years ago
Colleen,

I'm always happy to help with that blog conversion thing if you decide to go to 
Blogger for any reason. Just let me know.

William

Original comment by will...@subtlecoolness.com on 7 Aug 2012 at 1:32

GoogleCodeExporter commented 8 years ago
I tried converting and importing my wordpress blog to blogger. It just imports 
the page names, without the posts. please help.

Original comment by venkatsu...@gmail.com on 15 May 2015 at 2:18