mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
25 lines
440 B
JavaScript
25 lines
440 B
JavaScript
Meteor.startup(function () {
|
|
|
|
// Post RSS
|
|
|
|
Router.route('/feed.xml', {
|
|
name: 'feed',
|
|
where: 'server',
|
|
action: function() {
|
|
this.response.write(servePostRSS());
|
|
this.response.end();
|
|
}
|
|
});
|
|
|
|
// Comment RSS
|
|
|
|
Router.route('/rss/comments.xml', {
|
|
name: 'rss_comments',
|
|
where: 'server',
|
|
action: function() {
|
|
this.response.write(serveCommentRSS());
|
|
this.response.end();
|
|
}
|
|
});
|
|
|
|
});
|