Using MAJAX and Google Book Classes in Mashups Annette Bailey University Libraries Virginia Tech April 29, 2008.

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

Publishers Web Sites Standard Features. Objectives Access publishers websites Identify general features available on most publishers websites Know how.
Using Google Book Classes in Mashups Excerpt from talk given at IUG 2008 in Washington, D.C Annette Bailey University Libraries Virginia Tech April 29,
LibX – Putting Millennium and WebBridge in Firefox Annette Bailey Newman Library, Virginia Tech May 21, 2006.
Millennium AJAX Annette Bailey University Libraries Virginia Tech.
1 LibX – Connecting Users and Libraries Annette Bailey LITA National Forum October 2007.
Step 1 Start your web browser (Internet Explorer or Firefox). Step 2 Type: in the Address box Step 3 Press Enter on the keyboard.
PubMed/History; Accessing Full-Text Articles (module 4.4)
EndNote Web Reference Management Software (module 5.1)
EndNote Web Reference Management Software (module 5)
For Details Visit : or For any Help Contact the Librarian EBSCOhost 2.0.
NEW EBRARY READER OVERVIEW July The new ebrary Reader Built entirely with user input – Student researchers worked with us to perfect the Reader.
Fox Scientific, Inc. ONLINE ORDERING 101. Welcome to our website On our main page you can find current promotions, the vendors we offer, technical references.
Microsoft TM SharePoint Content Management SystemTutorial By Mazen Abdallah Student Assistant at CNS 2010.
Create a website with Google Sites
CIS 4004: Web Based Information Technology Spring 2013
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
Single Search By Rakphao Theppan, librarian Searching Online Resources.
Make your choice from more than 70 templates to get a quick start online!70 templates.
Technical Tips and Tricks for User Support Mike Gardner
Kabel Nathan Stanwicks, Head Circulation and Media Services Department Electronic Reserves Introductory Tutorial for Faculty.
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
UWWD In our quest to eliminate bad websites, we present…. HALLELUJAH!!
Create a Web Site with Frames
Generating RSS Feed for New Additions from Unicorn Qin Zhu HP Labs Research Library February 21, 2007.
A detailed guide on how to set-up your printing storefront. Please Note: Storefronts are compatible with all browsers, however for optimal use of the admin.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Danielle Baldwin, ITS Web Services CMS Administrator Application Overview and Joomla 1.5 RC 1 Highlights.
All About Creating a Website. How the SIR Websites are Built. SIR Branch 116 Phil Goff July 21, 2011.
Web of Science. Copyright 2006 Thomson Corporation 2 Example: (bird* or avian) and (flu or influenz*) Enter your terms to be searched. Search fields are.
Getting started on informaworld™ How do I register my institution with informaworld™? How is my institution’s online access activated? What do I do if.
Version 18 Upgrade: Web OPAC. Version 18 Upgrade: Web OPAC Customization 2 All of the information in this document is the property of Ex Libris Ltd. It.
Web Services & Widgets for the WebOPAC IUG 2009 Annette Bailey Virginia Tech.
Web Technologies Website Development Trade & Industrial Education
Link Resolvers: An Introduction for Reference Librarians Doris Munson Systems/Reference Librarian Eastern Washington University Innovative.
Website Development with Dreamweaver
Tutorial 1: Browser Basics.
PubMed/History, Advanced Search and Review (module 4.3)
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
WorldCat Local & World Cat Quick Start a new way to search your library’s resources and the world beyond.
University Library System, CUHK 香港中文大學圖書館系統 University Library System The Chinese University of Hong Kong Simple, Flexible and Informative - Personalised.
Midterm Hardware vs. Software Everyone got this right!
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
Enhancing WebVoyagé with Syndetic Catalog Data presented by Jon Woltz SWOSU Libraries.
Tour Overview Introduction Collage Basics Collage Basics (Templates and Tools) Computer Configuration Bookmark Collage Getting Started Tour Collage Terminology.
Scholarly Information and Research Pathfinder Pro Release 2009B Suzanne Bailey Resource Discovery Specialist.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
Overview of Form and Javascript fundamentals. Brief matching exercise 1. This is the software that allows a user to access and view HTML documents 2.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
Infopeople Webcast Series: Technology Tuesdays. Leading Edge Technologies An Infopeople Webcast Roy Tennant Tuesday, January 17 12:00.
Compare and Contrast : Blackboard & a Personal Web Page www3.ltu.edu/~s_schneider/howto/faculty.htm You’ll find this presentation (and another) here :
+ Publishing Your First Post USING WORDPRESS. + A CMS (content management system) is an application that allows you to publish, edit, modify, organize,
COM: 111 Introduction to Computer Applications Department of Information & Communication Technology Panayiotis Christodoulou.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
Mashups for the Nontechies: Yahoo! Pipes Jody Condit Fagan Digital Services Librarian James Madison University
NCCUCS 軟體工程概論 Lecture 5: Ajax, Mashups April 29, 2014.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
How to Apply PDF in Flipbook on Website. Description If you are finding solution for applying PDF in flipbook mode on website, and adding multimedia items.
Fox Scientific, Inc. ONLINE ORDERING 101. Welcome to our website On our main page you can find current promotions, the vendors we offer, technical references.
MicrosoftTM SharePoint Content Management SystemTutorial
GALILEO Support Services
Rep change 1590 (ver 18) Access to Google books
Evolution of Internet.
Metadata Editor Introduction
Application with Cross-Platform GUI
Chapter 27 WWW and HTTP.
Access Problems and Solutions for Full-text Articles or E-books
WorldCat: Broad Web visibility for our collection
Tutorial Introduction to help.ebsco.com.
Presentation transcript:

