REST- accessed via url
makes it very easy to access data in a logical way
you dont have to form a post
just formulate url in such a way that the data is transferred.
PatREST=patron rest (developed by Blyberg)
he found that there was nothing out of the box that was friendly enough to share with the patrons
XSLT=xml style sheet-could have used to transform database info into XML-but even those seemed to diificult.
The expectations that patrons should understand marc is wrong
John wanted something easy to understand.
patrest allows users to access the catalog directly
Here is an example where the most popular books from 11-20 are returned:
www.aadl.org/rest/top/books/10/2
stuff you can do-
*top books=electronic signage application writen in apples quartz composer (visual in nature)
runs in 40 inch plasma display in library
*superpatron wall of books-book cover links to web opac
google widget/gadget using google api
google provides functionality.
Ajax data calls prewritten by google.
–blyberg.net
Why let patrons have access?
- library stewardship-if users are part of building process they turn into strong advocates of library itself.
- taps into knowledge and expertise in community (allows for outreach)
- encourages innovation
- benefits other libraries. if your library had patrest then the applications they have built then they will work for your community as well.
- solicits high quality feedback
- promote this as a service to users in order to justify existence.
- lets us be part of a growing force in the web community, sharing data and letting other people use it.
- blurs the distinction of where the edge of the library is–
***
Chris Deweese
MASHUP google style
-putting your data on the map
one of the easiest APIs to use.
1. get a google maps api key-reuiqres url where you are going to host it.
2. get the “hello world” example
3. copy that text into a new HTML file (replace “key=abcdefg” with key=”what you get from ggogle”
4. lets add some controls “(zoom/pan)
5. latitutde and longitude coord. -geocoding service available-feed it an address and it gives you the coord)
6. create a new point -glat long
7.save your work
for plotting many points google has included a way to import specially formatted XML file-simple loop in javascript allows all you points to go on map.
google maps is like a puzzle to find hints to put everything together
feed it a static xml file or feed it url
Plotting dynamic data
data stored in mysql database
using asp.net and a custom api to output data in xml format for google maps api
in this example the tool was used to study delivery routes of library