backdrop-contrib / wordpress_import

This module imports a WordPress blog into Backdrop from a WordPress eXtended RSS (WXR) file.
GNU General Public License v2.0
0 stars 3 forks source link

Import of WXR file with full contents of a Wordpress site fails #8

Open erikwesselius opened 3 years ago

erikwesselius commented 3 years ago

When trying to import a WXR file with the full contents of an existing Wordpress site, I unfortunately ended up with the following error message:

This file does not appear to be a valid WXR file. The file is either corrupted or invalid XML. In some versions of WordPress, the export function can produce malformed XML. Please see README.txt (included in the module archive) for further guidance.

The WXR file imports fine on a blank Wordpress install, so I assume that the file is not corrupt, but that the Backdrop module has difficulties parsing the WXR file.

See also my report on the Backdrop Forum.

bjoern-st commented 3 years ago

Hey @erikwesselius

Did you try to fix the errors in your WXR file as you posted in the forum?

erikwesselius commented 3 years ago

I had a first quick look, but had other things to do in the afternoon. Hope to be able to dive deeper into it tomorrow. Will keep you updated. This seems an important module (it's function is to help Wordpress users switch to Backdrop), so it would be good to figure out what's going on and see if this can be fixed.

laryn commented 2 years ago

@erikwesselius I've made some tweaks to this module and would be curious to try an import with your site's database. Would you be willing to share the WXR file with me (for local testing purposes only)?

erikwesselius commented 2 years ago

Hi Laryn, a bit belatedly: yes, if still relevant for you.

laryn commented 2 years ago

I found you on Zulip and started a private message there.