discoverygarden / tk_labels

A prototype module to display TK Labels.
GNU General Public License v2.0
0 stars 1 forks source link

Fetching and storing metadata to allow for searching and faceting #18

Open bondjimbond opened 1 year ago

bondjimbond commented 1 year ago

Related to #17 - There are other use cases beyond DOI minting where storing the specific metadata from a label (rather than just a Project ID) might be valuable - for example, faceting and filtering based on permitted uses etc.

One thought might bet to:

  1. When viewing an object, evaluate the Project ID and feed it to the API
  2. Pull the metadata from Local Contexts and compare it to what (if any) is stored on the object's Drupal metadata record
  3. If there is a difference, update the Drupal metadata; if no difference, proceed with no changes.

Are there other possible approaches to meet this use case?

bondjimbond commented 1 year ago

And is there a way to do this without making tons of API calls?