#from template import dehtml, iso8601 Content-type: text/plain, charset="utf-8" title: $channel.title link: $channel.link description: $channel.description.encode("utf-8") #for $item in $Items #set $description = "\r\t".join(dehtml($item.description).splitlines()) title: $item.title link: $item.link description: $description created: $iso8601($item.mtime) #end for