RSS Feedfinder - Webfrontend

"""This Webfrontend is written in Spyce (Python Server Pages/ and needs the file from Mark Pilgrim.
Download it from .

You can test this script at

<head><title>RSS Feedfinder</title></head>
if request.getpost1('url') != None:
  print '<h1><center>RSS Feed results for', request.getpost1('url'), '</center></h1>'
  print '''<h1><center>Newsfeed finder</center></h1>
<p><center>This search engine searches for RSS feeds starting at any toplevel URL and crawls the whole site.</center></p>'''
<form method=get action="[[=request.uri('path')]]">
    <td>Main URL of site:</td>
   <td><input class="searchbox" name="url" type=text value="" onBlur="if(this.value=='') this.value='';" onFocus="if(this.value=='') this.value='';"</td>
    <td><input type=submit value="Submit"></td>
url = request.getpost1('url')
if url != None:
    import feedfinder
    length = len(result)
    if result ==[]:
        print '<b>Sorry, no RSS Feed found.</b>'
        print '<b>Result:</b>'
        for i in range(length):
            print '<b><a href="'+result[i]+'">'+result[i]+'</a></b><br><br>'
        print """<p>