Smartocto requires a feed with the most recent pushed stories which provides the following information per push:
- Timestamp of the moment of sending the push-notification
- The headline of the push notification, or title of the story in case you cannot supply the used text in the notification
- We need to now which story has been pushed. Therefore we need the unique postId of the pushed story if this is also used in the url of the story OR the full url of the story in case the postId is not available in the url
Example when you have the postId in url:
{
"items": [
{
"id": "12345",
"pubDate": "Wed, 09 Feb 2022 09:01:20 +0100",
"title": "Some title of a story",
},{...}
]
}
Example when you don’t have the postId in your story-url:
{
"id": "https://domain.org/some-url-over/here/",
"pubDate": "Wed, 09 Feb 2022 07:05:16 +0100",
"title": "Some title of a pushed story"
},{...}
]
}
NOTE: {...} in code is not valid, it's to indicate that more items can be added.
Sorting & amount of items
The items must be sorted on timestamp in descending order. The list with items needs to contain the 25 most recent push notifications.
Smartocto will read your delivered feed every minute to detect and visualise the pushed messages.
Aditional information & questions
In case of questions, please contact our support team via support@smartocto.com.