<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://technicalfoundations.ukoln.ac.uk/taxonomy/term/167/all" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Gudmundur A. Thorisson: relevant content on this site</title>
    <link>http://technicalfoundations.ukoln.ac.uk/taxonomy/term/167/all</link>
    <description></description>
    <language>en</language>
          <item>
    <title>ORCID – a taster of the API</title>
    <link>http://technicalfoundations.ukoln.ac.uk/blog/orcid-%E2%80%93-taster-api</link>
    <description>&lt;p&gt;As the official draft API (googledoc) is both in flux and read-protected so that only those invited can see it, I am unable to give you a complete view of how things are shaping up.&lt;/p&gt;
&lt;p&gt;However, I can relay a number of key points that everyone involved is concerned about:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It must have sensible (some may say RESTful) URLs&lt;/li&gt;
&lt;li&gt;Human and machine-readable data is a must via
&lt;ul&gt;
&lt;li&gt;Content-negotiation,&lt;/li&gt;
&lt;li&gt;and optionally, “suffix” negotiation (adding a “.xml” or “/xml”) for convenience.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;OAuth is the current plan to share trust, allowing users the greatest control over what and who has access to their live profile data.&lt;/li&gt;
&lt;li&gt;Profile creation/editing “By Proxy” is important, but shouldn’t take any control of the researcher’s basic profile information from the researcher themselves.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Some code!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Gudmundur A. Thorisson (University of Leicester and a member of the ORCID Technical Advisory Group) has put together an emulation of certain portions of the ORCID API, including some of the OAuth parts:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/gthorisson/orcid-sandbox&quot;&gt;https://github.com/gthorisson/orcid-sandbox&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Get the code from github and making sure you already have Rails/Ruby installed:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;code&gt;$ cd orcid-sandbox&lt;br /&gt; $ bundle install&lt;br /&gt; $ bundle exec rake db:migrate&lt;br /&gt; $ bundle exec rake db:setup&lt;br /&gt; $ rails server -p 3001 -d&lt;br /&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;(you may need “$ scripts/rails server -p 3001 -d)&lt;/p&gt;
&lt;p&gt;Once you have the code up and running, you should be able to log in, make accounts and so on.&lt;/p&gt;
&lt;pre&gt;# OAuth-protected access to profile
[mummi@cambozola-2]curl  &lt;a href=&quot;http://localhost:3001/profile&quot; title=&quot;http://localhost:3001/profile&quot;&gt;http://localhost:3001/profile&lt;/a&gt; -H &quot;Accept: text/xml&quot;  -I
HTTP/1.1 401 Unauthorized
X-Ua-Compatible: IE=Edge
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8
Date: Thu, 08 Sep 2011 12:20:50 GMT
Server: WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
X-Runtime: 0.087887
Content-Length: 0
Cache-Control: no-cache
&lt;/pre&gt;&lt;pre&gt;# Public access to profile
[mummi@cambozola-2]curl  &lt;a href=&quot;http://localhost:3001/cid/0723-1814-6587-5983&quot; title=&quot;http://localhost:3001/cid/0723-1814-6587-5983&quot;&gt;http://localhost:3001/cid/0723-1814-6587-5983&lt;/a&gt; -H &quot;Accept: text/xml&quot; -I
HTTP/1.1 200 OK
X-Ua-Compatible: IE=Edge
Etag: &quot;390c3560fce0064d65dd1373799f13d0&quot;
Connection: Keep-Alive
Content-Type: application/xml; charset=utf-8
Date: Thu, 08 Sep 2011 12:20:49 GMT
Server: WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
X-Runtime: 0.035443
Content-Length: 0
Cache-Control: max-age=0, private, must-revalidate