Using MAJAX and Google Book Classes in Mashups Annette Bailey University Libraries Virginia Tech April 29, 2008

Library 2.0 LibXTaggingBlogsWikisMashups RSS feeds Faceted browsing User reviews

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

Mashup Sources RSS Feeds Web services, e.g. Google API, Amazon API StrikeIron is a market place that matches providers and users How can the III Millennium system become an information source for mashups? Thats where MAJAX comes in

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

New Books List Library publishes a list of newly acquired books every month We would like to include up-to-the-minute circulation information in this list

New Books List Demo

New Books List

MAJAX Millennium AJAX Asynchronous Query the catalog without the user having to wait JavaScript Run in clients browser to construct page content And XML (Really HTML) – comes from a web service: here, Millenniums MARC display

Screen Scraping MARC

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

Course Page Demo Screen Shot

The Pyramid of Web Skills PhP, Ruby, … JavaScript HTML Librarians Programmers

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 tag once include tags wherever library catalog information should be inserted

Course Page HTML <script type="text/javascript" src=" <script type="text/javascript" src=" <span title="i " class="majax-harvard-reference majax-newline majax-ebook"> <span title="i " class="majax-showholdings majax-linktocatalog"> <span title="i " class="majax-harvard-reference majax-newline majax-ebook"> <span title="i " class="majax-showholdings majax-linktocatalog">

MAJAX Identifiers IDENTIFIER can refer to ISBN, Bibrecord #, OCLC #, or Book Title ISBN i i X Bibrecord.b.b OCLC # o o Title t tfreakonomics

MAJAX Alternative Syntax IDENTIFIER T can be i, o, t, or.b IDENTIFIER as defined on previous slide without leading character

MAJAX Classes Holdings Related majax-showholdings majax-showholdings-brief majax-showholdings-div majax-ebook majax-showholdings locations 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

MAJAX Examples (1) MAJAX classMAJAX output majax-harvard-referenceLevitt, 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-divCopy 1: available Copy 2: due Copy 3: due majax-marc-050HB74.P8 L

MAJAX Examples (2) MAJAX classMAJAX output majax-ebook[Electronic Book] majax-marc-050 majax-linktocatalog HB74.P8 L majax-syndetics-vtech

