You can download exported node as a zip file with all file references such as images, documents, videos and etc.
By clicking on Download as a zip with all assets a new archive file should be created and automatically downloaded.
The archive contains:
1. Single YML file which is exported source node.
2. Assets folder which contains all files referenced.
When importing content there is possibility to upload/drag-n-drop a single archive file with assets.
The archive is being extracted with assets on import process and assets are being created and referenced
As result I can export content from my local machine with all assets like images and then upload the archive to live site to get the same content with the same files that were used.
Make sure that there is a separate method in. the import service which allows to export to archive (generates archive) and import from archive (extract files and import content).
Issue fork single_content_sync-3229470
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nginex commentedComment #3
nginex commentedHere is a full functional description
Comment #4
nginex commentedComment #5
artycal commentedComment #7
artycal commentedAdded a patch which adds support for exporting the content to a zip archive with all assets, as well as added support for importing content from a file or zip archive.
Refactored some existing code.
Comment #8
nginex commentedComment #9
nginex commentedI've reviewed and tested the code changes locally. I've refactored and improved functionality. Ready for release.
Comment #11
nginex commentedComment #12
nginex commented