# Sample response (from Mike&#039;s XML examples)
[mummi@cambozola-2]curl  &lt;a href=&quot;http://localhost:3001/cid/0723-1814-6587-5983&quot; title=&quot;http://localhost:3001/cid/0723-1814-6587-5983&quot;&gt;http://localhost:3001/cid/0723-1814-6587-5983&lt;/a&gt; -H &quot;Accept: text/xml&quot;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
&amp;lt;orcid-bio-response xsi:schemaLocation=&quot;http://www.orcid.org/ns/orcid_bio_response_1.0.xsd&quot;
    xmlns=&quot;http://www.orcid.org/ns/bio_response&quot;
    xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&amp;gt;
    &amp;lt;response_version&amp;gt;1.0&amp;lt;/response_version&amp;gt;
    &amp;lt;response_summary&amp;gt;
        &amp;lt;submission-date&amp;gt;09-10-2012 15:50:01&amp;lt;/submission-date&amp;gt;
        &amp;lt;completion-date&amp;gt;09-10-2012 15:50:07&amp;lt;/completion-date&amp;gt;
        &amp;lt;total-researchers-found&amp;gt;1&amp;lt;/total-researchers-found&amp;gt;
        &amp;lt;!-- error message, if applicable --&amp;gt;
        &amp;lt;!-- unable to connect to ORCID, no matching researchers etc --&amp;gt;
        &amp;lt;error-desc&amp;gt;No researcher found for this institution.&amp;lt;/error-desc&amp;gt;
    &amp;lt;/response_summary&amp;gt;
    &amp;lt;profileList&amp;gt;
        &amp;lt;researcher-profile&amp;gt;
            &amp;lt;!--  ORCID elements will be present for every researcher found --&amp;gt;
            &amp;lt;orcid&amp;gt;XXXXXXXXXXXXXX&amp;lt;/orcid&amp;gt;
            &amp;lt;!-- In short, researcher has claimed the profile if confirmed=true--&amp;gt;
            &amp;lt;confirmed&amp;gt;true&amp;lt;/confirmed&amp;gt;
            &amp;lt;firstName&amp;gt;Josiah&amp;lt;/firstName&amp;gt;
            &amp;lt;lastName&amp;gt;Carberry&amp;lt;/lastName&amp;gt;
            &amp;lt;middleName&amp;gt;Stinkney&amp;lt;/middleName&amp;gt;
            &amp;lt;other-names&amp;gt;
                &amp;lt;other-name&amp;gt;J. Carberry&amp;lt;/other-name&amp;gt;
                &amp;lt;other-name&amp;gt;J. S. Carberry&amp;lt;/other-name&amp;gt;
            &amp;lt;/other-names&amp;gt;
            &amp;lt;researcher-urls&amp;gt;
                &amp;lt;url&amp;gt;http://library.brown.edu/about/hay/carberry.php&amp;lt;/url&amp;gt;
                &amp;lt;url&amp;gt;http://en.wikipedia.org/wiki/Josiah_S._Carberry&amp;lt;/url&amp;gt;
                &amp;lt;url&amp;gt;http://www.brown.edu/Administration/News_Bureau/Databases/Encyclopedia/search.php?serial=C0070&amp;lt;/url&amp;gt;
            &amp;lt;/researcher-urls&amp;gt;
            &amp;lt;institution&amp;gt;
                &amp;lt;name&amp;gt;Brown University&amp;lt;/name&amp;gt;
                &amp;lt;address&amp;gt;
                        &amp;lt;addressLine1&amp;gt;38 Brown Street / Box 1920&amp;lt;/addressLine1&amp;gt;
                        &amp;lt;city&amp;gt;Providence&amp;lt;/city&amp;gt;
                        &amp;lt;state-or-province&amp;gt;Rhode Island&amp;lt;/state-or-province&amp;gt;
                        &amp;lt;country&amp;gt;United States&amp;lt;/country&amp;gt;
                        &amp;lt;postalcode&amp;gt;02912&amp;lt;/postalcode&amp;gt;
                    &amp;lt;/address&amp;gt;
                &amp;lt;departmentName&amp;gt;Psychoceramics&amp;lt;/departmentName&amp;gt;
                &amp;lt;departmentName&amp;gt;High Energy Metaphysics&amp;lt;/departmentName&amp;gt;
                &amp;lt;role&amp;gt;Researcher (Academic)&amp;lt;/role&amp;gt;
                &amp;lt;start-date&amp;gt;1929&amp;lt;/start-date&amp;gt;
            &amp;lt;/institution&amp;gt;
            &amp;lt;bulk-institution&amp;gt;Brown University&amp;lt;/bulk-institution&amp;gt;
            &amp;lt;sponsor&amp;gt;Brown University Library&amp;lt;/sponsor&amp;gt;
            &amp;lt;affiliate-institution&amp;gt;
                &amp;lt;name&amp;gt; Wesleyan University&amp;lt;/name&amp;gt;
                &amp;lt;address&amp;gt;
                        &amp;lt;addressLine1&amp;gt;Wesleyan University&amp;lt;/addressLine1&amp;gt;
                        &amp;lt;addressLine2&amp;gt;Czech-Republic&amp;lt;/addressLine2&amp;gt;
                        &amp;lt;city&amp;gt;Middletown&amp;lt;/city&amp;gt;
                        &amp;lt;state-or-province&amp;gt;Connecticut&amp;lt;/state-or-province&amp;gt;
                        &amp;lt;country&amp;gt;United States&amp;lt;/country&amp;gt;
                        &amp;lt;postalcode&amp;gt;06459&amp;lt;/postalcode&amp;gt;
                    &amp;lt;/address&amp;gt;
                &amp;lt;departmentName&amp;gt;Bilocation&amp;lt;/departmentName&amp;gt;
                &amp;lt;role&amp;gt;Researcher (Academic)&amp;lt;/role&amp;gt;
                &amp;lt;start-date&amp;gt;1930&amp;lt;/start-date&amp;gt;
            &amp;lt;/affiliate-institution&amp;gt;
        &amp;lt;/researcher-profile&amp;gt;
    &amp;lt;/profileList&amp;gt;
&amp;lt;/orcid-bio-response&amp;gt;
&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/blog/orcid-%E2%80%93-taster-api#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/ben-osteen">Ben O&#039;Steen</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/gudmundur-thorisson">Gudmundur A. Thorisson</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/organisations/orcid-technical-advisory-group">ORCID Technical Advisory Group</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/projects/orcid">ORCID</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/identifiers">identifiers</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/orcid">orcid</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/orcid-api">ORCID API</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/persistent-identification">persistent identification</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/researcher-identification">researcher identification</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/researcher-ids">researcher ids</category>
 <pubDate>Tue, 13 Sep 2011 10:09:00 +0000</pubDate>
 <dc:creator>Ben O&#039;Steen</dc:creator>
 <guid isPermaLink="false">18 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  </channel>
</rss>