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