<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>OA-RJ project blog</title>
	<atom:link href="http://oarepojunction.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://oarepojunction.wordpress.com</link>
	<description>The JISC-funded Open Access Repository Junction (OA-RJ) project is building a deposit broker tool to assist open access deposit into, and interoperability between, existing repository services</description>
	<lastBuildDate>Fri, 27 Jan 2012 15:19:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='oarepojunction.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>OA-RJ project blog</title>
		<link>http://oarepojunction.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://oarepojunction.wordpress.com/osd.xml" title="OA-RJ project blog" />
	<atom:link rel='hub' href='http://oarepojunction.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Development APIs : The main api</title>
		<link>http://oarepojunction.wordpress.com/2012/01/23/development-apis-the-main-api/</link>
		<comments>http://oarepojunction.wordpress.com/2012/01/23/development-apis-the-main-api/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 12:24:08 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Repository Junction]]></category>
		<category><![CDATA[Snippits]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=810</guid>
		<description><![CDATA[This is the final, and main, api for the system (cf the AJAXie get_xxx and the list functions.) Currently at http://devel.edina.ac.uk:1201/cgi/api5 this is the API that the front-page of OpenDepot.org uses, and is expected to be the primary contact point for other developers. Data returns All APIs return data in the same ways: You can specify the format either [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=810&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the final, and main, api for the system (<em>cf</em> the AJAXie <a title="Development APIs : The get functions" href="http://oarepojunction.wordpress.com/2012/01/20/development-apis-the-get-functions/">get_xxx</a> and the <a title="Development APIs : The list functions" href="http://oarepojunction.wordpress.com/2012/01/06/dev-apis-1/">list</a> functions.) Currently at <a href="http://devel.edina.ac.uk:1201/cgi/api5">http://devel.edina.ac.uk:1201/cgi/api5</a> this is the API that the front-page of OpenDepot.org uses, and is expected to be the primary contact point for other developers.</p>
<h2>Data returns</h2>
<p>All APIs return data in the same ways:</p>
<ol>
<li>You can specify the format either with the Accepts header in the http request, or with the format parameter. The options are ‘json’, ‘xml’, or ‘text’, with ‘json being the default if nothing is specified.
<ul>
<li>If there’s a callback parameter, and the format is json, then a crossDomain package is returned… very useful!</li>
</ul>
</li>
<li>All return the data as a nested object, with three top-level elements:
<pre> {
   'message' =&gt; {}
   'status'  =&gt; 'ok',
   'to'      =&gt; 'http://.....'
 }</pre>
<p><code>status</code> is “ok” or “fail”, <code>to</code> is the url that made the query, and <code>message</code> contains the actual data being returned.</li>
</ol>
<h2>The call</h2>
<p>The &#8220;locus&#8221; for the api search can be defined in a number of ways:</p>
<ol>
<li>You can specify an IP number to base the search on (ip=129.215)
<ul>
<li>If a full quad is not given, then the full range based on what is given is assumed (so 129.215 means 129.215.0.0 to 129.215.255.255)</li>
<li>If a range is defined (ie 129.214-129.217) then the upper and lower bands are set accordingly (ie 129.214.0.0-129.217.255.255)</li>
</ul>
</li>
<li>You can specify a geographic location to base the search on (geo=55.95,-3)
<ul>
<li>The accuracy for the search depends on the numbers given: the range is always +/- 1 either side of the last decimal place given (so a bounding box of 55.94,-2.9 to 55.96,-3.1)</li>
</ul>
</li>
<li>You can specifically define an organisation ID to fix your search on (org=2736)</li>
</ol>
<p>You can specify multiple locus points, however how they interact needs to be made clear:</p>
<ul>
<li>Every locus definition <em>within the same type</em>is cumulative: if you specify two IP ranges, then anything in either range is listed
<ul>
<li>This can lead to lots and lots of results</li>
</ul>
</li>
<li>Every locus definition that <em>combines different types</em>results in an intersection of the results (all the results on a specified network range that are also within a specified geographic location)
<ul>
<li>This can lead to Zero results</li>
</ul>
</li>
</ul>
<p>In addition to defining the locus for the search, the repositories returned can be tuned to return only those of a certain type, and/or only those that accept particular types of deposits.</p>
<ul>
<li><em>type</em> is the parameter that defines the type of repository (Institutional, Data, etc), and its the code number you need (see the appropriate <a title="Development APIs : The list functions" href="http://oarepojunction.wordpress.com/2012/01/06/dev-apis-1/">list/type</a> call for the known list of types</li>
<li><em>content</em> is the parameter that defines the type of content the repository accepts (pre-prints, data, learning objects, etc), and its the code number you need  (see the appropriate <a title="Development APIs : The list functions" href="http://oarepojunction.wordpress.com/2012/01/06/dev-apis-1/">list/content</a> call for the known list of content-types</li>
</ul>
<h2>The return</h2>
<p>The data object returned is a set of <em>net objects</em> (indexed by net_id), within which is a list of <em>org objects</em> associated with that network. Within each org object is a list of <em>repo objects</em>. All objects conform to the specification <a title="New APIs" href="http://oarepojunction.wordpress.com/2011/12/14/new-apis/">here</a>.</p>
<pre> {
   'message' =&gt; {net} =&gt; 'i38647' =&gt; { 'dec_lower' =&gt; '152.78.0.0',
                                       'dec_upper' =&gt; '152.78.255.255',
                                       'orgs' =&gt; [ { 'org_name' =&gt; 'AgentLink.org',
                                                     'org_url' =&gt; 'http://www.agentlink.org',
                                                     'repos' =&gt; [ { 'repo_name' =&gt; 'xxxxxxx',
                                                                    'org_url'   =&gt; 'yyyyyy',
                                                                    ................
                                                                   },
                                                                   {
                                                                    .................
                                                                   } ]
                                                     },
                                                     {
                                                 } ],
                                       ...........
                                     }
                      =&gt; 'i39677' =&gt; {
                                       .............
                                     }
 }</pre>
<p>The data is not sorted before being returned.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/810/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=810&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2012/01/23/development-apis-the-main-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
		<item>
		<title>Development APIs : The get functions</title>
		<link>http://oarepojunction.wordpress.com/2012/01/20/development-apis-the-get-functions/</link>
		<comments>http://oarepojunction.wordpress.com/2012/01/20/development-apis-the-get-functions/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 10:28:55 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Repository Junction]]></category>
		<category><![CDATA[Snippits]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=803</guid>
		<description><![CDATA[This second suite of functions (cf the main api and the list functions) was initially created as part of a set of &#8220;data sanity checking&#8221; web pages, however it became apparent that their usefullness lived beyond my own needs, so they have been brought in-line with the other functions, and made generic. Data returns All [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=803&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This second suite of functions (<em>cf</em> the main <a title="Development APIs : The main api" href="http://oarepojunction.wordpress.com/2012/01/23/development-apis-the-main-api/">api</a> and the <a title="Development APIs : The list functions" href="http://oarepojunction.wordpress.com/2012/01/06/dev-apis-1/">list</a> functions) was initially created as part of a set of &#8220;data sanity checking&#8221; web pages, however it became apparent that their usefullness lived beyond my own needs, so they have been brought in-line with the other functions, and made generic.</p>
<h2>Data returns</h2>
<p>All APIs return data in the same ways:</p>
<ol>
<li>You can specify the format either with the Accepts header in the http request, or with the format parameter. The options are ‘prototype’ (the only place this format is available), ‘json’, ‘xml’, or ‘text’, with ‘json being the default if nothing is specified.
<ul>
<li>If there’s a callback parameter, and the format is json, then a crossDomain package is returned… very useful!</li>
</ul>
</li>
<li>For <code>prototype</code> returns, the data is formatted as an xhtml unordered list (as per the scriptalicious/prototype requirements), with the <code>for</code> attribute set to match EPrints field names.</li>
<li>For all other returns, the data is a list of data records (as per the desciption<a title="New APIs" href="http://oarepojunction.wordpress.com/2011/12/14/new-apis/" target="_blank"> here</a>)</li>
</ol>
<h2>The queries</h2>
<p>Currently at <a href="http://devel.edina.ac.uk:1201/cgi/list5/">http://devel.edina.ac.uk:1201/cgi/get_</a>xxx5, this is a suite of three APIs that are there to support AJAX calls.</p>
<p>The basic premis is that the term to be looked up is passed in a parameter &#8220;q&#8221;, and all the records that have that term somewhere in the data are returned.</p>
<p>Additional parameters can be used to tune the query:</p>
<ul>
<li>format will define the format being returned</li>
<li>field will specify which field to query on (see the individual functions for more details on this)</li>
</ul>
<p>The three queries are:</p>
<ul>
<li>get_orgs5</li>
<li>get_nets5</li>
<li>get_repos5</li>
</ul>
<h3>get_orgs5</h3>
<p>This query will search either the name or the url to return a list of organisaions that match. By default, the name field is searched.</p>
<h3>get_nets5</h3>
<p>This query will search either the name or an ip number to return a list of networks that match. By default, the name field is searched, however if the script spots an IP number, it will automatically switch to an ip search.</p>
<h3>get_repos5</h3>
<p>This query will search either by name or url to return a list of networks that match. By default, the name field is searched.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/803/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=803&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2012/01/20/development-apis-the-get-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
		<item>
		<title>Demos of the new APIs</title>
		<link>http://oarepojunction.wordpress.com/2012/01/18/demos-of-the-new-apis/</link>
		<comments>http://oarepojunction.wordpress.com/2012/01/18/demos-of-the-new-apis/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 16:30:11 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Repository Junction]]></category>
		<category><![CDATA[Snippits]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=792</guid>
		<description><![CDATA[To help ensure usability of the new APIs, I&#8217;ve created some example clients http://lucas.ucs.ed.ac.uk/oarj/index.html shows the sort of thing the main api can do. http://lucas.ucs.ed.ac.uk/oarj/example_get.html shows some of the power from the get_* calls. http://lucas.ucs.ed.ac.uk/oarj/example_list.html allows you to see what data is returned via the list calls Most of the calls are done using JQuery, which has a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=792&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To help ensure usability of the new APIs, I&#8217;ve created some example clients</p>
<ul>
<li><a href="http://lucas.ucs.ed.ac.uk/oarj/index.html">http://lucas.ucs.ed.ac.uk/oarj/index.html</a> shows the sort of thing the main api can do.</li>
<li><a href="http://lucas.ucs.ed.ac.uk/oarj/example_get.html">http://lucas.ucs.ed.ac.uk/oarj/example_get.html</a> shows some of the power from the get_* calls.</li>
<li><a href="http://lucas.ucs.ed.ac.uk/oarj/example_list.html">http://lucas.ucs.ed.ac.uk/oarj/example_list.html</a> allows you to see what data is returned via the list calls</li>
</ul>
<p>Most of the calls are done using JQuery, which has a mechanism for doing CrossDomain calls &#8211; and all the scripts support that functionality if you want it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/792/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/792/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/792/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/792/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/792/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/792/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/792/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/792/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/792/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/792/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/792/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/792/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/792/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/792/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=792&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2012/01/18/demos-of-the-new-apis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
		<item>
		<title>Development APIs : The list functions</title>
		<link>http://oarepojunction.wordpress.com/2012/01/06/dev-apis-1/</link>
		<comments>http://oarepojunction.wordpress.com/2012/01/06/dev-apis-1/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 11:45:30 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Repository Junction]]></category>
		<category><![CDATA[Snippits]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=778</guid>
		<description><![CDATA[OK, so there&#8217;s some interesting data to get &#8211; but how do you get it? There are three general APIs, or 10&#8230; depending on how you count them. Data returns All APIs return data in the same ways: You can specify the format either with the Accepts header in the http request, or with the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=778&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK, so there&#8217;s some interesting data to get &#8211; but how do you get it?</p>
<p>There are three general APIs, or 10&#8230; depending on how you count them.</p>
<h2>Data returns</h2>
<p>All APIs return data in the same ways:</p>
<ol>
<li>You can specify the format either with the Accepts header in the http request, or with the format parameter. The options are &#8216;json&#8217;, &#8216;xml&#8217;, or &#8216;text&#8217;, with &#8216;json being the default if nothing is specified.
<ul>
<li>If there&#8217;s a callback parameter, and the format is json, then a crossDomain package is returned&#8230; very useful!</li>
</ul>
</li>
<li>All return the data as a nested object, with three top-level elements:</li>
</ol>
<pre> {
   'message' =&gt; {}
   'status'  =&gt; 'ok',
   'to'      =&gt; 'http://.....'
 }</pre>
<p><code>status</code> is &#8220;ok&#8221; or &#8220;fail&#8221;, <code>to</code> is the url that made the query, and <code>message</code> contains the actual data being returned&#8230;. which is dependant on the query!</p>
<h2>The queries</h2>
<p>Lets start with the suite that list things  (<em>cf</em> the AJAXie <a title="Development APIs : The get functions" href="http://oarepojunction.wordpress.com/2012/01/20/development-apis-the-get-functions/">get_xxx</a> functions and the main <a title="Development APIs : The main api" href="http://oarepojunction.wordpress.com/2012/01/23/development-apis-the-main-api/">api</a>)&#8230; currently at <a href="http://devel.edina.ac.uk:1201/cgi/list5/">http://devel.edina.ac.uk:1201/cgi/list5/</a>xxx, this is a suite of six APIs that pull out a list things:</p>
<ul>
<li>type</li>
<li>content</li>
<li>country</li>
<li>lang</li>
<li>org</li>
<li>net</li>
</ul>
<h3>type</h3>
<p>This lists the <em>type</em> (or classification) of repository.</p>
<pre>'message' =&gt; {
               'type' =&gt; [
                           {
                             'code' =&gt; 1,
                             'text' =&gt; 'Subject (Research Cross-Institutional)'
                           },
                           {
                             'code' =&gt; 2,
                             'text' =&gt; 'Other'
                           },
                           ......
                         ]
                      },</pre>
<table>
<tbody>
<tr>
<th>code</th>
<th>text</th>
</tr>
<tr>
<td>1</td>
<td>Undetermined – Repositories whose type has not yet been assessed</td>
</tr>
<tr>
<td>2</td>
<td>Institutional (Institutional or departmental repositories)</td>
</tr>
<tr>
<td>3</td>
<td>Disciplinary (Cross-institutional subject repositories)</td>
</tr>
<tr>
<td>4</td>
<td>Aggregating (Archives aggregating data from several subsidiary repositories)</td>
</tr>
<tr>
<td>5</td>
<td>Governmental (Repositories for governmental data)</td>
</tr>
<tr>
<td>6</td>
<td>Subject (Research Cross-Institutional)</td>
</tr>
<tr>
<td>7</td>
<td>Journal (e-Journal/Publication)</td>
</tr>
<tr>
<td>8</td>
<td>Thesis</td>
</tr>
<tr>
<td>9</td>
<td>Database (Database/A&amp;I Index)</td>
</tr>
<tr>
<td>10</td>
<td>Learning (Learning and Teaching Objects)</td>
</tr>
<tr>
<td>11</td>
<td>Other</td>
</tr>
<tr>
<td>12</td>
<td>Demonstration</td>
</tr>
</tbody>
</table>
<p>When a repository type is needed by <em>/api</em>, it is the <strong>code</strong> number you need.</p>
<p>Adding the parameter <code>full=1</code> will cause the query to return all the repositories that are of that type listed under a <code>repos</code> element. Note that repositories are not exclusively one type or another, and may appear under multiple types.</p>
<p>The repos sub-elements are indexed by <code>repo_id</code>. There is also a <code>count</code> element which will tell you how many repositories are in the set.</p>
<h3>content</h3>
<p>This lists the type of <em>content</em> that repositories accept</p>
<pre>  &lt;message&gt;
    &lt;content&gt;
      &lt;code&gt;1&lt;/code&gt;
      &lt;text&gt;Research papers (pre- and postprints)&lt;/text&gt;
    &lt;/content&gt;
    &lt;content&gt;
      &lt;code&gt;2&lt;/code&gt;
      &lt;text&gt;Research papers (preprints only)&lt;/text&gt;
    &lt;/content&gt;
    .....
  &lt;/message&gt;</pre>
<table>
<tbody>
<tr>
<th>code</th>
<th>text</th>
</tr>
<tr>
<td>1</td>
<td>Research papers (pre- and postprints)</td>
</tr>
<tr>
<td>2</td>
<td>Research papers (preprints only)</td>
</tr>
<tr>
<td>3</td>
<td>Research papers (postprints only)</td>
</tr>
<tr>
<td>4</td>
<td>Bibliographic references</td>
</tr>
<tr>
<td>5</td>
<td>Conference and workshop papers</td>
</tr>
<tr>
<td>6</td>
<td>Theses and dissertations</td>
</tr>
<tr>
<td>7</td>
<td>Unpublished reports and working papers</td>
</tr>
<tr>
<td>8</td>
<td>Books &amp; chapters and sections</td>
</tr>
<tr>
<td>9</td>
<td>Datasets</td>
</tr>
<tr>
<td>10</td>
<td>Learning Objects</td>
</tr>
<tr>
<td>11</td>
<td>Multimedia and audio-visual materials</td>
</tr>
<tr>
<td>12</td>
<td>Software</td>
</tr>
<tr>
<td>13</td>
<td>Patents</td>
</tr>
<tr>
<td>14</td>
<td>Other special item types</td>
</tr>
</tbody>
</table>
<p>When a content type is to be defined in /api, it is the <strong>code</strong> number you need.</p>
<div>
<p>Adding the parameter <code>full=1</code> will cause the query to return all the repositories that accept the content-type listed under a <code>repos</code> element. Note that repositories are usually accept multiple content-types, so will appear under multiple entries.</p>
<p>The repos sub-elements are indexed by <code>repo_id</code>. There is also a <code>count</code> element which will tell you how many repositories are in the set.</p>
<h3> lang</h3>
</div>
<p>This lists all the languages the dataset knows about (in essence, the ISO 639 codes).</p>
<p>(We are limited to ISO 639-2 as ISO639-3 &amp; later are not Open Access lists and there is a clause which states &#8220;the product, system, or device does not provide a means to redistribute the code set.&#8221;)</p>
<pre>{
  "to" : "http://devel.edina.ac.uk:1201/cgi/list5/lang",
  "status" : "ok",
  "message" : {
    "lang" : [
      {
        "text" : "Abkhazian",
        "iso3_b" : "abk",
        "code" : "ab"
      },
      {
        "text" : "Achinese",
        "iso3_b" : "ace"
      },
    ]
  }
}</pre>
<p>Adding the parameter <code>full=1</code> will cause the query to return all the repositories that assert they use that language in their interface, listed in a <code>repos</code> element. Many non-english interfaces are multi-lingual, and those repositories will appear in multiple lists.</p>
<p>The repos sub-elements are indexed by <code>repo_id</code>. There is also a <code>count</code> element which will tell you how many repositories are in the set.</p>
<h3>country</h3>
<p>This lists all the counties the dataset knows about (in essence, the ISO 3166-1 codes).</p>
<pre>{
  "to" : "http://devel.edina.ac.uk:1201/cgi/list5/country",
  "status" : "ok",
  "message" : {
    "country" : [
      {
        "text" : "Andora",
        "code" : "ad"
      },
      {
        "text" : "United Arab Emirates",
        "code" : "ae"
      },
    ]
  }
}</pre>
<p>Adding the parameter <code>full=1</code> will cause the query to include all the repositories, under a <code>repos</code> element, that are listed [in OpenDOAR] as from of that country. OpenDOAR does not have a concept of multiple countries for a repository.</p>
<p>The repos sub-elements are indexed by <code>repo_id</code>. There is also a <code>count</code> element which will tell you how many repositories are in the set.</p>
<h3>org</h3>
<p>This lists all the organisations in the dataset. This script will take over 15 minutes to complete&#8230; there is a LOT of data to return!</p>
<pre>{
  "to" : "http://devel.edina.ac.uk:1201/cgi/list5/org",
  "status" : "ok",
  "message" : {
    "org" : {
      "1" : {
        &lt;as per org listing&gt;
      },
      "4": { 
        &lt;as per org listing&gt;
      },
    ]
  }
}</pre>
<p>Adding the parameter <code>full=1</code> will cause the query to return all the repositories that are of that type listed under a <code>repos</code> element. Running the query with the full flag can take twenty minutes!</p>
<p>The repos sub-elements are, in this situation, listed as described in <a title="New APIs" href="http://oarepojunction.wordpress.com/2011/12/14/new-apis/">this post</a> .</p>
<div></div>
<h3>net</h3>
<p>Adding the parameter <code>full=1</code> will cause the query to return all the repositories that are of that type listed under a <code>repos</code> element. Note that repositories are not exclusively one type or another, and may appear under multiple types.</p>
<p>The repos sub-elements are indexed by <code>repo_id</code>. There is also a <code>count</code> element which will tell you how many repositories are in the set.</p>
<div></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/778/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/778/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/778/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/778/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/778/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/778/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/778/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/778/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/778/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/778/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/778/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/778/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/778/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/778/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=778&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2012/01/06/dev-apis-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
		<item>
		<title>Introducing the new APIs</title>
		<link>http://oarepojunction.wordpress.com/2011/12/14/new-apis/</link>
		<comments>http://oarepojunction.wordpress.com/2011/12/14/new-apis/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 11:03:52 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Repository Junction]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=757</guid>
		<description><![CDATA[Its been a long time coming (OK, I&#8217;ve been distracted by other things too), however the new APIs using a new dataset, are nearly ready. The new calls return far more data, and in a consistent way! The new dataset is a better merging of OpenDOAR and ROAR (and it updates from those &#8220;Authoritative&#8221; sources [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=757&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Its been a long time coming (OK, I&#8217;ve been distracted by other things too), however the new APIs using a new dataset, are nearly ready.</p>
<p>The new calls return far more data, and in a consistent way!</p>
<p>The new dataset is a better merging of OpenDOAR and ROAR (and it updates from those &#8220;Authoritative&#8221; sources on weekly), and adds in records from the UK Access Management Federation (harvesting daily) and the webometrics list of 12,000 universities (<a href="http://www.webometrics.info/">http://www.webometrics.info/</a> - harvested on an ad-hoc basis)</p>
<p>The OA Organisation Identification Service (as we are now starting to call it) is now predominantly a list of [academic] organisations, with details of networks and repositories associated with them&#8230;. it is no longer a list of repositories and their organisations (as ROAR &amp; OpenDOAR are)</p>
<h2>How big is it?</h2>
<p>How does 14,000 Organisations, 2,700 repositories, and 6,700 networks grab you? There are 17,00 URLs and 33,000 names for these objects&#8230;. its big! &#8230;. and growing bigger all the time!</p>
<p>If you can find me more good sources of Repositories or Academic Organisations, I&#8217;ll see about including them too!</p>
<h2>What data is returned?</h2>
<hr />
<h4>When you get data on an <strong>organisation</strong>, you get:</h4>
<table>
<tbody>
<tr>
<td>org_id</td>
<td>The ID for the org (can be used in other API calls)</td>
</tr>
<tr>
<td>lat</td>
<td>The Latitude held for the organisation</td>
</tr>
<tr>
<td>long</td>
<td>The Longitude held for the organisation</td>
</tr>
<tr>
<td>identites</td>
<td>A list of names (and URLs) for the organisation (see below for details)</td>
</tr>
<tr>
<td colspan="2">Data is also pulled in from the identities data:<br />
&#8230; the following are taken from the first identity record:</p>
<table>
<tbody>
<tr>
<td>org_name</td>
</tr>
<tr>
<td>org_npri</td>
</tr>
<tr>
<td>org_acronym</td>
</tr>
<tr>
<td>org_npref</td>
</tr>
<tr>
<td>org_iri</td>
</tr>
</tbody>
</table>
<p>&#8230;. and these are taken from the first matching (else non-matching) URL for the first identity:</p>
<table>
<tbody>
<tr>
<td>org_url</td>
</tr>
<tr>
<td>org_upri</td>
</tr>
<tr>
<td>org_checked_good</td>
</tr>
<tr>
<td>org_date_checked</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<hr />
<h4>When you get data on a <strong>repository</strong>, you get:</h4>
<table>
<tbody>
<tr>
<td>repo_id</td>
<td>The ID for the repository (can be used in other API calls)</td>
</tr>
<tr>
<td>lat</td>
<td>The Latitude held for the repository</td>
</tr>
<tr>
<td>long</td>
<td>The Longitude held for the repositiry</td>
</tr>
<tr>
<td>postaddress</td>
<td>The address the repository is located at</td>
</tr>
<tr>
<td>countrycode</td>
<td>The country the repository is in</td>
</tr>
<tr>
<td>oaibaseurl</td>
<td>The URL for OAI harvesting</td>
</tr>
<tr>
<td>softwarename</td>
<td>What software it uses (EPrints, DSpace, flubber, etc)</td>
</tr>
<tr>
<td>softwareversion</td>
<td>What version of the software</td>
</tr>
<tr>
<td>description</td>
<td>The main description for the repository</td>
</tr>
<tr>
<td>comment</td>
<td>A list of additional comments for the repositories</td>
</tr>
<tr>
<td>types</td>
<td>A list of repository types the repository is (institutional, data, etc)</td>
</tr>
<tr>
<td>content</td>
<td>A list of content types the repository accepts (Pre-prints, data, etc)</td>
</tr>
<tr>
<td>external_ids</td>
<td>A list of external ids [OpenDOAR_123, etc]</td>
</tr>
<tr>
<td>language</td>
<td>A list of languages used in the repository interface</td>
</tr>
<tr>
<td>sword</td>
<td>A list of servicedocument locations for the repository</td>
</tr>
<tr>
<td>identites</td>
<td>A list of names (and URLs) for the organisation (see below for details)</td>
</tr>
<tr>
<td colspan="2">&#8230; the following are taken from the first identity record:</p>
<table>
<tbody>
<tr>
<td>repo_name</td>
</tr>
<tr>
<td>repo_npri</td>
</tr>
<tr>
<td>repo_acronym</td>
</tr>
<tr>
<td>repo_npref</td>
</tr>
<tr>
<td>repo_iri</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2">&#8230;. and these are taken from the first matching (else non-matching) URL for the first identity:</p>
<table>
<tbody>
<tr>
<td>repo_url</td>
</tr>
<tr>
<td>repo_upri</td>
</tr>
<tr>
<td>repo_checked_good</td>
</tr>
<tr>
<td>repo_date_checked</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<hr />
<h4>When you get data on a <strong>network</strong>, you get:</h4>
<table>
<tbody>
<tr>
<td>net_id</td>
<td>The ID for the network (can be used in other API calls)</td>
</tr>
<tr>
<td>inetnum</td>
<td>The IP range for the network (123.234.0.0-123.234.63.255)</td>
</tr>
<tr>
<td>dec_lower</td>
<td>The first IP number of the range (123.234.0.0, from above)</td>
</tr>
<tr>
<td>dec_upper</td>
<td>The last IP number of the range (123.234.63.255, from above)</td>
</tr>
<tr>
<td>identites</td>
<td>A list of name(s) for the network (see below for details) &#8211; there are no URLS, obviously</td>
</tr>
<tr>
<td colspan="2">&#8230; the following are taken from the first identity record:</p>
<table>
<tbody>
<tr>
<td>net_name</td>
</tr>
<tr>
<td>net_npri</td>
</tr>
<tr>
<td>net_acronym</td>
</tr>
<tr>
<td>net_npref</td>
</tr>
<tr>
<td>net_iri</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<hr />
<h4>identities</h4>
<p>Each entry in the array is a name for the object, with whichever name is defined as &#8220;Primary&#8221; at the start of the list.</p>
<p>Each identity object contains the following keys (if they exist in the database):</p>
<table>
<tbody>
<tr>
<td>name</td>
<td>The name of the object (&#8216;Poppleton Univeristy&#8217;, &#8216;Plink-Plonk Repository&#8217;, etc)</td>
</tr>
<tr>
<td>acronym</td>
<td>Any acronym the object may be known as (&#8216;PU&#8217;, &#8216;PPR&#8217;, etc)</td>
</tr>
<tr>
<td>npref</td>
<td>A true/false flag that indicates which is the preferred term.<br />
(Absent means true, not false&#8230;. or &#8220;There is no statement that the name is not the preferred term&#8221; )</td>
</tr>
<tr>
<td>pri</td>
<td>A true/false flag that indicates if the name is marked as Primary.Again, this flag in not always defined, as there may be only one option, or there may be know definite name that is the primary name.</td>
</tr>
<tr>
<td>iri</td>
<td>The Open Linked-Data iri to get the linked-data record</td>
</tr>
<tr>
<td>nid</td>
<td>The database ID for the name</td>
</tr>
<tr>
<td>urls</td>
<td>A sub-element containing URL data for the object, as associated with the particular name.</td>
</tr>
</tbody>
</table>
<p><strong>urls</strong></p>
<p>In the database, there is an association between names and URLs. This is to enable objects to have multi-lingual names, and appropriate urls for each language (eg: Ukranian, Russian, and English)</p>
<p>The urls element contains two keys: &#8220;matching&#8221; and &#8220;non-matching&#8221;, both of which are lists on url objects:</p>
<pre>'urls' =&gt; {
              'matching' =&gt; [
                                {....},
                                {....}
                               ],
          'non_matching' =&gt; [
                                {....},
                                {....}
                               ]
             }</pre>
<p>If a URL is flagged as Primary, it is placed at the front of the appropriate list</p>
<p>Within each url object, the following data is returned:</p>
<table>
<tbody>
<tr>
<td>url</td>
<td>The actual URL</td>
</tr>
<tr>
<td>pri</td>
<td>Whether the URL is marked as a primnary one</td>
</tr>
<tr>
<td>live</td>
<td>A true/false flag to indicate if the URL returns [a non-error] web page</td>
</tr>
<tr>
<td>date</td>
<td>The date that the URL was last checked.<br />
Note that no history is kept of the alive/not-alive checking.<br />
Hosts that are alive are re-checked weekly, hosts that are not flagged as alive are checked on a daily basis</td>
</tr>
<tr>
<td>uid</td>
<td>The database ID for the URL</td>
</tr>
</tbody>
</table>
<p>Comprehensive enough? want more? speak to me&#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/757/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=757&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2011/12/14/new-apis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
		<item>
		<title>Trying to get my head around the options&#8230;.</title>
		<link>http://oarepojunction.wordpress.com/2011/09/20/trying-to-get-my-head-around-the-options/</link>
		<comments>http://oarepojunction.wordpress.com/2011/09/20/trying-to-get-my-head-around-the-options/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 15:40:01 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Discussions]]></category>
		<category><![CDATA[Repository Junction]]></category>
		<category><![CDATA[Snippits]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=753</guid>
		<description><![CDATA[OK, so here&#8217;s the problem: An organisation can have multiple names, and it can have multiple URLs&#8230;. and sometimes one can identify a straight one-to-one relationship between the two. For example: Riga Technical University is the english name for Rīgas Tehniskā Universitāte. Being clever, I have identified http://www.rtu.lv as the home page (in its native Latvian) and http://www.rtu.lv/en (as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=753&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK, so here&#8217;s the problem:</p>
<p>An organisation can have multiple names, and it can have multiple URLs&#8230;. and sometimes one can identify a straight one-to-one relationship between the two.</p>
<p>For example: Riga Technical University is the english name for Rīgas Tehniskā Universitāte. Being clever, I have identified http://www.rtu.lv as the home page (in its native Latvian) and http://www.rtu.lv/en (as the english-language version). I can even associate the URLs as appropriate: the english name links to the english-language pages, and the Latvian name links to the Latvian-language pages.</p>
<p>Life is a tad more complex in other places. For example &#8220;Đại học Quốc gia Hồ Chí Minh&#8221; can be called either &#8220;National University of Ho Chi Minh&#8221; or &#8220;Ho Chi Minh City Vietnam National University&#8221; in english&#8230;.  yet I have only one URL: http://www.vnuhcm.edu.vn</p>
<p>Contrary-wise: EDINA has just one name, but two URLs (http://edina.ac.uk and http://www.edina.ac.uk )</p>
<p>There are, naturally, some unknown number of instances where the name and the URL have not been linked &#8211; where the harvesting code was unable to make a &#8220;sensible&#8221; correlation.</p>
<p>The problem is working out how to model this sometimes-present relationship of many-to-many &#8211; in code, in data-returns, and on the screen.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/753/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=753&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2011/09/20/trying-to-get-my-head-around-the-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting carried away?</title>
		<link>http://oarepojunction.wordpress.com/2011/07/19/getting-carried-away/</link>
		<comments>http://oarepojunction.wordpress.com/2011/07/19/getting-carried-away/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 13:48:46 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Repository Junction]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=744</guid>
		<description><![CDATA[Are we getting carried away here? I&#8217;ve just added a screen-scrape harvest of Universities from the Webometircs people into the dataset&#8230;. which gives us over 13,900 organisations (and 2,700 repositories). It&#8217;s becoming harder to recognise duplicates (to clarify &#8211; duplicates which are not obvious! &#8220;Addis Ababa University Libraries Electronic Thesis and Dissertations Database&#8221; and &#8220;Addis [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=744&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Are we getting carried away here? I&#8217;ve just added a screen-scrape harvest of Universities from the Webometircs people into the dataset&#8230;. which gives us over 13,900 organisations (and 2,700 repositories).</p>
<p>It&#8217;s becoming harder to recognise duplicates (to clarify &#8211; duplicates which are not obvious! &#8220;Addis Ababa University Libraries Electronic Thesis and Dissertations Database&#8221; and &#8220;Addis Ababa University Electronic Thesis and Dissertations&#8221; need a human to recognise as being the same)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/744/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=744&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2011/07/19/getting-carried-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
		<item>
		<title>Broker passing on Embargo details</title>
		<link>http://oarepojunction.wordpress.com/2011/05/24/broker-passing-on-embargo-details/</link>
		<comments>http://oarepojunction.wordpress.com/2011/05/24/broker-passing-on-embargo-details/#comments</comments>
		<pubDate>Tue, 24 May 2011 14:45:02 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Broker]]></category>
		<category><![CDATA[Snippits]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=740</guid>
		<description><![CDATA[The OA-RJ Broker package now includes an embargo attribute for every document in the transfer object. I chose the document level as this is the level of refinement used in EPrints (DSpace appears to embargo at item level), which is as fine-grained as is needed. The actual attribute is applied to the div element in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=740&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The OA-RJ Broker package now includes an embargo attribute for every document in the transfer object.</p>
<p>I chose the document level as this is the level of refinement used in EPrints (DSpace appears to embargo at item level), which is as fine-grained as is needed.</p>
<p>The actual attribute is applied to the div element in the structMap section:</p>
<pre>&lt;div ID="sword-mets-div-2" oarj_embargo="2010-07-01"&gt;
  &lt;fptr FILEID="eprint-2-document-9-0" /&gt;
&lt;/div&gt;</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/740/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=740&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2011/05/24/broker-passing-on-embargo-details/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
		<item>
		<title>Tweeking the Broker&#8217;s input routines</title>
		<link>http://oarepojunction.wordpress.com/2011/05/18/tweeking-the-brokers-input-routines/</link>
		<comments>http://oarepojunction.wordpress.com/2011/05/18/tweeking-the-brokers-input-routines/#comments</comments>
		<pubDate>Wed, 18 May 2011 13:28:07 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Broker]]></category>
		<category><![CDATA[Snippits]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=736</guid>
		<description><![CDATA[It has become important to be more careful in selecting the repositories to transfer items to. Until now, as this is a prototype, we have simply listed all the repositories for an organisation, and to heck with the suitability. Now we are getting more and more data from Nature Publishing Group, it has become important [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=736&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It has become important to be more careful in selecting the repositories to transfer items to.<br />
Until now, as this is a prototype, we have simply listed all the repositories for an organisation, and to heck with the suitability.<br />
Now we are getting more and more data from Nature Publishing Group, it has become important to restrict any data-transfers to repositories that accept ePrints (and not send them to Learning Object or Data repositories)&#8230;. of course, if we have no record of the content type that the repository accepts, we need to include it anyway (just in case.)</p>
<p>I&#8217;m also adding embargo data to deposits: records that are defined as being <strong><em>not</em></strong> Open Access need to have an embargo period added to all files&#8230;. 6 months from the publication date.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/736/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=736&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2011/05/18/tweeking-the-brokers-input-routines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
		<item>
		<title>Tricks and Tips with the Broker</title>
		<link>http://oarepojunction.wordpress.com/2011/04/20/tricks-and-tips-with-the-broker/</link>
		<comments>http://oarepojunction.wordpress.com/2011/04/20/tricks-and-tips-with-the-broker/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 14:13:20 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Broker]]></category>
		<category><![CDATA[Snippits]]></category>

		<guid isPermaLink="false">http://oarepojunction.wordpress.com/?p=722</guid>
		<description><![CDATA[Let&#8217;s say you are a publisher, or someone who is going to use the Broker to distribute articles you have to the various authors&#8217; repositories (and before you scoff, there are a number of good reasons why a publisher would want to do this, not least of which include &#8220;being the good guy&#8221; and that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=722&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you are a publisher, or someone who is going to use the Broker to distribute articles you have to the various authors&#8217; repositories (and before you scoff, there are a number of good reasons why a publisher would want to do this, not least of which include &#8220;being the good guy&#8221; and that old butt-protection one of &#8220;ensuring that the right version gets put in the repository&#8221;, the version <em>you</em> want to be there.)</p>
<p>Anyway, depositing via the Broker&#8230; and you&#8217;d quite like to know where your deposits are being transferred to.  Not a problem&#8230;. if you deposit via SWORD!</p>
<p>When you make a sword deposit, you get back a URL for the item (such as http://broker.com/1234) &#8211; from this we can track the record:</p>
<pre>http://broker.com/cgi/export/eprint/1234/XML/broker-eprint-1234.xml</pre>
<p>will return an XML report on record 1234.</p>
<p>This will include a set of elements:</p>
<pre>  &lt;broker&gt;
      &lt;item&gt;
        &lt;orgid&gt;16300&lt;/orgid&gt;
        &lt;orgname&gt;EDINA&lt;/orgname&gt;
        &lt;repoid&gt;11845&lt;/repoid&gt;
        &lt;reponame&gt;OpenDepot.org&lt;/reponame&gt;
        &lt;sword&gt;TRUE&lt;/sword&gt;
        &lt;sent&gt;2011-04-20&lt;/sent&gt;
        &lt;return&gt;http://broker.com/1234&lt;/return&gt;
        &lt;live&gt;2011-04-20&lt;/live&gt;
        &lt;target&gt;http://opendepot.org/436/&lt;/target&gt;
        &lt;note&gt;&lt;/note&gt;
        &lt;archiver&gt;FALSE&lt;/archiver&gt;
     &lt;/item&gt;
     &lt;item&gt;
       ........
     &lt;/item&gt;
     &lt;item&gt;
       ........
     &lt;/item&gt;
     ........
  &lt;/broker&gt;</pre>
<p>This tells you a number of things:</p>
<ul>
<li><code>orgid</code> and <code>orgname</code> are the organisation we have identified as being one we want to send data to</li>
<li><code>repoid</code> and <code>reponame</code> are the repository (for the organisation) that we want to send the data to</li>
<li><code>sword</code> indicates we have SWORD credentials to be able to transfer to this repository</li>
<li><code>sent</code> is the date we (successfully) transferred the item to the repository</li>
<li><code>return</code> is the url we were given as the location for the item in the target repository</li>
<li><code>live</code> is the date we found the item when we went looking for it</li>
<li><code>target</code> is the URL we found it at</li>
</ul>
<p>&#8230;. Oh, and </p>
<pre>http://broker.com/cgi/export/eprint/1234/json/broker-eprint-1234.js</pre>
<p>gives you the same thing, in JSON format.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oarepojunction.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oarepojunction.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oarepojunction.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oarepojunction.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oarepojunction.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oarepojunction.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oarepojunction.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oarepojunction.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oarepojunction.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oarepojunction.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oarepojunction.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oarepojunction.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oarepojunction.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oarepojunction.wordpress.com/722/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oarepojunction.wordpress.com&amp;blog=9161343&amp;post=722&amp;subd=oarepojunction&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oarepojunction.wordpress.com/2011/04/20/tricks-and-tips-with-the-broker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7f38121bf322ae786aadacfaae89543?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ian</media:title>
		</media:content>
	</item>
	</channel>
</rss>
