What is the naming convention for the Reuse .h5p files?
Submitted by fortran77 on Wed, 01/08/2025 - 12:21
Forums:
I need to migrate 1000s of H5P contents from Drupal to WordPress and I can access the .h5p files from Drupal filesystem. But how do I know which Drupal node corresponds to each .h5p package?
fortran77
Wed, 01/08/2025 - 12:25
Permalink
In other words I need help
In other words I need help locating the function that creates the .h5p file name (I guess from the node title) so I can list the file name along with the title.
otacke
Fri, 01/10/2025 - 08:09
Permalink
https://github.com/h5p/h5p
https://github.com/h5p/h5p-php-library/blob/fb5100a53517c4c9b5477aaa114338ce816c3e81/h5p.classes.php#L1953
fortran77
Fri, 01/10/2025 - 14:30
Permalink
Thank you so much. I guess my
Thank you so much. I guess my problem is understanting hos the slug is built, eg I have a Drupal alias:
math-cards-9-9
but the filename is:
math-cards-9-13-9938
otacke
Fri, 01/10/2025 - 17:16
Permalink
https://github.com/h5p/h5p