Accepts a URL to a JSON feed for a content schedule. If no item is currently scheduled, the default content (specified by the Content URL on Kiosk setup page) is used. Default content will be overridden by scheduled items. Schedule URL is polled at configurable interval. kiosk_t
parameter is appended to the URL with a value of the current timestamp to prevent caching of the schedule. Schedule should be formatted according to (a simplified version of) the format provided by Chrome Sign Builder (exported schedules from Chrome Sign Builder are currently supported without support for screen position, repetition or display settings):
{
"schedule": {
"Value": {
"items": [
{
"content": "http://www.github.com",
"end": "Tue Jul 14 2015 12:30:00 GMT-0500",
"start": "Tue Jul 14 2015 09:30:00 GMT-0500",
},
{
"content": "http://www.google.com",
"end": "Tue Jul 15 2015 12:30:00 GMT-0500",
"start": "Tue Jul 16 2015 09:30:00 GMT-0500",
}
]
}
}
}
Note:
Remote schedule server must have CORS headers set or the Allow-Control-Allow-Origin:* Chrome extension can be installed to allow access. JSONP is not an option since scripts from arbitrary domains cannot be executed inside Chrome extensions.
Comments
0 comments
Please sign in to leave a comment.