a "lofiapi": using open source applications and simple xml to build a library web service

17
A "lofiAPI": Using open source applications and simple XML to build a library web service Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries

Upload: jason-clark

Post on 14-Jan-2015

980 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: A "lofiAPI": Using open source applications and simple XML to build a library web service

A "lofiAPI": Using open source applications and simple XML to build a library web service

Jason A. ClarkHead of Digital Access and Web ServicesMontana State University Libraries

Page 2: A "lofiAPI": Using open source applications and simple XML to build a library web service

A quick look ahead…Discussion of the benefits of web services for librariesDemo and walkthrough of the code that makes it happen

Page 3: A "lofiAPI": Using open source applications and simple XML to build a library web service

Photo by Phil Gyford

Page 4: A "lofiAPI": Using open source applications and simple XML to build a library web service

Provide Web Services?You have a service that benefits your usersbest if they can get to their data fromoutside the applicationYou want others to use your data store intheir applications

Page 5: A "lofiAPI": Using open source applications and simple XML to build a library web service

Demos and DownloadsDemo: A "lofiAPI" for Library Datahttp://www.lib.montana.edu/%7Ejason/files/api/lofi/

Download: A "lofiAPI" for Library Datahttp://www.lib.montana.edu/%7Ejason/files/api-lofi.zip

Page 6: A "lofiAPI": Using open source applications and simple XML to build a library web service

Available Web ServicesGoogleYahoo!AmazoneBayFlickrdel.icio.usGoogle App Engine http://code.google.com/appengine/Amazon s3Many more...

Page 7: A "lofiAPI": Using open source applications and simple XML to build a library web service

Web Services in LibrariesPlymouth State: ScriblioRepository66: mash-up of OpenDOAR data with Google Maps and repository growth charts from ROAR, developed by Stuart Lewis of the University of Aberystwyth, Waleshttp://maps.repository66.org/LibraryThinglofiAPI: MSU Libraries (ETD, RMT)MSU Library Lifestream: RSS services (Twitter, del.icio.us, last.fm, MSU Library Blog)TERRApod Youtube adminGoogle BooksearchSamples from the crowd...

Page 8: A "lofiAPI": Using open source applications and simple XML to build a library web service

How to...Components1. Database Engine2. Scripting Language

Specifics1. Apache2. MySQL3. PHP

Page 9: A "lofiAPI": Using open source applications and simple XML to build a library web service

Why? Single Source, Multiple Endpoints1. Feed Readers2. Google Sitemap3. Remixed HTML4. A9 OpenSearch

Allow for the Remix1. Share data2. Repurpose for new applications3. Make library data part of info flow

Page 10: A "lofiAPI": Using open source applications and simple XML to build a library web service

Last thoughts...This stuff is just beginning…Worldcat APIDigital Library Federation API recommendationLibrary mashups are coming - there's just too much good data out there

Page 11: A "lofiAPI": Using open source applications and simple XML to build a library web service

Questions?

Page 12: A "lofiAPI": Using open source applications and simple XML to build a library web service

Getting StartedPlay in the sandbox – pick a service, study itYahoo Developer Centralhttp://developer.yahoo.com/Amazon Web Services Developer Connection http://developer.amazonwebservices.com/connect/Google Codehttp://code.google.com/

Page 13: A "lofiAPI": Using open source applications and simple XML to build a library web service

Web Services - SourcesAllCDCovers.com http://www.allcdcovers.com/apiISBNdb.com http://isbndb.com/docs/api/index.htmlOpenDOAR http://www.opendoar.org/tools/api.htmlarXiv.org http://export.arxiv.org/api_help/

* See ProgrammableWeb http://www.programmableweb.com/apis/directory

Page 14: A "lofiAPI": Using open source applications and simple XML to build a library web service

Terms: APIWhat is an API?

An application programming interface (or API) is a way for developers to access parts of a remote web site and integrate it with their own site.

MSU Libraries Resources Examplehttp://www.lib.montana.edu/resources/read.php?form=json&limit=25

Page 15: A "lofiAPI": Using open source applications and simple XML to build a library web service

Terms: Web ServiceWhat is a Web Service?

Broader termPublic interface (API)Provides access to data and/or proceduresOn a remote/external system (usually)Use structured data for data exchange (often XML)

Page 16: A "lofiAPI": Using open source applications and simple XML to build a library web service

Terms: Structured DataStructured data = XML and JSON

Extensible Mark-up Language and Javascript Object NotationFlexible mark-up languagesLightweight and easy to parseAllow communication between disparate systems

Page 17: A "lofiAPI": Using open source applications and simple XML to build a library web service

Contact Information

Jason A. ClarkHead of Digital Access and Web ServicesMontana State University [email protected]