760 likes | 902 Views
JAFER Toolkit Layering XML on Z39.50 Antony Corfield; Matthew Dovey; Richard Mawby; Colin Tatham Systems and Electronic Resources Service Oxford University Library Services. Background – JISC/DNER. “Integrated access to educational resources licensed by JISC”
E N D
JAFER Toolkit Layering XML on Z39.50 Antony Corfield; Matthew Dovey; Richard Mawby; Colin Tatham Systems and Electronic Resources Service Oxford University Library Services GAUG 2002. Lady Margaret Hall, Oxford University
Background – JISC/DNER “Integrated access to educational resources licensed by JISC” The DNER can be thought of as having two components: • The underlying information environment: how to find, access and disseminate quality information resources. • A collection of information resources (referred to as “content”) of particular value to the research and education community. GAUG 2002. Lady Margaret Hall, Oxford University
The problem - multiple services GAUG 2002. Lady Margaret Hall, Oxford University
The solution – brokers & portals GAUG 2002. Lady Margaret Hall, Oxford University
Components: Z39.50 Protocol Z39.50 Generic (ISO/NISO) search/retrieve protocol for information retrieval between portals and content providers GAUG 2002. Lady Margaret Hall, Oxford University
Portals - Definition • “A portal is essentially a themed gateway to a number of information sources often offering additional value by processing or combining information from different sources. Portals may also offer personalisation services, allowing a user to customise the portal to their own needs, (in effect performing a similar role to the browser bookmark file).” • JISC Technology Watch Report: Java Portals. Matthew J. Dovey. December 2001.(http://www.jisc.ac.uk/techwatch/reports/index.html) GAUG 2002. Lady Margaret Hall, Oxford University
Portals - Types • Types of portal include: • Subject based portals e.g. RDN • Specialised subject or topic based portals for researchers • Course based portals (e.g. VLE’s and MLE’s) • Portals offering information to alumni or potential applicants • Portals integrating the information and financial systems for admin GAUG 2002. Lady Margaret Hall, Oxford University
Portals - Architecture GAUG 2002. Lady Margaret Hall, Oxford University
Portals – “Content Syndication” GAUG 2002. Lady Margaret Hall, Oxford University
Portal - Example GAUG 2002. Lady Margaret Hall, Oxford University
Portal - Example GAUG 2002. Lady Margaret Hall, Oxford University
Overview of JAFER • Java Access For Electronic Resources (JAFER) • JAVA + XML = portable CODE, Portable DATA. • Hides Z39.50 behind XML. AIMS • Easy to use • Visual • Open Source. Allows web developers to build tools which allow embedded content, for use by academics. GAUG 2002. Lady Margaret Hall, Oxford University
Client Architecture GAUG 2002. Lady Margaret Hall, Oxford University
Client Architecture - detailed GAUG 2002. Lady Margaret Hall, Oxford University
Server Architecture Academic’s prize database from 50 years research into the use of CD-Roms in Ancient Greece GAUG 2002. Lady Margaret Hall, Oxford University
Server Architecture - detailed GAUG 2002. Lady Margaret Hall, Oxford University
Aggregator GAUG 2002. Lady Margaret Hall, Oxford University
Where JAFER fits HERE! GAUG 2002. Lady Margaret Hall, Oxford University
Open URL standard: Producing context sensitive links that resolve in a user specific fashion: • From book citation to local holdings (OPAC). • From journal-article citation toappropriate copy or local document-delivery system (full text). • Any service for which a URL can be constructed. GAUG 2002. Lady Margaret Hall, Oxford University
ZServlet • “ZGet” (based on version 1.0 of the servlet circa1999): • http://jafer1.las.ox.ac.uk:8080/ZGet? Author=Shakespeare&Title=Hamlet • OpenURL: • http://jafer1.las.ox.ac.uk:8080/OpenURL? • issn=1234-5678&date=1998&volume=12&issue=2 GAUG 2002. Lady Margaret Hall, Oxford University
Open URL: ZServlet GAUG 2002. Lady Margaret Hall, Oxford University
Open URL: ZServlet GAUG 2002. Lady Margaret Hall, Oxford University
Open URL: XSLT Driven <xsl:template match="mods"> <html> <head> <title>JAFER Toolkit Project: ZServlet</title> </head> <body bgcolor="#f0f0da"> <h1> <a href="http://www.lib.ox.ac.uk/jafer/">JAFER Toolkit Project: ZServlet</a> </h1> <hr/> <table border="1" width="100%"> <xsl:if test="name[@role='mainEntry']"> <tr> <td width="15%"> <b>Author</b> </td> <td colspan="3"><xsl:value-of select="name"/></td> </tr> </xsl:if> … GAUG 2002. Lady Margaret Hall, Oxford University
Prototype Reading List: GeoWeb Implementation by Katherine Ferguson,SERS GAUG 2002. Lady Margaret Hall, Oxford University
Prototype Reading List: GeoWeb GAUG 2002. Lady Margaret Hall, Oxford University
Prototype Reading List: GeoWeb GAUG 2002. Lady Margaret Hall, Oxford University
Prototype Reading List: GeoWeb GAUG 2002. Lady Margaret Hall, Oxford University
Prototype Reading List: GeoWeb GAUG 2002. Lady Margaret Hall, Oxford University
Prototype Reading List: GeoWeb GAUG 2002. Lady Margaret Hall, Oxford University
Prototype Reading List: GeoWeb • For GeoWeb 4 needed to rewrite • Marcprint_Geac.fcl (which formats records into a temp file when “Mark” button is used) to include all necessary fields, in particular the LCN for doing the hyperlinks • export.pl (which sends temp file to output devices) so that temp file (marked records) are parsed differently, and to create a new output method (email html code) • mail.html to display the second input form, for this new export method • GeoWeb 5 uses Java instead of FCL and Perl, so will need to write a new java class to do the additional export method • resulting email is snippets of valid html 4.1 and css 1 • uses css (cascading stylesheets) so it is easy to integrate with visual design of your own site • marked up in named spans (“author”, “title” etc) so that styles can be assigned to any component (e.g. may wish the author in italics, or the title in red, and so forth) GAUG 2002. Lady Margaret Hall, Oxford University
Reading list web tool GAUG 2002. Lady Margaret Hall, Oxford University
Reading list web tool GAUG 2002. Lady Margaret Hall, Oxford University
Reading list web tool GAUG 2002. Lady Margaret Hall, Oxford University
Reading list web tool GAUG 2002. Lady Margaret Hall, Oxford University
Reading web list tool GAUG 2002. Lady Margaret Hall, Oxford University
Front Page plug-in GAUG 2002. Lady Margaret Hall, Oxford University
Front Page plug-in GAUG 2002. Lady Margaret Hall, Oxford University
Front Page plug-in GAUG 2002. Lady Margaret Hall, Oxford University
Dynamic Reading Lists GAUG 2002. Lady Margaret Hall, Oxford University
Dynamic Reading Lists GAUG 2002. Lady Margaret Hall, Oxford University
Dynamic Reading Lists GAUG 2002. Lady Margaret Hall, Oxford University
Web applications: Search Page GAUG 2002. Lady Margaret Hall, Oxford University
Web applications: Search Page GAUG 2002. Lady Margaret Hall, Oxford University
Web applications: Search Results GAUG 2002. Lady Margaret Hall, Oxford University
Web applications: Record Details GAUG 2002. Lady Margaret Hall, Oxford University
XML Record - MODS GAUG 2002. Lady Margaret Hall, Oxford University
XML Format – OAI MARC GAUG 2002. Lady Margaret Hall, Oxford University
Code to embed for searching bean.setHost(request.getParameter("ipAddress")); bean.setDataBases(request.getParameter("dbName")); bean.setPort(Integer.parseInt(request.getParameter("portNumber"))); String title = request.getParameter("title").trim(); String author = request.getParameter("author").trim(); bean.submitQuery( query.and(query.getNode("author", author), query.getNode("title", title))); GAUG 2002. Lady Margaret Hall, Oxford University
Code for listing results <% for (int n = start; n <= last; n++) { bean.setRecordCursor(n); Field record = bean.getCurrentRecord(); String title = record.getAllFieldData("titleOfItem"); String name = record.getAllFieldData("name"); %> <li><%=title%>, <%=name%></li> <% } %> GAUG 2002. Lady Margaret Hall, Oxford University
E.g. Embedding in a web resource: BookHAD GAUG 2002. Lady Margaret Hall, Oxford University