Support importing from the WordPress database

Created on 3 June 2016, over 8 years ago
Updated 23 November 2024, 29 days ago

Although there are many reasons to favor migrating from a database over XML when you have the choice (performance, flexibility, completeness of data), the fact that any WordPress administrator can easily generate an XML export and upload it through the UI has made that the preferred method for wordpress_migrate - many WordPress site owners (in particular, those hosted on WordPress.com) don't have access to their databases, and dealing with copying database dumps and setting up access to them requires more technical skills than the original target audience for the module necessarily had. Architecturally, providing a database source as an alternative was impractical in Drupal 7.

Now, we have much better encapsulation of the components of a migration. We should be able to implement SqlBase-based source plugins for reading WordPress data from a database, and as long as they produce the same field names as the current XML configurations do, supporting both XML and SQL should just be a matter of swapping in and out the source plugins, there should be no changes needed to, say, the process pipeline. It'll take some work, but this will be an excellent demonstration of what the Drupal 8 migration architecture is capable of.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇺🇸United States mikeryan Murphysboro, IL, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024