Download - A "lofiAPI": Using open source applications and simple XML to build a library web service
![Page 1: A "lofiAPI": Using open source applications and simple XML to build a library web service](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/1.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/2.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/3.jpg)
Photo by Phil Gyford
![Page 4: A "lofiAPI": Using open source applications and simple XML to build a library web service](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/4.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/5.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/6.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/7.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/8.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/9.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/10.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/11.jpg)
Questions?
![Page 12: A "lofiAPI": Using open source applications and simple XML to build a library web service](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/12.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/13.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/14.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/15.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/16.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b5eada4a7959261b8b46f1/html5/thumbnails/17.jpg)
Contact Information
Jason A. ClarkHead of Digital Access and Web ServicesMontana State University [email protected]