so it seems not all have a url pointing to the crcns.org and I do not see "AlternativeTitle" field among json records, so we would be doomed to still parse that xml (need bleeding edge with a patch from a PR to build jq to get @base64d, but then look how lovely it is ;)) :
so, from above and a brief look at jq '.data[].attributes | .xml |= @base64d' it feels that we just need to keep storing that xml record for now and forget about the json record which seems to contain almost (but not) everything for us
An old API we used is now gone, and we should use the new datacite API
['data']
contains the list of json recordsso it seems not all have a url pointing to the crcns.org and I do not see "AlternativeTitle" field among json records, so we would be doomed to still parse that xml (need bleeding edge with a patch from a PR to build
jq
to get @base64d, but then look how lovely it is ;)) :so, from above and a brief look at
jq '.data[].attributes | .xml |= @base64d'
it feels that we just need to keep storing that xml record for now and forget about the json record which seems to contain almost (but not) everything for us