--- a/web/views/xmlrss.py Wed Mar 03 19:20:03 2010 +0100
+++ b/web/views/xmlrss.py Thu Mar 04 09:57:40 2010 +0100
@@ -188,11 +188,14 @@
self.w(u'<guid isPermaLink="true">%s</guid>\n'
% xml_escape(entity.absolute_url()))
self.render_title_link(entity)
- self._marker('description', entity.dc_description(format='text/html'))
+ self.render_description(entity)
self._marker('dc:date', entity.dc_date(self.date_format))
self.render_entity_creator(entity)
self.w(u'</item>\n')
+ def render_description(self, entity):
+ self._marker('description', entity.dc_description(format='text/html'))
+
def render_title_link(self, entity):
self._marker('title', entity.dc_long_title())
self._marker('link', entity.absolute_url())