Create a new file: majaxcustomize.js Include the file using a tag on the page where you want to use MAJAX MAJAX Customization Define your customized variables <script type="text/javascript" src=" <script type="text/javascript" src=" var singleCopyStatus = Un exemplaire est %s;

Load Considerations MAJAX uses caching and sends exactly 1 request per unique item per page to the server Regardless of the number of span tags referencing an item MAJAX imposes additional load on your III system Currently self-limiting to 100 requests per second per page, which can be changed. To turn MAJAX capabilities off, simply remove majax.html & majax.js from the /screens directory.

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 Ok courses.cs.vt.edu Ok livejournal.com Not Ok (needs a proxy) MAJAX works in Internet Explorer 6.x and up, Firefox, and Safari browsers Will fail silently on other browsers

MAJAX Summary MAJAX provides the ability to include live catalog information in any webpage on your domain Without special server support, access or programming Without requiring end users to install any plug- ins It is easy to use, requiring only HTML skills Free! Has been adopted by a number of III libraries Users have contributed suggestions, bug fixes, and help test it

Part 2 Google Book Classes

Mashing a Service into the III Catalog Display MAJAX mashes catalog data into other web pages Now well mash data from another service into the library catalog

Google Book Search Book Viewability API Programmatic client-side access to small set of Google Book Search information Provides thumbnails of book covers Provides link to Googles book information, preview, or full text pages Provides information on whether Google has full text, partial preview, or no preview Indexed by ISBN#, OCLC#, LCCN# Released March 2008

Goals We want to incorporate information from Google Book Search into our catalog E.g., allow users to see a preview of a book if one is available from Google Or use Googles book covers Without JavaScript coding (even though Googles API requires JavaScript coding as it is)

Google Book Classes Demo

Google Books Demo Buttons appear if Google Book Search has a partial preview of book

Google Books Demo (2) Buttons appears if Google has a partial preview of book

Google Book Classes A JavaScript library and set of classes that simplify using the Google Book Search Book Viewability API Can be used on any web page, including inside the Millennium system Usage is much like MAJAX Available from libx.org/gbs

Using Google Book Classes (on general web server) Upload a copy of gbsclasses.js to your server Include gbsclasses.js in a tag in the target page Include the class(es) in tags <script type="text/javascript" src=" <script type="text/javascript" src="

GBS Identifiers IDENTIFIER can refer to ISBN #, OCLC #, or LCCN# Alternate syntax: use * as IDENTIFIER ISBN ISBN: X OCLC OCLC: LCCN LCCN:

Using Google Book Classes in Millennium 1.Include gbsclasses.js in HTML template file via tag E.g. toplogo.html 2.Use III fieldspec token to insert HTML that includes the Google Book Classes into the briefcit.html file

briefcit.html briefCitPub

A Google Preview Button Inside Publisher boxInsert 1x2 HTML table260 Field goes in left columnhide span initiallyLink to info page – but only if Google has a partial view Remove span if Google does not index this ISBN III will put first 020 Field here briefcit.html

Currently Supported Google Book Classes Thumbnails Image gbs-thumbnail Wrap span in a hyperlink gbs-link-to-preview gbs-link-to-info gbs-link-to-thumbnail Conditionals: only keep span if … gbs-if-noview gbs-if-partial-or-full gbs-if-partial gbs-if-full Remove if Google does not index book gbs-remove-on-failure Multiple classes can be combined

Google Book Classes: Summary Google Book Classes allows the use of the Google Book Viewability API in mashups Without requiring any JavaScript or AJAX knowledge Allows integration in places (such as III briefcit.html) where control of a page is limited

Acknowledgements Dr. Godmar Back Assistant Professor Computer Science

Questions? Thank you! Contact us:

WebBridge Example (1) majax resource 1 majax resource 2 majax resource 3

WebBridge Example (2) majax resource 1 majax resource 2 majax resource 3

Setting Up MAJAX for WebBridge Add tag to resserv_panel.html WebBridge Management interface Create 1 or more resources Associate hasISBN or hasTitle data tests Embed tags in Link Display field