old_contents: #!/usr/bin/python
  
  import cgi
  import Cookie
  
  
  cookie = Cookie.SimpleCookie()
  cookie['session_id'] = 'daosjdniwludbniwluadwad'
  cookie['session_id']['expires'] = 24 * 60 * 60
  
  print cookie
  print """Content-type: text/html
  
  <html>
  
  <head><title>Sample CGI Script</title></head>
  
  <body>
  
  <h3> Sample CGI Script </h3>
  """
  
  form = cgi.FieldStorage()
  message = form.getvalue("message", "(no message)")
  
  print """
  
  <p>Previous message: %s</p>
  
  <p>form
  
  <form method="post" action="main.py">
  <p>message: <input type="text" name="message"/></p>
  </form>
  
  </body>
  
  </html>
  """ % cgi.escape(message)
new_contents: #!/usr/bin/python
  
  import cgi
  import Cookie
  
  
  cookie = Cookie.SimpleCookie()
  cookie['session_id'] = 'daosjdniwludbniwluadwad'
  cookie['session_id']['expires'] = 24 * 60 * 60
  
  headers = """Content-type: text/html
  
  """
  
  #form = cgi.FieldStorage()
  #message = form.getvalue("message", "(no message)")
  
  print cookie
  print headers
  print
  """<html>
  <head>
      <title>featherlib ebooker</title>
  </head>
  
  <body>
      <h3> featherlib ebooker </h3>
  
      <p>Make epub with a simple form.</p>
  
  </body>
  </html>
  """
subject: Clean up the index file a bit.