- output += ' <content:encoded>\n'
- output += item.contents
- output += '\n </content:encoded>\n'
- output += ' <dc:date>%s</dc:date>\n' % time.strftime('%Y-%m-%dT%H:%M:%S+00:00', time.gmtime(item.itemDate))
+ output += ' <description>\n'
+ output += cgi.escape(item.contents)
+ output += '\n </description>\n'
+ output += ' <dc:date>%s</dc:date>\n' % time.strftime('%Y-%m-%dT%H:%M:%S+08:00', time.gmtime(item.itemDate))