1 # $Id: Web.pm,v 1.1 2006-09-26 09:31:10 mike Exp $
3 package ZOOM::IRSpy::Web;
10 our @ISA = qw(ZOOM::IRSpy);
12 use ZOOM::IRSpy::Record qw(xml_encode);
16 ZOOM::IRSpy::Web - subclass of ZOOM::IRSpy for use by Web UI
20 This behaves exactly the same as the base C<ZOOM::IRSpy> class except
21 that the Clog()> method does not call YAZ log, but outputs
22 HTML-formatted messages on standard output.
30 # We should only produce output if $level is turned on
31 my $message = "[$level] " . join("", @s);
33 print xml_encode($message), "<br/>\n";
43 Mike Taylor, E<lt>mike@indexdata.comE<gt>
45 =head1 COPYRIGHT AND LICENSE
47 Copyright (C) 2006 by Index Data ApS.
49 This library is free software; you can redistribute it and/or modify
50 it under the same terms as Perl itself, either Perl version 5.8.7 or,
51 at your option, any later version of Perl 5 you may have available.