<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Technosocial scenarios for Sutton: 1: The library</title>
	<atom:link href="http://blog.adrianshort.co.uk/2009/03/10/technosocial-scenarios-for-sutton-1-the-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adrianshort.co.uk/2009/03/10/technosocial-scenarios-for-sutton-1-the-library/</link>
	<description>Government web design, open data, transparency, etc.</description>
	<lastBuildDate>Sun, 12 Feb 2012 12:21:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Adrian Short</title>
		<link>http://blog.adrianshort.co.uk/2009/03/10/technosocial-scenarios-for-sutton-1-the-library/comment-page-1/#comment-354</link>
		<dc:creator>Adrian Short</dc:creator>
		<pubDate>Wed, 11 Mar 2009 14:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://adrianshort.co.uk/?p=299#comment-354</guid>
		<description>Most of this is based around the library itself having an open API that permits the following:

- get a list of new acquisitions
- reserve an item for a member
- lend an item to a member

RFID is a bit of a red herring here, perhaps. All that&#039;s required is to be able to easily identify items (eg. books) and members. To use the API, members (via their client applications) will need to be authenticated.

Let&#039;s say the underlying database is something like this with these three tables:

Members
=======
id
name
password

Items
=====
id
date_acquired
author
title

Loans
=====
id
member_id
item_id
date_borrowed
date_due

There would also be a Reservations table which would be similar to Loans but I&#039;ll ignore that.

Checking out a book means creating a new record in the Loans table. If we were happy just to type in a URL into a browser we might be able to type:

http://api.sutton-libraries.gov.uk/loans-create?member_id=12323&amp;password=mysecret&amp;item_id=989834

and the response from the /loans-create script might be:

OK: loan_id=4389834, date_due=2009-03-25

or:

ERROR: You have unpaid fines of £7.34.

or:

ERROR: You have borrowed 10 items and that&#039;s your lot.

While this is probably not how you&#039;d implement this in practice, an API that worked exactly like this would be entirely viable. If such a thing existed, it would be easy for the council or third parties to build applications on top of it, whether for the web, specific mobile phone platforms, desktop OSes or whatever.

Getting a list of new acquisitions as Atom would be very straightforward. It&#039;s just a script that queries the Items table and creates a feed with the most recent x items sorted by date_acquired.

The client application on the mobile phone could just be a (mobile) web app. Cameraphones could scan the optical barcodes that are still on items to identify them and the member&#039;s library card to identify the member. There isn&#039;t really much in the way of new technology needed here, just the willingness of the library&#039;s software vendor to provide an API to their database and for the council to switch it on.</description>
		<content:encoded><![CDATA[<p>Most of this is based around the library itself having an open API that permits the following:</p>
<p>- get a list of new acquisitions<br />
- reserve an item for a member<br />
- lend an item to a member</p>
<p>RFID is a bit of a red herring here, perhaps. All that&#8217;s required is to be able to easily identify items (eg. books) and members. To use the API, members (via their client applications) will need to be authenticated.</p>
<p>Let&#8217;s say the underlying database is something like this with these three tables:</p>
<p>Members<br />
=======<br />
id<br />
name<br />
password</p>
<p>Items<br />
=====<br />
id<br />
date_acquired<br />
author<br />
title</p>
<p>Loans<br />
=====<br />
id<br />
member_id<br />
item_id<br />
date_borrowed<br />
date_due</p>
<p>There would also be a Reservations table which would be similar to Loans but I&#8217;ll ignore that.</p>
<p>Checking out a book means creating a new record in the Loans table. If we were happy just to type in a URL into a browser we might be able to type:</p>
<p><a href="http://api.sutton-libraries.gov.uk/loans-create?member_id=12323&#038;password=mysecret&#038;item_id=989834" rel="nofollow">http://api.sutton-libraries.gov.uk/loans-create?member_id=12323&#038;password=mysecret&#038;item_id=989834</a></p>
<p>and the response from the /loans-create script might be:</p>
<p>OK: loan_id=4389834, date_due=2009-03-25</p>
<p>or:</p>
<p>ERROR: You have unpaid fines of £7.34.</p>
<p>or:</p>
<p>ERROR: You have borrowed 10 items and that&#8217;s your lot.</p>
<p>While this is probably not how you&#8217;d implement this in practice, an API that worked exactly like this would be entirely viable. If such a thing existed, it would be easy for the council or third parties to build applications on top of it, whether for the web, specific mobile phone platforms, desktop OSes or whatever.</p>
<p>Getting a list of new acquisitions as Atom would be very straightforward. It&#8217;s just a script that queries the Items table and creates a feed with the most recent x items sorted by date_acquired.</p>
<p>The client application on the mobile phone could just be a (mobile) web app. Cameraphones could scan the optical barcodes that are still on items to identify them and the member&#8217;s library card to identify the member. There isn&#8217;t really much in the way of new technology needed here, just the willingness of the library&#8217;s software vendor to provide an API to their database and for the council to switch it on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Chance</title>
		<link>http://blog.adrianshort.co.uk/2009/03/10/technosocial-scenarios-for-sutton-1-the-library/comment-page-1/#comment-352</link>
		<dc:creator>Tom Chance</dc:creator>
		<pubDate>Wed, 11 Mar 2009 12:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://adrianshort.co.uk/?p=299#comment-352</guid>
		<description>This all sounds great, the main question to my mind is: how?

It would be interesting to sketch out the stakeholders who would need to work together to make this kind of thing possible.

Also ,what could the library service do to facilitate this or some similar process without the phone app, RFID-enabled phones and bookshop stuff in place? What could they do with RSS/Atom feeds, for instance, and how could this happen?</description>
		<content:encoded><![CDATA[<p>This all sounds great, the main question to my mind is: how?</p>
<p>It would be interesting to sketch out the stakeholders who would need to work together to make this kind of thing possible.</p>
<p>Also ,what could the library service do to facilitate this or some similar process without the phone app, RFID-enabled phones and bookshop stuff in place? What could they do with RSS/Atom feeds, for instance, and how could this happen?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
