#!/usr/bin/ruby
require 'cgi'
require 'iconv'
class App
def initialize
@cgi = CGI.new
@resp = ['text/plain', 'something is wrong if you see this']
@xml = nil
@msgs = []
end
def selfurl
@cgi.script_name
end
def toppage
@resp = ['text/html', <
WIS Metadata Validator
(1) upload file: