Feed
: shell
: feed
: middleware
: /modules/core/feed/services/feed.js
: https://github.com/DecentCMS/DecentCMS/blob/master/modules/core/feed/services/feed.js
feedRouteHandler
This handler registers itself as an Express middleware that handles a catchall route with a relatively low priority, for the feed API.
feedRouteHandler.register(scope, context)
Registers the default feed API middleware.
/rss/after a content item id gets a RSS feed for it./atom/after a content item id gets an Atom feed for it./json/after a content item id gets a JSON feed for it.
Kind: static method of feedRouteHandler
| Param | Type | Description |
|---|---|---|
| scope | object |
The scope. |
| context | object |
The context. |
| context.expressApp | object |
The Express application object. |