{"id":582,"date":"2009-11-02T15:03:38","date_gmt":"2009-11-02T14:03:38","guid":{"rendered":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/?p=582"},"modified":"2009-11-02T15:03:38","modified_gmt":"2009-11-02T14:03:38","slug":"accessing-sconul-access","status":"publish","type":"post","link":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/2009\/11\/accessing-sconul-access\/","title":{"rendered":"Accessing Sconul Access"},"content":{"rendered":"<p>This is a very quick lunchtime post to document a script I&#8217;ve been working on over the last week or so. <a href=\"http:\/\/www.access.sconul.ac.uk\/\">SCONUL Access<\/a> is a scheme that offers reciprocal access to various university libraries across the UK.<\/p>\n<p>The SCONUL Access website allows you to enter details of a UK university affiliation, and then will list details of those libraries which you can use via the reciprocal agreement scheme (you have to apply for a SCONUL access card at your &#8216;home&#8217; institution before you can use the other libraries).<\/p>\n<p>I&#8217;ve occasionally thought it would be nice to do something like map the results of a SCONUL access enquiry on a Google map, or integrate the question of &#8216;which libraries can I use&#8217; with &#8216;where can I get a book&#8217; &#8211; so that users could potentially do a search of all the libraries they can access (perhaps limited by a geographical radius?). Aside from these ideas, the SCONUL Access directory actually contains quite a bit of useful information on each library it lists &#8211; including the insitution website, the library website and the library catalogue URL.<\/p>\n<p>Further, I was recently inspired by Philip Adams from Leicester (<a href=\"http:\/\/twitter.com\/Fulup\">@Fulup<\/a>) on Twitter who pointed me at http:\/\/www.library.dmu.ac.uk\/Resources\/OPAC\/index.php?page=366 which combines information from SCONUL access with the <a href=\"http:\/\/directory.talis.com\/ui\/\">Talis Silkworm directory<\/a> to show SCONUL Access libraries (relevant to those at the University of Leicester I guess) on Google Maps.<\/p>\n<p>Unfortunately the SCONUL Access website doesn&#8217;t provide an API to query the data it has on the libraries, so I thought I&#8217;d start writing something. I haven&#8217;t (yet anyway) tried to replicate the function that SCONUL access provide of taking user details, and giving a list of available libraries &#8211; to get this function you still have to <a href=\"http:\/\/www.access.sconul.ac.uk\/members\">go to SCOUNL Access website and fill in their forms<\/a>. What my script does is simply provide SCONUL Access member library details in an XML format. The script lives at:<\/p>\n<p><a href=\"http:\/\/www.meanboyfriend.com\/sconulaccess\">http:\/\/www.meanboyfriend.com\/sconulaccess<\/a><\/p>\n<p>It supports three modes of use:<\/p>\n<p><strong>1. Summary of all SCONUL Access libraries<\/strong><br \/>\nURL: <a href=\"http:\/\/www.meanboyfriend.com\/sconulaccess\">http:\/\/www.meanboyfriend.com\/sconulaccess<\/a><br \/>\nFunction: returns a summary of all institutions participating in SCONUL Access from <a href=\"https:\/\/www.sconul.ac.uk\/access\/contacts_info\/azresults.html\">their A-Z Listing<\/a>. This XML (see below for format) only includes the SCONUL Access (internal) code for the library, the name of the institution and the URL for the full SCONUL Access record<\/p>\n<p><strong>2. Full records for specified SCONUL Access libraries<\/strong><br \/>\nURL: http:\/\/www.meanboyfriend.com\/sconulaccess\/?<comma separated SCONUL Access IDs> e.g. <a href=\"http:\/\/www.meanboyfriend.com\/sconulaccess\/?institution=2,3,4\">http:\/\/www.meanboyfriend.com\/sconulaccess\/?institution=2,3,4<\/a><br \/>\nFunction: returns full records for each institution specified by its SCONUL Access ID in the URL (see full XML structure below)<\/p>\n<p><strong>3. Full records for all SCONUL Access libraries<\/strong><br \/>\nURL: <a href=\"http:\/\/www.meanboyfriend.com\/sconulaccess\/?institution=all\">http:\/\/www.meanboyfriend.com\/sconulaccess\/?institution=all<\/a><br \/>\nFunction: similar to 2 but returns full records for all institutions that are obtained via 1. This takes some time to return results as it retrieves over 180 records from the SCONUL Access website &#8211; so it isn&#8217;t recommended for general use.<\/p>\n<p><strong>XML Structure<\/strong><\/p>\n<p>&lt;sconul_access_results&gt;<br \/>\n&nbsp;&lt;institution code=&#8221;4&#8243; name=&#8221;Aston University&#8221;&gt;<br \/>\n&nbsp;&nbsp;&lt;inst_sconul_url&gt;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;http:\/\/www.access.sconul.ac.uk\/members\/institution_html?ins_id=4<br \/>\n&nbsp;&nbsp;&lt;\/inst_sconul_url&gt;<br \/>\n&nbsp;&nbsp;&lt;website&gt;http:\/\/www.aston.ac.uk\/&lt;\/website&gt;<br \/>\n&nbsp;&nbsp;&lt;library_website&gt;http:\/\/www1.aston.ac.uk\/lis\/&lt;\/library_website&gt;<br \/>\n&nbsp;&nbsp;&lt;library_catalogue&gt;http:\/\/library.aston.ac.uk\/&lt;\/library_catalogue&gt;<br \/>\n&nbsp;&nbsp;&lt;contact_name&gt;Anne Perkins&lt;\/contact_name&gt;<br \/>\n&nbsp;&nbsp;&lt;contact_title&gt;Public Services Coordinator&lt;\/contact_title&gt;<br \/>\n&nbsp;&nbsp;&lt;contact_email&gt;a.v.perkins@aston.ac.uk&lt;\/contact_email&gt;<br \/>\n&nbsp;&nbsp;&lt;contact_telephone&gt;01212044492&lt;\/contact_telephone&gt;<br \/>\n&nbsp;&nbsp;&lt;contact_postcode&gt;B4 7ET&lt;\/contact_postcode&gt;<br \/>\n&nbsp;&lt;\/institution&gt;<br \/>\n&nbsp;&lt;source&gt;<br \/>\n&nbsp;&nbsp;&lt;source_url&gt;http:\/\/www.access.sconul.ac.uk\/&lt;\/source_url&gt;<br \/>\n&nbsp;&nbsp;&lt;rights&gt;Copyright SCONUL. SCONUL, 102 Euston Street, London, NW1 2HS. &lt;\/rights&gt;<br \/>\n&nbsp;&lt;\/source&gt;<br \/>\n&lt;\/sconul_access_results&gt;<\/p>\n<p>The &lt;institution&gt; element is repeatable.<br \/>\nFor (1) above the only elements returned are:<br \/>\n&lt;institution&gt;<br \/>\n&lt;\/inst_sconul_url&gt;<br \/>\n&lt;source&gt; (and subelements)<\/p>\n<p>Anyway, I&#8217;d be interested in comments, and would be happy to look at alternative functions and formats &#8211; let me know if there is anything you&#8217;d like to see.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a very quick lunchtime post to document a script I&#8217;ve been working on over the last week or so. SCONUL Access is a scheme that offers reciprocal access to various university libraries across the UK. The SCONUL Access website allows you to enter details of a UK university affiliation, and then will list [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-582","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts\/582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/comments?post=582"}],"version-history":[{"count":11,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts\/582\/revisions"}],"predecessor-version":[{"id":593,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts\/582\/revisions\/593"}],"wp:attachment":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/media?parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/categories?post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/tags?post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}