Shitiz Garg avatar Shitiz Garg committed d068e34

Update function's description with information about the current behavior

Comments (0)

Files changed (1)


 @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), ])
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.