-
- url(urlpath(r'documents', DOC, 'text', REVISION, format=False),
+
+ url(urlpath(r'documents', DOC, 'gallery', format=False),
+ document_gallery, {'emitter_format': 'json'},
+ name="docgallery_view"),
+
+ # XML
+ url(urlpath(r'documents', DOC, 'text', format=False),