Open JoshuaGoode opened 3 years ago
The media export tool used for Simple sites is available and can be used on Atomic sites in its current form if you work around things.
Right now, it's hidden if isJetpack
is true: https://github.com/Automattic/wp-calypso/blob/ce378c3322501dee17bd8c1d1af1618b6972e1db/client/my-sites/exporter/section-export.jsx#L32
However, the WPCOM API endpoint is still available. https://public-api.wordpress.com/rest/v1.1/sites/%d/exports/media-download
I was able to use it on a test Atomic site by setting isJetpack
to false.
However, the export file didn’t include recent media uploads to the site, which seems to be expected as those aren’t stored on files.wordpress.com.
It also didn’t include VideoPress videos uploaded while the site was Atomic.
Even if the export did include site-hosted media and VideoPress uploads, some export will be quite large and require the use of a download utility. Internally, we've made and used https://github.com/Automattic/download/ - p6OVho-dR-p2
If this does become available, and can be used to export VideoPress uploads, let's update a user I worked with that needed this.
Adding a +1 to this. Ideally, we would also present the same Calypso interface on both simple and atomic to bring parity to both environments and avoid user confusion as a result of the interface changing when they upgrade their plan.
The Tools → Import page already uses the calypso view on atomic sites, so it would be awesome if the Export page appeared the same.
VideoPress exports are now possible but only via an internal tool.
Will need work to expose this in Calypso.
Support References
This comment is automatically generated. Please do not edit it.
+1, user asked about option to download Media in this chat, AT site: 36963391-hc
What
Implement Export media library option for WPCOM Atomic Sites. Potentially extend it to Jetpack sites.
Why
WordPress.com Simple sites allow users to export a download of their media library under Calypso's My Site > Tools > Export.
WordPress.com on Atomic sites do not.
Implementing this would also potentially allow for easy VideoPress downloads. At this time, it's not possible to easily export and download a site's VideoPress content.
Some related internal threads:
Internal GH issue exploring options specifically for VideoPress video exports:
How
The Export media library tool for Simple site appears to export the files stored on files.wordpress.com.
For WPCOM Atomic sites, it would need to export the following.