Mercurial > hg > decoupage
changeset 57:884e6c805208
more stubbing for RSS
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 18 Nov 2010 08:32:45 -0800 |
parents | 0cc1af24602b |
children | 1275124ed767 |
files | decoupage/formats.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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