slides from the iug 2007 talk
DESCRIPTION
TRANSCRIPT
![Page 1: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/1.jpg)
Millennium AJAX
Annette BaileyUniversity Libraries Virginia Tech
![Page 2: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/2.jpg)
2MAJAX - Annette BaileyMay 16, 2007
Userreviews
Facetedbrowsing
RSS feeds
Mashups
Wikis
Blogs
Tagging
LibX
Library 2.0
![Page 3: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/3.jpg)
3MAJAX - Annette BaileyMay 16, 2007
Mashups
• Are hybrid web applications that combine information drawn from various web sources
• Simple example:• A library web page that
includes a news feed
![Page 4: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/4.jpg)
4MAJAX - Annette BaileyMay 16, 2007
Mashup Example
Library Homepage
LatestLibraryNewsItems
![Page 5: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/5.jpg)
5MAJAX - Annette BaileyMay 16, 2007
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
![Page 6: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/6.jpg)
6MAJAX - Annette BaileyMay 16, 2007
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
![Page 7: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/7.jpg)
7MAJAX - Annette BaileyMay 16, 2007
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
![Page 8: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/8.jpg)
New Books List Demo
![Page 9: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/9.jpg)
9MAJAX - Annette BaileyMay 16, 2007
New Books List
![Page 10: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/10.jpg)
10MAJAX - Annette BaileyMay 16, 2007
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
![Page 11: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/11.jpg)
11MAJAX - Annette BaileyMay 16, 2007
Screen Scraping MARC
![Page 12: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/12.jpg)
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
![Page 13: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/13.jpg)
13MAJAX - Annette BaileyMay 16, 2007
Course Page Demo
• Screen Shot
![Page 14: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/14.jpg)
14MAJAX - Annette BaileyMay 16, 2007
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
![Page 15: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/15.jpg)
15MAJAX - Annette BaileyMay 16, 2007
Course Page HTML
<script type="text/javascript" src="http://addison.vt.edu/screens/majax.js"></script>
<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>
<span title="i0596002556" class="majax-harvard-reference majax-newline majax-ebook"></span><span title="i0596002556" class="majax-showholdings majax-linktocatalog"></span>
![Page 16: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/16.jpg)
16MAJAX - Annette BaileyMay 16, 2007
MAJAX Identifiers
• <span title=“IDENTIFIER” class=“MAJAX-CLASSES”></span>
• IDENTIFIER can refer to ISBN, Bibrecord #, or Book Title
ISBN ‘i’ i006073132X
Bibrecord ‘.b’ .b2275560
Title ‘t’ tfreakonomics
![Page 17: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/17.jpg)
17MAJAX - Annette BaileyMay 16, 2007
MAJAXClasses
Holdings Relatedmajax-showholdingsmajax-showholdings-briefmajax-showholdings-divmajax-ebook
Bibliographic Informationmajax-marc-???majax-marc-???-?majax-harvard-referencemajax-endnotemajax-endnote-switchmajax-endnote-import
Miscellaneousmajax-syndetics-*majax-linktocatalogmajax-reportfailuremajax-newlinemajax-space
![Page 18: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/18.jpg)
18MAJAX - Annette BaileyMay 16, 2007
MAJAX Examples (1)
MAJAX class MAJAX outputmajax-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: availableCopy 2: due 05-10-07Copy 3: due 07-22-07
majax-marc-050 HB74.P8 L479 2005
![Page 19: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/19.jpg)
19MAJAX - Annette BaileyMay 16, 2007
MAJAX Examples (2)
MAJAX class MAJAX outputmajax-ebook [Electronic Book]
majax-marc-050 majax-linktocatalog
HB74.P8 L479 2005
majax-syndetics-vtech
![Page 20: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/20.jpg)
WebBridge Demo
![Page 21: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/21.jpg)
21MAJAX - Annette BaileyMay 16, 2007
WebBridge Example (1)
majaxresource 1
majaxresource 2
majaxresource 3
![Page 22: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/22.jpg)
22MAJAX - Annette BaileyMay 16, 2007
WebBridge Example (2)
majaxresource 1
majaxresource 2
majaxresource 3
![Page 23: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/23.jpg)
23MAJAX - Annette BaileyMay 16, 2007
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
![Page 24: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/24.jpg)
24MAJAX - Annette BaileyMay 16, 2007
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.
![Page 25: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/25.jpg)
25MAJAX - Annette BaileyMay 16, 2007
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
![Page 26: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/26.jpg)
26MAJAX - Annette BaileyMay 16, 2007
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!
![Page 27: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/27.jpg)
27MAJAX - Annette BaileyMay 16, 2007
Acknowledgements
• Dr. Godmar Back• Assistant Professor, Computer
Science
![Page 28: Slides from the IUG 2007 talk](https://reader033.vdocuments.net/reader033/viewer/2022061300/54c821dc4a7959fe6d8b456f/html5/thumbnails/28.jpg)
Questions?
Thank you!
http://libx.org/majax/