Can’t import Blogger xml file
-
Wordpress tries to process my Blogger xml file but then I get a 500 status code for ‘POST /sites/155416787/imports/new’ error message and nothing happens.
-
Hi there,
I have reset the importer and you can now try again.
If this doesn’t work or you have more questions, just let me know and I’ll be happy to help!
-
Still not working. Thought maybe it was a corrupt Blogger xml file, so I did another backup this morning and tried the importer again and still have the same problem. Thanks.
Mark
-
I’m looking at your site’s logs and it looks like you’re trying to upload a .txt file, not the .xml file you should have from your Blogger export.
Can you rename the file to remove the
_.txtand only upload the file named asblog-03-18-2021.xml? That should resolve the issue here.Let us know if you still have this problem and we’ll be happy to take a closer look.
-
Hmm…it does have an xml extension on the file name (and is indicated as such in file attributes), so I’m not sure why it’s appearing as a text file. I’ll try renaming it again and see what happens.
Mark
-
Nope, still not working (renaming with an .xml extension, even though it appears as an .xml file – now it’s blog.import.xml.xml). The file has an “open with” selection, which is presently defaulted to Internet Explorer. I tried switching to Firefox to see if that would make any difference but it didn’t. Can’t find a WordPress selection in my list of options either. The file displays as .xml. How is it not being recognized as such?
-
-
-
-
-
I’m still seeing .txt appended.
Is it alright if we try importing for you from the file you uploaded?
-
-
Hey Mark, I tried it and got the same error, so I opened the XML file and it seems a bit off: to me it seems like it’s all template-related stuff. Your content doesn’t seem to be there.
Would you be willing to try exporting from blogger once more, and uploading that? Please be sure you’re using Settings → Other and click Back up Content → Save to your computer.
-
Oof — I take that back; my editor was just choking on the file size.
I’m going to dig into this further, but given that it is quite a lot of formatting that’s getting exported too, if you’re willing to try switching to a bare-bones theme for a moment and then exporting to see if that makes any difference, let us know.
-
I just tried WP import with another Blogger back up .xml file and still didn’t work. I don’t know if they’re all corrupted or what. Also, don’t know how to switch to a bare-bones theme and afraid I might screw things up (permanently).
Kind of discouraged so I think I’ll leave it for tomorrow and try again (something). Thank you all for your help today, and if you get any new ideas please feel free to do anything on your end that you want.
Mark
-
I think that Blogger’s export functionality is not exporting the proper XML format.
Opening the file there’s lot of items in the feed using HTML rather than the actual character expected. For example:
–
> ;(no spaces) instead of<
–< ;(no spaces) instead of>And so on. I used a text editor to find and replace those and other items that were parsing as HTML instead of the character expected and tested the import file again and it once again failed.
I compared the file to one we use for testing and there’s a number of errors that pop up – the main one being that
error on line 1 at column 1611: XML declaration allowed only at the start of the document– that points to their exporter not working properly since it’s creating invalid XML.I would recommend reaching out to their support and asking them to investigate why you would be seeing that error on your export. To see the error, you just need to load the export file in a browser window.
Let us know what you find out. Thanks!
-
Thank you very much for the investigative effort! I suspected it might be a problem on Blogger’s end since they have been modifying (screwing up) the platform significantly over the last few months. I’ll pose the question and see what response I get. Hope to be back here with an answer soon.
Mark
-
Hi Mark:
Sounds good! For what it’s worth we tried a recent export from one of my colleague’s Blogger sites and it was a valid file and imported without any trouble, so it might be something specific to your site.
Let us know if you need anything from us! :)
-
Well, I guess nothing is ever straightforward (for me anyway). Here’s the reply I got from the Blogger help forum (is there something like this?):
There is no “proper” xml format in the sense that you imply. That is why it is called an extensible markup language–the formats are designed to vary.
You need to run the xml export from Blogger through a converter for WordPress, assuming there is one.
-
Hm, there are definitely some formatting discrepancies in your export file when compared to other Blogger export files. Maybe ask them to investigate more closely?
These are public support forums, so you can link them to https://wordpress.com/forums/topic/cant-import-blogger-xml-file/#post-3651130 if you’d like.
- The topic ‘Can’t import Blogger xml file’ is closed to new replies.