Slides from the IUG 2007 talk

Download Slides from the IUG 2007 talk

Post on 28-Jan-2015

107 views

Category:

Documents

0 download

DESCRIPTION

 

TRANSCRIPT

  • 1. Millennium AJAX Annette Bailey University Libraries Virginia Tech

2. MAJAX - Annette Bailey May 16, 2007 User reviews Faceted browsing RSS feeds Mashups Wikis Blogs Tagging LibX Library 2.0 3. Mashups

  • Are hybrid web applications that combine information drawn from various web sources
  • Simple example:
    • A library web page that includes a news feed

MAJAX - Annette Bailey May 16, 2007 4. Mashup Example MAJAX - Annette Bailey May 16, 2007 Library Homepage Latest Library News Items 5. Mashup Sources

  • RSS Feeds
  • Webservices, e.g. Google API, Amazon API
  • How can the III Millennium system become an information source for mashups?
    • Thats where MAJAX comes in

MAJAX - Annette Bailey May 16, 2007 6. MAJAX Overview

  • Millennium AJAX is software that allows mixing catalog data into web pages
    • Freely available from VT
    • Simple to install & use
    • No III support required
    • No plug-in for users to install

MAJAX - Annette Bailey May 16, 2007 7. New Books List

  • Library publishes a list of newly acquired books every month
  • We would like to includeup-to-the-minuteholdings information in this list

MAJAX - Annette Bailey May 16, 2007 8. New Books List Demo 9. New Books List MAJAX - Annette Bailey May 16, 2007 10. MAJAX

  • M illenniumAJAX
  • A synchronous
    • Query the catalog without the user having to wait
  • J avaScript
    • Run in clients browser to construct page content
  • A nd
  • X ML
    • (Really HTML) comes from a web service: here, Millenniums MARC display

MAJAX - Annette Bailey May 16, 2007 11. Screen Scraping MARC MAJAX - Annette Bailey May 16, 2007 12. Course Page Demo A professor wants to offer a list of books on his course page, along with full bibliographic and up-to-the-minute holdings information about each book 13. Course Page Demo

  • Screen Shot

MAJAX - Annette Bailey May 16, 2007 14. Installing & Using MAJAX

  • To install MAJAX at your institution, upload two files to your catalogs /screens directory:
    • majax.js
    • majax.html
  • To use MAJAX in web pages
    • include
    • include tags wherever library catalog information should be inserted

MAJAX - Annette Bailey May 16, 2007 15. Course Page HTML MAJAX - Annette Bailey May 16, 2007 16. MAJAX Identifiers

  • IDENTIFIER can refer to ISBN, Bibrecord #, or Book Title

MAJAX - Annette Bailey May 16, 2007 ISBN i i006073132XBibrecord .b .b2275560 Title t tfreakonomics 17. MAJAX - Annette Bailey May 16, 2007 MAJAX Classes Holdings Related majax-showholdings majax-showholdings-brief majax-showholdings-div majax-ebook Bibliographic Information majax-marc-??? majax-marc-???-? majax-harvard-reference majax-endnote majax-endnote-switch majax-endnote-import Miscellaneous majax-syndetics-* majax-linktocatalog majax-reportfailure majax-newline majax-space 18. MAJAX Examples (1) MAJAX - Annette Bailey May 16, 2007 MAJAX class MAJAX output majax-harvard-reference Levitt, Steven D., Dubner, Stephen J., 2005,Freakonomics : a rogue economist explores the hidden side of everything /1st ed., New York, William Morrow, xii, 242 p. ;majax-showholdings-div Copy 1: available Copy 2: due 05-10-07 Copy 3: due 07-22-07majax-marc-050 HB74.P8 L479 2005 19. MAJAX Examples (2) MAJAX - Annette Bailey May 16, 2007 MAJAX class MAJAX output majax-ebook[Electronic Book] majax-marc-050majax-linktocatalogHB74.P8 L479 2005 majax-syndetics-vtech 20. WebBridge Demo 21. WebBridge Example (1) MAJAX - Annette Bailey May 16, 2007 majax resource 1 majax resource 2 majax resource 3 22. WebBridge Example (2) MAJAX - Annette Bailey May 16, 2007 majax resource 1 majax resource 2 majax resource 3 23. Install & Use MAJAX

  • Add
  • WebBridge Management interface
    • Create 1 or more resources
    • Associate hasISBN or hasTitle data tests
    • Embed tags inLink Displayfield

MAJAX - Annette Bailey May 16, 2007 24. Performance

  • MAJAX imposes additional load on your server
    • Currently self-limiting to 20 requests per second per page, which can be changed.
  • To turn MAJAX capabilities off, simply remove majax.html & majax.js from the /screens directory.

MAJAX - Annette Bailey May 16, 2007 25. Limitations

  • MAJAX works only on web pages from within the same domain as your Millennium system
  • If Millennium runs on addison.vt.edu, MAJAX can be used on all pages in *.vt.edu
    • www.lib.vt.eduOk
    • courses.cs.vt.eduOk
    • livejournal.comNot Ok
  • MAJAX only works on Internet Explorer 6.x and up and Firefox browsers
    • Will fail silently on other browsers

MAJAX - Annette Bailey May 16, 2007 26. Summary

  • MAJAX provides the ability to include live catalog information in any webpage on your domain
    • Without special server access or support
    • Without requiring end users to install any plug-ins
  • It is easy to use, requiring only HTML skills
  • Free!

MAJAX - Annette Bailey May 16, 2007 27. Acknowledgements

  • Dr. Godmar Back
    • Assistant Professor, Computer Science

MAJAX - Annette Bailey May 16, 2007 28. Questions? Thank you! http://libx.org/majax/