#import time #from urlparse import urljoin #from xml.sax.saxutils import escape #from template import dehtml, SNParser Content-type: text/xml
Copyright $time.strftime("%Y") $channel.title 2.0b1 #set created=$time.strftime("%a, %d %b %Y %H:%M:%S GMT", $time.gmtime()) $created $created http://my.userland.com/stories/storyReader$11 #if $parent $channel.title: $parent.title $urljoin($channel.link,$parent.link) $escape($dehtml($parent.description)) #else $channel.title $channel.link $channel.description.replace($unichr(8217), "'") #end if $channel.author $channel.language
#for $item in $Items $escape($dehtml($item.description)) #for $link in SNParser($item.description).links.items() $escape($link[0]) $escape($link[1]) #end for #end for