Dynamic content via RSS feed (custom version)
Description of the Situation
Periodically, users have the need to display some additional text information on the device along with the main broadcast. To do this, dynamic content can be launched through the RSS feed in the broadcast.
'What It Can Be Used For
Such content is well suited for several formats::
- Displaying static text content on devices
- Displaying dynamic content (running lines) on devices
- Creating "content" similar to an information board and subsequently displaying it on devices
Workflow Logic
- First, the system administrator sets up the user's application through RSS.
- Next, the user needs to create a suitable type of content described above in their personal account.
- The next step is "Creating a broadcast".
- The penultimate action will be creating a schedule for the broadcast.
- Displaying the necessary content on devices.
Working Principle
After the client's system administrator has set up the client's application to work with RSS, the user can start preparing content to be displayed on the device.
To do this, they need to go to the "Content" section in their personal account and view the available content options. They need to choose text content.
By clicking on the "Add new text" button, a new page with parameters that need to be configured will open.
"Text" Content Setup
Preparation
To start, the system administrator on the user's side should have already set up the operation using an RSS request and sent the URL for API connection.
The URL will look something like this:
https://rc-api.smartplayer.org/v2/company-rss/feed/54
In this case, instead of the last digit (54) in the request, it is the Company ID.
It can be viewed in the personal account on the user icon.
Working with "Text" Type Content"
First, you need to find the "Content" section and select the appropriate type of content in it. In our case, it's text.
The next step is for the user to create new text content using the button.
After clicking the "Add New Text" button, a settings window will open.
Inside the window, the first thing to pay attention to is the line - "Choose source type". In this line, we choose the "URL-source" option. After the performed manipulations, we insert our Swagger URL into the "RSS source" section and click the preview icon.
Next, the SmartPlayer server parses the URL. The data from the parsed link will look something like this:
The next step is to choose the right line to create a query template from it.
After clicking on the highlighted line, a template with parameters will be formed. It will be displayed in the empty line at the top. Before the parameters, in the line, you need to specify in text what information will be displayed.
As a result, inside the template, there will be a static part of the line - which the user specifies, and a dynamic part of the line - which is the template.
Additional Features
If the user wishes, they can change the appearance of the content. The parameters that can be set are:
- Update frequency (how often the SmartPlayer client application will contact the server for new data)
- Font
- Font size
- Font color
- Text alignment
- "Bold" text
- Italic text
- Underlined text
The last step is to click the "Save" button
Creating a Broadcast
The next step is to create a broadcast.
The user needs to go to the "Broadcasts" section.
Next, they need to divide the "content window" into zones and fill them with the necessary content.
They substitute the content they need into a certain zone. Apart from the text with the information we set up above, the rest of the content can be anything.
Next, the user renames the broadcast and saves the settings by clicking on the save icon to the right of the title.
Creating a Schedule for the Device
To create a schedule, the user needs to find their device in the "Device" section. After selecting their device, they find the "Schedule" section in the list.
Upon entering the pop-up window, the user will see a calendar where they will need to select a date and click "Add New".
Next, a window with basic schedule parameters will open.
Additional schedule parameters can be seen by clicking on the "More" button.
After setting all the parameters, the "Save" button must be pressed.
After all the manipulations, the necessary information should be displayed on the device according to the schedule.
Final Result
The information necessary for the user is displayed on the devices and is automatically updated, without additional settings and manipulations.