Add a rssitem_id attribut to RSSView to easly choose the view used for items.
--- a/web/views/xmlrss.py Fri Mar 12 14:55:41 2010 +0100
+++ b/web/views/xmlrss.py Fri Mar 12 15:53:31 2010 +0100
@@ -148,6 +148,7 @@
content_type = 'text/xml'
http_cache_manager = httpcache.MaxAgeHTTPCacheManager
cache_max_age = 60*60*2 # stay in http cache for 2 hours by default
+ item_vid = 'rssitem'
def _open(self):
req = self._cw
@@ -174,7 +175,7 @@
self._close()
def cell_call(self, row, col):
- self.wview('rssitem', self.cw_rset, row=row, col=col)
+ self.wview(self.item_vid, self.cw_rset, row=row, col=col)
class RSSItemView(EntityView):