# -*- coding: iso8859-1 -*- # # Copyright (C) 2006 CSIRO Australia # Copyright (C) 2007 Annodex Association, Inc. # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. # # This software consists of voluntary contributions made by many # individuals. For exact contribution history, see the revision # history and logs. # # Author: Conrad Parker import os class Form (object): def __init__(self, url=''): self.url = url self.action = os.getenv('SCRIPT_NAME') + '/' def title (self): return 'Annodex media validation service' def __str__(self): return '''

Validate Your Media

Validate by URL

Enter the URL of the media you want to check.

''' % (self.action, self.url)