[Zope3-checkins] CVS: Products3/z3checkins - rss_container.pt:1.5

Steve Alexander cvs-admin at zope.org
Thu Nov 6 13:53:35 EST 2003


Update of /cvs-repository/Products3/z3checkins
In directory cvs.zope.org:/tmp/cvs-serv8159

Modified Files:
	rss_container.pt 
Log Message:
Bookmarks do not have rss views.

This is not usually a problem, because RSS clients generally don't accept
cookies. However, if you have a bookmark cookie set, and you view the
RSS in a browser, you will get a NotFoundError because the rss view for
the Bookmark cannot be found.

This checkin fixes this by skipping items that do not have an rss view.


=== Products3/z3checkins/rss_container.pt 1.4 => 1.5 ===
--- Products3/z3checkins/rss_container.pt:1.4	Wed Sep 17 09:15:35 2003
+++ Products3/z3checkins/rss_container.pt	Thu Nov  6 13:53:34 2003
@@ -8,6 +8,6 @@
     <docs>http://backend.userland.com/rss</docs>
     <generator>z3checkins</generator>
     <webMaster tal:condition="webmaster" tal:content="webmaster" />
-<item tal:repeat="item view/checkins" tal:replace="structure item/@@rss" />
+<item tal:repeat="item view/checkins" tal:replace="structure item/@@rss|nothing" />
   </channel>
 </rss>




More information about the Zope3-Checkins mailing list