# HG changeset patch # User Jeff Hammel # Date 1290097965 28800 # Node ID 884e6c805208e0dd3012a7df056350e8ab230fcb # Parent 0cc1af24602b280019f01fcc5f2b6314a2f7f76e more stubbing for RSS diff -r 0cc1af24602b -r 884e6c805208 decoupage/formats.py --- a/decoupage/formats.py Thu Nov 18 08:25:00 2010 -0800 +++ b/decoupage/formats.py Thu Nov 18 08:32:45 2010 -0800 @@ -18,6 +18,12 @@ return 'application/json', json.dumps(data['files']) class RSS(object): + """RSS for indices""" - def __init__(self, n=10): + def __init__(self, app, count=10, cascade=False): + self.app = app # the decoupage + self.count = count + self.cascade = cascade + + def __call__(self, request, data): pass