Your SlideShare is downloading. ×
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply



Published on

1 Like
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide
  • Library 2.0 is a collection of technologies. *talk each bubble
  • Mashups bring information together from different sources and present it to the user in new ways. Discussing this example may be distracting from your main point: Umlaut, an open source open url resolver project by Ross Singer at Georgia Tech, displays open url resolver information and information from the library catalog.
  • MAJAX enables us to use the information from our Millennium catalogs in this way. Umlaut is an example of using Amazon API
  • Let’s look at a demo of how information from the library catalog can be integrated into a library web page. In this example, we have a list of new books from the library. MAJAX enriches this new books list with dynamically gathered holdings information. This holdings data is the current status of these items.
  • So how does MAJAX work? MAJAX stands for Millennium AJAX. AJAX is the combination of JavaScript and XML. We’re fudging a bit here since what we’re really doing is using HTML and not XML. AJAX allows us to use scripts to send queries to the catalog without the user having to wait. MAJAX allows us to incorporate catalog data into any page on our website. When you explain “JavaScript” makes sure you have previously mentioned that MAJAX is implemented in JavaScript.
  • MAJAX calls up the MARC page for the information it needs, retrieves the information from there, then inserts it into the page you want it in. Explain the origin of the jargon “screen scraping” – MAJAX reads the MARC + Holding info off the screen, except that the screen being read from is not actually being displayed.
  • Let’s take a look at a second example. In this example, an instructor has built a web page for their course. She wants her students to read certain texts so they create a list of books. Now with MAJAX, the professor can integrate book cover images and dynamic holdings information into their page so that the students can see the cover of the book and know whether the book is on the shelf at their library. Don’t forget to scroll down. Consider clicking on ebooks.
  • A slide to drive it home.
  • Here are some examples of how MAJAX was integrated into the course page we just looked at. The instructor would add a script tag to point to the MAJAX javascript file in the screens directory of the library’s Millennium catalog. Then they would place a span tag for each book that would mark where the data from the catalog would be placed in the page. Using classes defined in MAJAX, the professor could then customize how they want this data to display to their students. In this example, the Harvard citation style is used so that title, author, etc. of the book are formatted according to the citation style the instructor wants their students to use. They also include the majax-ebook class so that if the library has a copy of the book in electronic format, say from Netlibrary or Safari, a link directly to the book will be presented to the student. Where is all of this data coming from? The MARC record in the library catalog. Explain what a span tag is… <span> ordinarily span an area of text and provide custom formatting to it. However, in this case, no text is “spanned” – the tag is empty. We use those spans as markers for MAJAX to pick up on. Also, we used SPAN because it’s XHTML compliant – you cannot define your own elements in HTML. That’s also why we used the “title” attribute for the identifier, which normally has a completely different meaning.
  • Note: majax-marc-??? will only list the first field if there are multiple fields.
  • The last demonstration is what I promised with the title of the talk, integrating Millennium catalog data into WebBridge. WebBridge is the linking project from Innovative and one way to use WebBridge is as an OpenURL resolver. When you think of your OpenURL resolver, you probably think of getting your users to the appropriate copy of a journal article. Well, one of the pieces of metadata that can be passed in an OpenURL is an ISBN. And WebBridge supports the passing of an ISBN. In this example, we see a live version of WebBridge on our test server at Virginia Tech. I’ve passed an ISBN to WebBridge and it is displaying several resources that allow me to show the different options with MAJAX. The information you are seeing here is drawn from the MARC record and reformatted to be presented to the user in various ways. Once again, we have taken the MARC data and displayed it to the user in a properly formatted citation style. We’ve incorporated live holdings data in multiple formats. The librarian implementing MAJAX chooses which way they want this data to display or they can set multiple classes and depending on the data, it will display to the user in various ways. -- If you change this slide to talk about the history of the project, make sure you’re very informal about it. Practice this slide!
  • Don’t forget to mention/point out the URL that comes in: it has an isbn=…& etc. Point out the “Addison Holdings” is a category and that these are just three examples/possibilities.
  • Mention why one would want to turn it off, namely if contrary to expectation the load exceeds acceptable limits (if it’s really successful!)
  • You could point out that MAJAX could be used with a simple PhP proxy server from any domain (such as when we use majax from, which is not in * But this may be more detail than necessary.
  • Don’t sigh going into this slide. Record Endnote Import: says that data: URL aren’t supported in IE, so this doesn’t work. To import via IE, copy and paste the Endnote text into a text file, then, in Endnote, go to File -> Import select “Endnote Import” as import format and load the file.
  • 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?
        • That’s 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 include up-to-the-minute holdings 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 illennium AJAX
      • A synchronous
        • Query the catalog without the user having to wait
      • J avaScript
        • Run in client’s browser to construct page content
      • A nd
      • X ML
        • (Really HTML) – comes from a web service: here, Millennium’s 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 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 May 16, 2007
    • 15. Course Page HTML MAJAX - Annette Bailey May 16, 2007 <script type=&quot;text/javascript&quot; src=&quot; &quot;> </script> <span title=&quot; i0596002556&quot; class=&quot; majax-harvard-reference majax-newline majax-ebook &quot;> </span> <span title=&quot; i0596002556 &quot; class=&quot; majax-showholdings majax-linktocatalog &quot;> </span>
    • 16. MAJAX Identifiers
      • <span title=“IDENTIFIER” class=“MAJAX-CLASSES”> </span>
      • IDENTIFIER can refer to ISBN, Bibrecord #, or Book Title
      MAJAX - Annette Bailey May 16, 2007 ISBN ‘i’ i006073132X Bibrecord ‘.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-07 majax-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-050 majax-linktocatalog HB74.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 <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 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, MAJAX can be used on all pages in *
        • Ok 
        • Ok 
        • Not 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!