Switch to unified view
a/ForgeBlog/forgeblog/main.py | b/ForgeBlog/forgeblog/main.py | ||
---|---|---|---|
... |
... |
||
206 | def feed(self, since=None, until=None, offset=None, limit=None): |
206 | def feed(self, since=None, until=None, offset=None, limit=None): |
207 | if request.environ['PATH_INFO'].endswith('.atom'): |
207 | if request.environ['PATH_INFO'].endswith('.atom'): |
208 | feed_type = 'atom' |
208 | feed_type = 'atom' |
209 | else: |
209 | else: |
210 | feed_type = 'rss' |
210 | feed_type = 'rss' |
211 | title = 'Recent changes to %s' % c.app.config.options.mount_point |
211 | title = '%s - %s' % (c.project.name, c.app.config.options.mount_label) |
212 | feed = M.Feed.feed( |
212 | feed = M.Feed.feed( |
213 | dict(project_id=c.project._id, app_config_id=c.app.config._id), |
213 | dict(project_id=c.project._id, app_config_id=c.app.config._id), |
214 | feed_type, |
214 | feed_type, |
215 | title, |
215 | title, |
216 | c.app.url, |
216 | c.app.url, |