Skip to content

Commit

Permalink
put detached-header into alternate-identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
kimakan committed Apr 26, 2023
1 parent 33d74b6 commit dab1e94
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions daiquiri/oai/adapter.py
Expand Up @@ -257,10 +257,9 @@ def get_datalink(self, pk):
elif semantics == '#detached-header':
if content_type not in datalink['formats']:
datalink['formats'].append(content_type)
datalink['related_identifiers'].append({
'related_identifier': access_url,
'related_identifier_type': 'URL',
'relation_type': 'IsSupplementedBy'
datalink['alternate_identifiers'].append({
'alternate_identifier': access_url,
'alternate_identifier_type': 'URL'
})

elif semantics == '#documentation':
Expand Down

0 comments on commit dab1e94

Please sign in to comment.