Skip to content

Instantly share code, notes, and snippets.

View lizkrznarich's full-sized avatar

Liz Krznarich lizkrznarich

View GitHub Profile
@lizkrznarich
lizkrznarich / after_jackson_v2upgrade.json
Last active April 12, 2016 12:14
ORCID JSON Pre/Post 2015-05-05 Jackson Upgrade
{
"message-version" : "1.2",
"orcid-profile" : {
"orcid" : null,
"orcid-id" : null,
"orcid-identifier" : {
"value" : null,
"uri" : "http://localhost:8080/orcid-web/0000-0001-8451-0064",
"path" : "0000-0001-8451-0064",
"host" : "localhost"
@lizkrznarich
lizkrznarich / Sample Work
Last active August 29, 2015 14:22
Sample XML for ORCID works
<?xml version="1.0" encoding="UTF-8"?>
<orcid-message xmlns="http://www.orcid.org/ns/orcid" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://raw.github.com/ORCID/ORCID-Source/master/orcid-model/src/main/resources/orcid-message-1.2.xsd">
<message-version>1.2</message-version>
<orcid-profile>
<orcid-activities>
<orcid-works>
<orcid-work>
<work-title>
<title>ORCID: a system to uniquely identify researchers</title>
</work-title>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="content-type" />
<title>ORCID Member Newsletter</title>
</head>
<body alink="#939598" bgcolor="#FFFFFF" link="#0086aa" style="font-size: 14px; color: #626366; line-height: 1.5; font-family: Helvetica, Arial, sans serif;" vlink="#0086aa">
<div style="width: 600px; margin: 0 auto 0 auto">
<table align="center" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0" width="650">
<tbody>
@lizkrznarich
lizkrznarich / ror-doi-queries.md
Last active September 19, 2022 21:10
ROR in DOI metadata queries

DATACITE

All DataCite DOIs

All time

curl "https://api.datacite.org/dois?query="

Schema 4.3 release to present

curl "https://api.datacite.org/dois?query=created:%5B2019-08-16+TO+[CURRENT DATE]%5D"