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+00:00', time.gmtime(item.itemDate))
+ output += ' <dc:date>%s</dc:date>\n' % time.strftime('%Y-%m-%dT%H:%M:%S+08:00', time.gmtime(item.itemDate))
output += '</item>\n'
return output
output = ''
output += '<item>\n'
output += ' <title>%s: %s</title>\n' % (item.blogTitle, item.itemTitle)
-# output += ' <guid>%s</guid>\n' % item.itemURL
output += ' <link>%s</link>\n' % item.itemURL
output += ' <description>\n'
output += cgi.escape(item.contents)
output += '\n </description>\n'
- output += '<pubDate>%s</pubDate>\n' % time.strftime('%a, %d %b %Y %H:%M:%S +0000', time.gmtime(item.itemDate))
+ output += '<pubDate>%s</pubDate>\n' % time.strftime('%a, %d %b %Y %H:%M:%S +0800', time.gmtime(item.itemDate))
output += '</item>\n'
return output