Skip to content

Commit

Permalink
Merge pull request #139 from MaRDI4NFDI/Datacite-adjustments
Browse files Browse the repository at this point in the history
Datacite rights-url adjustments
  • Loading branch information
Mazztok45 authored Dec 17, 2024
2 parents c9940a3 + 75efa94 commit fad571f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,7 @@
<formats>
<format>application/xml</format>
</formats>
<rightsList>
<rights xml:lang="en" schemeURI="https://api.zbmath.org/v1/" rightsIdentifierScheme="zbMATH" rightsIdentifier="CC-BY-SA 4.0" rightsURI="https://creativecommons.org/licenses/by-sa/4.0/">
The zbMATH Open OAI-PMH API is subject to the Terms and Conditions for the zbMATH Open API Service of FIZ Karlsruhe – Leibniz-Institut für Informationsinfrastruktur GmbH.
Content generated by zbMATH Open, such as reviews, classifications, software, or author disambiguation data, are distributed under CC-BY-SA 4.0. This defines the license for the whole dataset, which also contains non-copyrighted bibliographic metadata and reference data derived from I4OC (CC0). Note that the API only provides a subset of the data in the zbMATH Open Web interface. In several cases, third-party information, such as abstracts, cannot be made available under a suitable license through the API. In those cases, we replaced the data with the string
"zbMATH Open Web Interface contents unavailable due to conflicting licenses."</rights>
</rightsList>

<relatedIdentifiers>
<relatedIdentifier relatedIdentifierType="URL" relationType="IsSourceOf">http://crd-legacy.lbl.gov/~xiaoye/SuperLU/</relatedIdentifier>
<relatedIdentifier relatedIdentifierType="URL" relationType="IsCitedBy">https://zbmath.org/software/4013</relatedIdentifier>
Expand Down
2 changes: 1 addition & 1 deletion test/test_metadata_software_Datacite.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_similarity(self):
newdom = transform(dom)
real_string = ET.tostring(newdom, pretty_print=True, encoding='utf8').decode()
# test if result is parsable
reference = ET.parse('test/data/software/reference.xml')
reference = ET.parse('test/data/software/Datacite-software-reference.xml')

expected_string = ET.tostring(reference, pretty_print=True, encoding='utf8').decode()
diff = main.diff_texts(expected_string, real_string, {
Expand Down
2 changes: 1 addition & 1 deletion test/test_node_names_software_datacite.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_similarity(self):
newdom = transform(dom)
real_string = ET.tostring(newdom, pretty_print=True, encoding='utf8').decode()

expected_string = ET.tostring(ET.parse('test/data/software/reference.xml'))
expected_string = ET.tostring(ET.parse('test/data/software/Datacite-software-reference.xml'))

diff = main.diff_texts(expected_string, real_string, {
'ratio_mode': 'fast',
Expand Down
10 changes: 0 additions & 10 deletions xslt/software/xslt-software-datacite.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@
<formats>
<format>application/xml</format>
</formats>
<rightsList> <!-- this generates the copyrights and legal aspect wihtin the xslt -->
<rights xml:lang="en"
schemeURI="https://api.zbmath.org/v1/"
rightsIdentifierScheme="zbMATH"
rightsIdentifier="CC-BY-SA 4.0"
rightsURI="https://creativecommons.org/licenses/by-sa/4.0/">
The zbMATH Open OAI-PMH API is subject to the Terms and Conditions for the zbMATH Open API Service of FIZ Karlsruhe – Leibniz-Institut für Informationsinfrastruktur GmbH.
Content generated by zbMATH Open, such as reviews, classifications, software, or author disambiguation data, are distributed under CC-BY-SA 4.0. This defines the license for the whole dataset, which also contains non-copyrighted bibliographic metadata and reference data derived from I4OC (CC0). Note that the API only provides a subset of the data in the zbMATH Open Web interface. In several cases, third-party information, such as abstracts, cannot be made available under a suitable license through the API. In those cases, we replaced the data with the string
"zbMATH Open Web Interface contents unavailable due to conflicting licenses."</rights>
</rightsList>
<xsl:apply-templates select="root/license_terms"/>
<relatedIdentifiers>
<xsl:apply-templates select="root/homepage"/>
Expand Down

0 comments on commit fad571f

Please sign in to comment.