Динамический контент через 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...») |
(Новая страница: «==== '''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 thumb|center | List of settings for text editing|300px The l...») |
||
Строка 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]] | |||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> | ||
=== '''Создание расписания для устройства ''' === | === '''Создание расписания для устройства ''' === |
Версия от 16:34, 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.
Создание расписания для устройства
Для создания расписания пользователю необходимо найти своё устройство в разделе "Устройство". Выбрав своё устройство он находит в списке раздел "Расписание"
Перейдя во всплывшее окно, пользователь увидит календарь, на котором ему надо будет выбрать дату и нажать "Добавить новое"
Далее откроется окно с базовыми параметрами расписания.
Дополнительные параметры расписания можно увидеть нажав на клавишу "Ещё".
После настройки всех параметров необходимо нажать кнопку "Сохранить".
После всех манипуляций нужная информация должна выводиться на устройство в соответствии с расписанием.
Итоговый результат
Нужная для пользователя информация выводится на устройствах и автоматически обновляется, без дополнительных настроек и манипуляций.