#from xml.sax.saxutils import escape #from urlparse import urljoin #from template import dehtml Content-type: application/xml; charset=utf-8 #if $parent $channel.title: $escape($parent.title) $urljoin($channel.link,$parent.link) $dehtml($parent.description) #else $channel.title $channel.link $channel.description.replace($unichr(8217), "'") #end if $channel.language #for $item in $Items $item.title $channel.link$item.link $dehtml($item.description) #end for