#! /opt/local/bin/python2.2
########################################################################
#
# elvin.org web
# notification format registry
#
# File: $Source: /Users/d/work/elvin/CVS/web-org/cgi-bin/formats/fshow.py,v $
# Version: $RCSfile: fshow.py,v $ $Revision: 1.3 $
# Copyright: (C) 1998-2003 elvin.org
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
########################################################################
"""
Display a notification format, given the raw data file.
"""
########################################################################
ORG_SERVER = "http://www.elvin.org"
ORG_ROOT = ""
ORG_CGI_HOME = "http://www.elvin.org/cgi-bin"
ORG_CGI_FORMAT_ROOT = "/formats"
ORG_REGISTRY = "/data/www/www.elvin.org/docs/regs/formats/registry"
#ORG_REGISTRY = "/home/d/work/web/web-org/regs/formats/registry"
########################################################################
import base64, cgi, os, pickle, sys, getopt, random, string, time, traceback, urllib
########################################################################
web_header = '''Content-type: text/html
Elvin-check: ok