Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datacite: write license information in XML metadata #839

Open
GraemeWatt opened this issue Nov 28, 2024 · 0 comments
Open

datacite: write license information in XML metadata #839

GraemeWatt opened this issue Nov 28, 2024 · 0 comments
Labels

Comments

@GraemeWatt
Copy link
Member

The license information is currently written for data tables:

{% if license %}
<rightsList>
<rights rightsURI="{{ license.url }}">{{ license.name }}</rights>
</rightsList>
{% endif %}

and resource files:

{% if license %}
<rightsList>
<rights rightsURI="{{ license.url }}">{{ license.name }}</rights>
</rightsList>
{% endif %}

only if an explicit license is given (if license). The XML metadata should be modified to write the default CC0 license otherwise, since this is now rendered on the HTML pages by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do
Development

No branches or pull requests

1 participant