# HG changeset patch # User Katia Saurfelt # Date 1240404991 -7200 # Node ID 1d2a05685233dc7d6d5633910e5cabd3ead04f7d # Parent e3a2c31ae897bac09a2fcc8c671631f012976751 make the rss view valid (we should probably keep rdf:about on channel) diff -r e3a2c31ae897 -r 1d2a05685233 web/views/baseviews.py --- a/web/views/baseviews.py Wed Apr 22 12:20:25 2009 +0200 +++ b/web/views/baseviews.py Wed Apr 22 14:56:31 2009 +0200 @@ -690,10 +690,9 @@ req = self.req self.w(u'\n' % req.encoding) self.w(u'''''') - self.w(u' \n' % html_escape(req.url())) +>\n''') + self.w(u' \n') self.w(u' %s RSS Feed\n' % html_escape(self.page_title())) self.w(u' %s\n' % html_escape(req.form.get('vtitle', ''))) params = req.form.copy() @@ -721,7 +720,8 @@ def cell_call(self, row, col): entity = self.complete_entity(row, col) - self.w(u'\n' % html_escape(entity.absolute_url())) + self.w(u'\n') + self.w(u'%s\n' % html_escape(entity.absolute_url())) self.render_title_link(entity) self._marker('description', html_escape(entity.dc_description())) self._marker('dc:date', entity.dc_date(self.date_format))