100 likes | 202 Views
WebVoyáge Enhancer. Ere Maijala The National Library of Finland Voyager Developer meets Developer 2010. Why ?. Tomcat WebVoyáge is flexible in some ways , not so much in others Need to get to tweak the OPAC in a very deep way. Basics. A perl daemon
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