#NEWLINE# def rss( items_func , template = None , **kwargs ) : #NEWLINE# #INDENT# rss = RSS ( template = kwargs , ** kwargs ) #NEWLINE# class RSSfeed ( ) : #NEWLINE# #INDENT# def GET( self ) : #NEWLINE# #INDENT# web . header ( 'Content-Type' , 'application/xml' ) #NEWLINE# return rss . feed ( items_func ( ) ) #NEWLINE# #UNINDENT# #UNINDENT# return RSSfeed