esmero / webform_strawberryfield

Provides Webform integrations to feed a field of Strawberries. Mr. Wizard of WebOz
GNU Lesser General Public License v3.0
2 stars 6 forks source link

Create webform File Upload Element for Frictionless Data Packages #78

Open alliomeria opened 3 years ago

alliomeria commented 3 years ago

What?

Create a webform File Upload Element for Frictionless Data Packages

Why?

To enable the upload of complex (but not necessarily compound, hierarchically-structured) digital objects with multiple files of various file/media types as Frictionless Data Packages.

Example Use Cases

DiegoPino commented 3 years ago

Yes. This is needed.

Ok. So a few thoughts: 1.- We want that Frictionless data packages can also be generated via a Drush API ingest. So actually the special field will do the following: 1.- Simply upload the files but also "mark" them in the JSON (an ap: prefixed key of an flv: prefixed key need ) to be Packaged once the ADO is saved. 2.- We may need then a Post processor that does that. 3.- Once packaged, and if people want to edit the ADO (they will) people will be able still to remove/add files to the existing package (so they should never see the package, just the individual images).

All this requires logic, patience and testing. But so needed.

Thanks @alliomeria !!