...
A story (including the inbox) may consist of an arbitrary number of frames by specifying the frame
key according to the following schema:
The Title
title
of a frame in the inbox will be used in the list of actions that the user can invoke from the inbox drop-down menu. The title of a frame in a regular story will be used as the name of the button that the user can activate. As explained above, the title can be different for various languages.
The Start
start
and Stop
stop
keys indicate the time window in which the frame of a story is active. For a frame in the inbox this means that the associated event is available in the inbox within the time window defined by the start and stop time. For a frame in a regular story, the associated event will be executed if the user pushes the story button between the start and stop time. The Start
start
and Stop
stop
keys have attributes date
and time
following the format YYYY-MM-DD
and hh:mm:ss
, respectively. Both the Start
start
and Stop
stop
keys are optional. If these are not specified, then these default to the start and end time of the script, respectively.
The Popup
popup
key is a flag indicating whether or not to show a pop-up window at the start of the frame. For a frame belonging to the inbox this means that the associated event is executed. For a frame of a regular story, a message dialog appears informing the user that new content is available for that story, which can trigger the user to activate the relevant story button.
A Condition
condition
can be added to a story (or inbox) frame; the associated event will only be executed if this condition is fulfilled. For now, the only supported condition is one based on a forecast published by the user. A condition must be specified according to:
...