This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# Retrieve and transform metacat generated sitemaps | |
# | |
# Requires wget, xmlstarlet | |
# | |
# Run with: | |
# sudo bash getsitemap.sh | |
#sitemap namespace | |
SM_NS="sm=http://www.sitemaps.org/schemas/sitemap/0.9" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Login to DataONE using ORCID and retrieve token. | |
This script uses Selenium to control a Chrome web browser to log on to | |
DataONE using ORCID credentials. | |
Dependencies: | |
* Keyring: pip install keyring |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@vocab": "https://schema.org/", | |
"datacite": "http://purl.org/spar/datacite/" | |
}, | |
"@id": "https://doi.org/10.4211/hs.8161a96a08474d12bba219852409be61", | |
"sameAs": "https://www.hydroshare.org/resource/8161a96a08474d12bba219852409be61", | |
"url": "https://doi.org/10.4211/hs.8161a96a08474d12bba219852409be61", | |
"@type": "Dataset", | |
"additionalType": "http://www.hydroshare.org/terms/CompositeResource", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@vocab": "https://schema.org/", | |
"datacite": "http://purl.org/spar/datacite/" | |
}, | |
"@id": "https://doi.org/10.4211/hs.8161a96a08474d12bba219852409be61", | |
"sameAs": "https://www.hydroshare.org/resource/8161a96a08474d12bba219852409be61", | |
"url": "https://doi.org/10.4211/hs.8161a96a08474d12bba219852409be61", | |
"@type": "Dataset", | |
"additionalType": "http://www.hydroshare.org/terms/CompositeResource", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"@id": "_:c14n0", | |
"@type": [ | |
"https://schema.org/PropertyValue" | |
], | |
"https://schema.org/additionalType": [ | |
{ | |
"@value": "http://www.wikidata.org/entity/Q161779" | |
} |