Recent Content Web Service

Component ID

2712559

Component name

Recent Content Web Service

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module displays the most recent content from two content types, for examples five articles and five videos. This is not possible with views, for example if you try to add attachment of a second content type in views it will break the JSON format.

The number of articles can be controlled via the end point URL by appending a digit to the end of the URL, e.g. ../endpoint/recent_content/5. We have used it for displaying articles and videos on a dashboard.

The module requires additional parameter to identify the content types or a settings page which can be added easily. Until I get a chance to add an argument, you can manually change articles and videos to content types of your choice.