Das Problem ist das $archive.
Ist das eine Unix variable oder etwas das ich zum Beispiel in einer config.py setzen muss?#from atomi import atom
#from StringIO import StringIO
#import re
#if $age > 90 and not($archive)
Status: 410 Gone
#else
Content-Type: application/atom+xml; charset=utf-8
und
so
weiter
Ich bekomme diesen Fehler:
CGI Failure
traceback:Traceback (most recent call last):
File "/var/www/htdocs/index.cgi", line 91, in ?
print response
File "/var/lib/python-support/python2.4/Cheetah/Template.py", line 981, in __str__
def __str__(self): return getattr(self, mainMethName)()
File "/var/www/htdocs/template/atom.py", line 97, in respond
data = VFN(VFFSL(SL,"atomize",False)([item['filename'] for item in VFFSL(SL,"Items",True)],StringIO(),VFFSL(SL,"Items",True),VFFSL(SL,"archive",True)),"getvalue",True)
NotFound: cannot find 'archive'