#from Cheetah.Template import Template #from tfplib.htmlutils import ReplaceSpecialChars #import datetime #compiler-settings autoImportForExtendsDirective = False allowExpressionsInExtendsDirective = True #end compiler-settings #extends Template.compile(file=config["paths"]["FeedAtom"].encode("utf-8"), moduleGlobals={"config": config}) #def id tag:$ReplaceSpecialChars($config['auto']['Server']),$datetime.datetime.now().strftime("%Y"):blog/topics/$ReplaceSpecialChars($Topic) #end def #def links #end def #def title $ReplaceSpecialChars($Name) :: Entries in $ReplaceSpecialChars($Topic) #end def