1 / 45

MyLibrary@hand : Enhancing Our Library Services By KM Ku and Dave Low

MyLibrary@hand : Enhancing Our Library Services By KM Ku and Dave Low University of Hong Kong Libraries. Searching with your Palm. Why PDA delivery option?. Libraries are in the information collection and distribution business

jcathleen
Download Presentation

MyLibrary@hand : Enhancing Our Library Services By KM Ku and Dave Low

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. MyLibrary@hand : Enhancing Our Library Services By KM Ku and Dave Low University of Hong Kong Libraries

  2. Searching with your Palm...

  3. Why PDA delivery option? • Libraries are in the information collection and distribution business • We spend 27% of our collection development budget annually on electronic forms of information • But just owning the information is worthless unless we can distribute it to our faculty and students. • But because Hong Kong is a wireless society, with 83.5% of its citizens using a mobile phones, we decided that we should provide our students and faculty with access to our information resources using hand-held devices

  4. We begin with Palm because • There are already large numbers of educational databases that have been adopted to PDA use • The Tungsten C is wireless and it can take advantage of the technology already in place at HKU • They were enthusiastic about wanting to partner with us to develop HKU Libraries-specific software

  5. Wireless Hot Spots – the trend Source: PC Magazine, Sep 16, 2003 , p.25.

  6. MyLibrary@Hand - Launched 6 Oct 2003 • HKU Libraries partners with PalmOne, Syracuse International (donated software) and Sun Microsystems (donated server). • Hong Kong’s first wireless LAN enabled Palm handheld solution to access library resources and services.

  7. Where to go wireless? • Over 200 Wireless access points have been installed on campus.  • 22 Wireless access points have been installed inside the Main Library

  8. Wireless Access Point Within 70 m range

  9. How to go wireless? • Use a Tungsten C

  10. Searching with your Palm...

  11. HK’s first Wireless Westlaw service

  12. Searching of Dragon by using the Palm’s web browser

  13. Gecko: PDA version of Dragon

  14. Enjoy the Wireless Services • Mobile Gate • Gateway to get library information • Searching • E-form, access and search Dragon (library catalogue) and other databases

  15. Mobile Gate Library information anytime anywhere

  16. Who to contact in HKUL Research guides and library information Library activities at a glance

  17. Mobile Gate

  18. Searching with your Palm...

  19. Prepare Offline Submit Online Read Offline

  20. You can prepare your requests well in advance before you access an Internet wireless hotspot. Libraries Online Information

  21. You can search statement in Dragon, HKUL catalogue. You can choose to search in a specific field, e.g. author, title Libraries Online Information

  22. Search articles on a topic across several databases. Libraries Online Information

  23. Select your subject discipline for alert services on any new publications. Libraries Online Information

  24. Sample Screen

  25. Once you are within an Internet wireless hotspot, submit your completed e-forms and search queries by tapping on Submit Pending Request. Libraries Online Information

  26. Getting the results The search results will be displayed for viewing at your palm. Libraries Online Information

  27. Implementation of One Stop Search by XSLT

  28. Agenda • Flow of One Stop Search • Reason to use Extensible Stylesheet Language Transformation (XSLT) • Difficulties on implementation of One Stop Search by XSLT • Our solution • Our implementation • Summary

  29. Flow of One Stop Search • Capture the search keyword • Issue the search to different search engines • Collect the result and click on next button until we got all the records • Compile the search results from different search engines • Present the result to the user

  30. Flow of One Stop Search One Stop Search ProQuest Science Direct Kluwer Online Capture Keyword Search and next Search and next Search and next Compile Result Present Result

  31. Reason to use XSL • Simple • XSL is plain text • Multiplatform • Can run on any machine with XSLT Engine • Easy to maintain • When the output layout of target search engine change • Just change the content of XSL file • No recompilation is needed

  32. Two main problems when using XSL • XSLT engine requires well formatted XML files as input • Web based search engine output in HTML only • HTML is not well formatted XML • HTML allows open tag only for some tags • E.g. <br>

  33. Solution • Use HTML tidy (http://tidy.sourceforge.net/) to convert HTML to well-format XML • “A HTML syntax checker and pretty printer. It can be used as a tool for cleaning up malformed and faulty HTML. In addition, it provides a DOM interface to the document that is being processed, which effectively makes you able to use it as a DOM parser for real-world HTML” • It is open source • It has many implementations such as Java, Perl and Python

  34. Solution • Sample code in Java StringReader strReader = new StringReader(html); Tidy tidy = new Tidy(); return tidy.parseDOM(strReader, null); • HTML => XML

  35. Two main problems when using XSL • There is no browse function in XSL • In one-stop search, we need to click the next button several times to collect all the result • We need to tell the program to find the next button and then issue a browse request based on the URL of the next button

  36. Solution • Add browse function to XSL by XSL extension • XSLT allows two kinds of extension, extension elements and extension functions • Type of extension depends on XSLT implementations • Detail can be found http://www.w3.org/TR/xslt#extension

  37. Solution • Our implementation • Select a java based XSLT Engine • Use java to write the function • Compile it into classes and then jar • Include the jar file into the classpath of the XSLT Engine • Run it

  38. Sample code on XSL extension Define Class to be used <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:HKUL="http://www.lib.hku.hk/java/hkul.apps.web.Browser" exclude-result-prefixes="HKUL"> <xsl:template match=“/"> <xsl:variable name="url">http://www.lib.hku.hk/</xsl:variable> <xsl:variable name="browser" select="HKUL:new($url)" /> <xsl:variable name="content" select="HKUL:browse($browser,$url)" /> <xsl:apply-templates select="$content/html/*" /> </xsl:template> Create it Call the browse function

  39. Our Implementation Browse Next Tidy Parse Result

  40. Our Implementation • Both client and server programs are written by Java • Client and server program communicated by HTTP • Making use of wireless network

  41. Our Implementation (Client side) • Palm OS • Sun’s Java 2 Platform, Micro Edition (J2ME) http://java.sun.com/j2me/ • Mobile Information Device Profile (MIDP) http://java.sun.com/products/midp

  42. Our Implementation (Server side) • Application Server (Running on Sun Solaris with JDK1.4) • Jakarta Tomcat (http://jakarta.apache.org/tomcat) • Jakarta Struts Framework (http://jakarta.apache.org/struts) • Xerces XSLT Engine (http://xml.apache.org/#xerces) • MySQL database (http://www.mysql.com)

  43. Summary • Implement the one stop search by XSLT • Simple • Multiplatform • Easy to maintain • Two problems • HTML is not well formatted XML • No browse function in XSL

  44. Summary • Solutions • HTML Tidy • XSL Extension • Implementation • J2ME • Jakarta Tomcat + Struts • Xerces • MySQL

  45. Questions? • Thank you

More Related