Mercurial > dandelion
changeset 446:bb91f76d0bde
serialize rss template to xml, not html
| author | Radomir Dopieralski <moindev@sheep.art.pl> |
|---|---|
| date | Sun, 03 Aug 2008 00:21:33 +0200 |
| parents | 571c81b4437a |
| children | 419b4dceb298 |
| files | dandelion/history.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dandelion/history.py Sat Aug 02 21:15:17 2008 +0200 +++ b/dandelion/history.py Sun Aug 03 00:21:33 2008 +0200 @@ -74,6 +74,6 @@ 'title': page.title, } changes.append(change) - content = wiki.template("rss.xml", page, changes=changes, + content = wiki.template_stream("rss.xml", page, changes=changes, now=datetime.datetime.now().strftime("%a, %d %b %Y %H:%M:%S GMT")) return Response(content, mimetype="application/xml")
