100 likes | 217 Vues
This presentation by Ere Maijala at the National Library of Finland's Developer Meets Developer 2010 event covers the WebVoyáge Enhancer and its capabilities in modifying Online Public Access Catalogs (OPAC). It discusses its architecture, including the use of Apache, Tomcat, and the AJP v1.3 protocol, highlighting how it provides modular functionality through plugins. Limitations such as the inability to fetch non-existent patron IDs and time-consuming operations are addressed, along with current functionalities like text replacement and OpenURL creation. Feedback and plugin development recommendations are also provided.
E N D
WebVoyágeEnhancer Ere Maijala The National Library of Finland Voyager DevelopermeetsDeveloper 2010
Why? • TomcatWebVoyáge is flexible in someways, notsomuch in others • Need to get to tweak the OPAC in a verydeepway
Basics • A perldaemon • Talks AJPv13 protocolwithApache and Tomcat • Sitsbetweenthem and interceptsrequests and responses • Modular • Mostfunctionalityprovidedbyplugins • Utilityclassprovideshelperfunctions
Diagram of the Data Flow WithoutWebVoyágeEnhancer: Web Browser Apache Tomcat 80 10007 WithWebVoyágeEnhancer: Web Browser Apache WebVoyágeEnhancer Tomcat 80 30007 10007
Possibilities • Modify HTML contentreturnedfromTomcat (postprocessing) • CraftcustomresponseswithoutaccessingTomcat at all (preprosessing) • Fetch data from the database, othersources • Reuseconnections, cachedatabaseconnection
Limitations • No magic • E.g. Can’tgetpatron id ifitdoesn’texist in the html • There’scode to grab and store the patron id uponlogin, though • No multipageoperationswithoutgoingthroughgreathurdles • No thingsthattaketoomuchtime • E.g. AJAX maybebettersuited for somecases
CurrentFunctionality • Built-in: Easytextreplacements • String to string • Regularexpressions • Extended OpenURL creation • Reference Management functions (export) • HTML lists • RefWorksExport • MarcXML • IMS Packages for virtuallearningenvironments • Openallexternallinks in a new window • Show a condensedsummary of holdings • Extendpatronaccountinformation
In Practice… • Installation • Apacheconfiguration • Languagetag in HTML (optional) • Configuration • Plugins • Logging • XSL Files
TODO • Moreplugins! • Need feedback to knowwhat is needed • Testing in a productionenvironment
Thanks! ere.maijala@helsinki.fi http://www.exlibrisgroup.org/display/VoyagerCC/Tomcat+WebVoyage+Enhancer