changeset 1215:d068e342c04e

Update function's description with information about the current behavior
author Shitiz Garg <mail@dragooon.net>
date Fri, 06 Jan 2012 22:56:57 +0530
parents 8d547ec39a76
children 219e7f3a209a cb16a89fcd49 0e5107719adf
files MoinMoin/apps/feed/views.py
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/feed/views.py	Fri Jan 06 22:37:01 2012 +0530
+++ b/MoinMoin/apps/feed/views.py	Fri Jan 06 22:56:57 2012 +0530
@@ -38,11 +38,12 @@
 @feed.route('/atom/<itemname:item_name>')
 @feed.route('/atom', defaults=dict(item_name=''))
 def atom(item_name):
-    # maybe we need different modes:
-    # - diffs in html don't look great without stylesheet
-    # - full item in html is nice
-    # - diffs in textmode are OK, but look very simple
-    # - full-item content in textmode is OK, but looks very simple
+    # Currently atom feeds behave in the fol. way
+    # - Text diffs are shown in a side-by-side fashion
+    # - The current binary item is fully rendered in the feed
+    # - Image(binary)'s diff is shown using PIL
+    # - First item is always rendered fully
+    # - Revision meta(id, size and comment) is shown for parent and current revision
     query = Term(WIKINAME, app.cfg.interwikiname)
     if item_name:
         query = And([query, Term(NAME_EXACT, item_name), ])