Динамический контент через RSS ленту (пользовательская версия)/en: различия между версиями
(Новая страница: «==='''"Text" Content Setup''' === ==== '''Preparation''' ==== thumb|right | Location ID - Company |150px 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.<br> The URL will look something like this:<br> <code>https://rc-api.smartplayer.org/v2/company-rss/feed/54</code><br> In this case, instead of the last digit (54) in the...») |
(Новая страница: «=== '''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. thumb|center | Path to schedule|300px Upon entering the pop-up window, the user will see a calendar where they will need to select a date and click "Add New". File:Добавление расписани...») |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 48: | Строка 48: | ||
Example template|300px]] | Example template|300px]] | ||
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.<br> | 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.<br> | ||
==== '''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 | ||
* | [[File:Настройка текста в контенте.png|thumb|center | List of settings for text editing|300px]] | ||
[[File:Настройка текста в контенте.png|thumb|center | | The last step is to click the "Save" button | ||
=== '''Creating a Broadcast''' === | |||
=== ''' | The next step is to create a broadcast.<br> | ||
The user needs to go to the "Broadcasts" section. | |||
[[File:Создание трансляции.png|thumb|center | Section "Broadcast" in your personal account|300px]] | |||
[[File:Создание трансляции.png|thumb|center | | Next, they need to divide the "content window" into zones and fill them with the necessary content. | ||
[[File:Зоны в трансляции.png|thumb|center | | |||
[[File:Зоны в трансляции.png|thumb|center | | Content Zones|300px]] | ||
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.<br> | |||
Next, the user renames the broadcast and saves the settings by clicking on the save icon to the right of the title. | |||
[[File:Название трансляции.png|thumb|center | | [[File:Название трансляции.png|thumb|center | | ||
String to rename the broadcast|300px]] | |||
=== '''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. | ||
[[File:Путь до расписания.png|thumb|center | Path to schedule|300px]] | |||
Upon entering the pop-up window, the user will see a calendar where they will need to select a date and click "Add New". | |||
[[File:Путь до расписания.png|thumb|center | | [[File:Добавление расписания.png|thumb|center | | ||
Adding a schedule|300px]] | |||
[[File:Добавление расписания.png|thumb|center | | Next, a window with basic schedule parameters will open. | ||
[[File:Стандартные параметры расписания.png|thumb|center | Standard schedule options|300px]] | |||
[[File:Стандартные параметры расписания.png|thumb|center | | Additional schedule parameters can be seen by clicking on the "More" button. | ||
[[File:Развёрнутые параметры расписания.png|thumb|center | Expanded schedule parameters|300px]] | |||
[[File:Развёрнутые параметры расписания.png|thumb|center | | After setting all the parameters, the "Save" button must be pressed.<br> | ||
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. | ||
Текущая версия от 16:36, 15 сентября 2023
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.