Group-  

At my institution we're interested in populating a field with file 
extensions pulled from the automatically generated 'provenance' data.  If 
possible, we'd also like to translate these into controlled MIME type 
values found in this list 
<https://www.freeformatter.com/mime-types-list.html>.  

For example, from this autogenerated 'dc.description.provenance' field 
value....
"
Made available in DSpace on 2019-01-23T14:28:53Z (GMT). No. of bitstreams: 
2 sword-2019-01-23T09:27:28.original.xml: 130 bytes, checksum: 
43dce2ea292b96aeb7545ed6c2a2cce8 (MD5) dspace-XwalkOut-map (11).xml: 6962 
bytes, checksum: 2961d1467ed455e4bd9e3780612b779d (MD5) Previous issue 
date: 2005-05-01
"
...we'd want to 
1) extract ".xml" and put it in other 'file extension' field.  
2) Auto-translate this into 'application/atom+xml', as in the mime type 
table <https://www.freeformatter.com/mime-types-list.html>.  I imagine this 
table would have to be put in a back end document as a crosswalk table, but 
I'm not sure which this would be, or how exactly this would work.  

Any help the community can provide would be much appreciated!  Just pulling 
the extensions would be a great start.  

Thanks!

-Gabe

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to