Bulk export/clone H5p objects between Wordpress sites

Hi,

It's currently possible and easy to download individual H5P objects and import from one one worpdress site to another.

However, we will need to do this as a bulk option i.e. create a function that imports all objects from site A and import them into site B, ideally keeping the same IDs.

I'm assuming this isn't currently possible, but could I get some pointers about how this could be done - happy to do the work and release as a plugin.

For example, do I simply need to do the following:

1. Clone all tables / data from Site A into site B
2. Copy all content from wp-content/uploads/h5p/content

Any help / pointers would be appreciated

Alex

 

0
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
icc's picture

You are correct, and I believe this has been requested multiple times for WordPress now.
It would be great to just be able to enter a URL on a different WordPress and select which content to import. Here is a similar issue on GitHub: https://github.com/h5p/h5p-wordpress-plugin/issues/63