For RSS/XML/JSON data displaying, select the appropriate source.
For text data:
Layer -> Source -> RSS/XML/JSON
There are several options for media data:
- MediaGallery -> Add content button -> XML/JSON
- Empty layer -> Source -> RSS/XML/JSON
- Media layer -> Source -> XML/JSON
In all cases, a URL field will be displayed for entering the source address. After entering, click “Parse” button.
In the opened window, there are the highlighted tag values which can be displayed. While choosing a tag, the data path will be displayed in the “Text” field.
The data can be uploaded both from one and several tags. Numbering starts with 0.
For news ticker with 2 or more news, the path will be specified as follows:
{{channel[0].item[0].description[0]}}{{channel[0].item[1].description[0]}}
For the formatted output, it’s better to use a spacer, for example:
{{channel[0].item[0].description[0]}} | {{channel[0].item[1].description[0]}}
The playback settings are available for text layers on the “Layer” item – here you can set the horizontal animation and its speed.
Media gallery and media layers setup is almost the same. You need to specify a tag path with image address.
Also, there is a “Reload” feature to set RSS/XML/JSON update interval.
To set displaying multiple RSS feeds:
Use * symbol to specify the group of repeated tags.
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<content>
<item>
<label>Text1</label>
<label>Text11</label>
<label>Text12</label>
<name> Text2</name>
<fname> Text3</fname>
<surname> Text4</surname>
</item>
<item>
<label>Text001</label>
<name> Text002</name>
<fname> Text003</fname>
<surname> Text004</surname>
</item>
</content>
</rss>
If it is necessary to display all the label only from the first item block, the following data should be:
{{content[0].item[0].label[*]}}
If it is necessary to display all the name from the different item blocks, the following data should be:
{{content[0].item[*].name[0]}}
Usage of several * symbols is unacceptable now, i.e. {{content[0]. item[*].label[*]}} does not work to display all the label from all the item.
Media Gallery (not media layer) is used for displaying images from RSS/XML/JSON. The XML data must be specified as a source.
To set up the duration of text field displaying, specify “Duration” parameter in the “Layer” – “Playback” section.
The duration in Media Gallery layers is configured in “Layer” – “Setting” section.
You can enable or disable data caching as needed.
Caching can be useful when the device has been rebooted for some reason and has no internet connection. In this case, the cached data will not be lost and will be displayed on the screen.
Comments
0 comments
Please sign in to leave a comment.