-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve migration docs: import/export WordPress sites with Playground #1166
Comments
Fully agreed. The importFileStep should be just called
I'd just remove WXZ support at this point. I'm not sure if anyone uses it or is aware of that format and at the same time it adds a maintenance overhead. If someone reports a WXZ issue, we won't be able fix it. Besides, the Site Transfer Protocol will solve the same problem, but more completely and without problems with IDs and database relations.
The WordPress Playground plugin enables that from wp-admin. We don't yet have other export&import workflows in place. @bgrgicak what do you think about adding a "Download Snapshot" button to that plugin so that it could be easily imported into Playground? The ultimate solution will be the Site Transfer Protocol, but we're not there yet. The Documentation Workflow explores the first baby steps with rewriting Site URLs in the exported files. |
Sounds good, it shouldn't be a lot of work. Should we also add import support? |
I wouldn't do it yet. Sure, there's existing code we could transplant, but without the upcoming bits from Site Transfer Protocol it will break.
Let's hold on with that and keep the scope minimal for now. It's difficult enough to keep up with maintaining the existing Playground implementations. |
I added Playground snapshot as an option to Tools > Export. The exported ZIP doesn't work with Playground because the export format is different for the Playground plugin and Playground web. This will need to be addressed separately. @adamziel Should we adjust the plugin export format to match Playground, or should we add this as another format to Playground? |
This will need to be implemented in Playground. The Playground export uses |
Agreed, both places should be the same format and the |
Here is the export PR WordPress/playground-tools#219 |
Playground import issue #1201 |
For now I'm going to look at the ways it's possible to import/export and add that to the docs. |
I'll be working on these docs for the Yoast contributor day! |
Functioning example on the Blueprints Gallery page |
Much of what Playground does is meant to be portable. Whether you want to import an existing website to demo a plugin, change a theme and provide a working demo back to the client... importing and exporting is a big part of what the Playground does.
However, there is virtually no documentation on how to import content or websites with Playground.
Action items
Existing documentation
Import a WXZ or a WXR file
About WXZ import...
#88 (comment)
The text was updated successfully, but these errors were encountered: