1 / 28

Millennium AJAX

Millennium AJAX. Annette Bailey University Libraries Virginia Tech. Mashups. Are hybrid web applications that combine information drawn from various web sources Simple example: A library web page that includes a news feed. Mashup Example. Library Homepage. Latest Library News Items.

Télécharger la présentation

Millennium AJAX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Millennium AJAX Annette Bailey University Libraries Virginia Tech

  2. MAJAX - Annette Bailey

  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

  4. Mashup Example Library Homepage Latest Library News Items MAJAX - Annette Bailey

  5. Mashup Sources • RSS Feeds • Webservices, e.g. Google API, Amazon API • How can the III Millennium system become an information source for mashups? • That’s where MAJAX comes in MAJAX - Annette Bailey

  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

  7. New Books List • Library publishes a list of newly acquired books every month • We would like to include up-to-the-minute holdings information in this list MAJAX - Annette Bailey

  8. New Books List Demo

  9. New Books List MAJAX - Annette Bailey

  10. MAJAX • Millennium AJAX • Asynchronous • Query the catalog without the user having to wait • JavaScript • Run in client’s browser to construct page content • And • XML • (Really HTML) – comes from a web service: here, Millennium’s MARC display MAJAX - Annette Bailey

  11. Screen Scraping MARC MAJAX - Annette Bailey

  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

  14. Installing & Using MAJAX • To install MAJAX at your institution, upload two files to your catalog’s /screens directory: • majax.js • majax.html • To use MAJAX in web pages • include <script> tag once • include <span> tags wherever library catalog information should be inserted MAJAX - Annette Bailey

  15. Course Page HTML <script type="text/javascript" src="http://addison.vt.edu/screens/majax.js"> </script> <span title="i0596002556" class="majax-harvard-reference majax-newline majax-ebook"> </span> <span title="i0596002556" class="majax-showholdings majax-linktocatalog"> </span> MAJAX - Annette Bailey

  16. MAJAX Identifiers • <span title=“IDENTIFIER” class=“MAJAX-CLASSES”></span> • IDENTIFIER can refer to ISBN, Bibrecord #, or Book Title MAJAX - Annette Bailey

  17. MAJAX - Annette Bailey

  18. MAJAX Examples (1) MAJAX - Annette Bailey

  19. MAJAX Examples (2) MAJAX - Annette Bailey

  20. WebBridge Demo

  21. majax resource 1 majax resource 2 majax resource 3 WebBridge Example (1) MAJAX - Annette Bailey

  22. majax resource 1 majax resource 2 majax resource 3 WebBridge Example (2) MAJAX - Annette Bailey

  23. Install & Use MAJAX • Add <script> tag to resserv_panel.html • WebBridge Management interface • Create 1 or more resources • Associate hasISBN or hasTitle data tests • Embed <span> tags in Link Display field MAJAX - Annette Bailey

  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

  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.edu Ok  • courses.cs.vt.edu Ok  • livejournal.com Not Ok  • MAJAX only works on Internet Explorer 6.x and up and Firefox browsers • Will fail silently on other browsers MAJAX - Annette Bailey

  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

  27. Acknowledgements • Dr. Godmar Back • Assistant Professor, Computer Science MAJAX - Annette Bailey

  28. Questions? Thank you! http://libx.org/majax/

More Related