#import re #from urlparse import urljoin #from xml.sax.saxutils import escape #from template import dehtml, iso8601 Content-Type: application/xml; charset=utf-8 $channel.title $channel.link $channel.description $channel.language #for $item in $Items $item.title $channel.link$item.link $dehtml($item.description) $escape($item.description) $iso8601($item.mtime) #end for