Views Rest Feed
Categories
Component ID
2617388
Component name
Views Rest Feed
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
5551
Component created
Component changed
Component body
This module adds a new "Rest Export Feed" view display type, allowing "REST Export" displays to be attached to other Views displays. This behaves in the same way as the core "Feed" display type, which permits the attachment of RSS feeds to other displays (among other things).
Setup
- Enable views_rest_feed module.
- Create a new view.
- Add a "Page" display.
- Add a "REST Export Feed" display to the view.
- Under Format -> Serializer -> Settings, choose exactly one accepted request format.
- Under Feed Settings -> Attach to, select "Page".
- Under Feed Settings -> Path, set a path. Ideally you should make the path extension match the accepted request format. E.g., if you accepting JSON, create a path ending in .json.
- Save the view
- View the "Page" display.
- Observe the "JSON" feed icon at the footer of the page.
