Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d1da5e6778
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (16 sloc) 0.531 kb
{{
###
# response._vars contains the dictionary returned by the controller action
# for this to work the action must return something like
#
# dict(title=...,link=...,description=...,created_on='...',items=...)
#
# items is a list of dictionaries each with title, link, description, pub_date.
###
try:
from gluon.serializers import rss
response.write(rss(response._vars),escape=False)
response.headers['Content-Type']='application/rss+xml'
except:
raise HTTP(405, T('This information cannot be sent via RSS.'))
}}
Jump to Line
Something went wrong with that request. Please try again.