Инструкция по работе виджета бегущей строки для новостей/en: различия между версиями
(Новая страница: «Instructions for working with the news ticker widget») |
(Новая страница: «== Additional Information == If this article does not help in using the functionality as intended or if there are any questions after reading, they can be asked in the "Discussions" section at the top of the page. thumb|center| Example of the "Discussions" tab on the wiki page |800px Additional information can also be found on the page Как взаимодействовать пользователю с разде...») |
||
(не показаны 3 промежуточные версии этого же участника) | |||
Строка 1: | Строка 1: | ||
== Widget Description == | |||
== | This widget is a feature that allows real-time display of information from news sources in two modes: | ||
# Static news with graphical content | |||
# | # Ticker mode | ||
# | The widget receives information via a URL link, which serves as its source, and displays the retrieved news on the screen as a news block. Using the widget settings, users can customize the news display on the device to be unique and tailored to their specific needs. | ||
== Adding the Widget to the Personal Account == To add this widget to the personal account, the user needs to request the widget from the team specialist. It will be provided as a ".zip" archive. | |||
== | [[File:Пример_виджета_rss.png|thumb|center| Example of the widget in ".zip" archive format |800px]] | ||
Afterward, the user should log into the personal account and go to the "Content" section. [[File:Раздел_контент_личного_кабиента.png|thumb|center| Example of the "Content" section in the personal account |800px]] | |||
[[File:Пример_виджета_rss.png|thumb|center| | In the "Content" section, the user needs to drag and drop the widget from local storage into the "Content" section. Once the user adds the widget to the personal account, it will appear in the content list. | ||
[[File:Перенос_виджета rss.png|thumb|center| Example of dragging and dropping the widget |800px]] | |||
[[File:Раздел_контент_личного_кабиента.png|thumb|center| | {{Note|If the user has a large amount of content in their personal account, they can use the sorting function and select the content type "Widget." Using this feature, the user will be able to view all widgets added to the personal account. | ||
[[File:Виджеты.png|thumb|center| Example of proper sorting for easier widget search |800px]]|warn}} | |||
[[File:Перенос_виджета rss.png|thumb|center| | == Widget Settings == | ||
{{Note| | After transferring the widget to the "Content" section, to configure the widget for the first time, the user needs to double-click the widget icon. This action will take them to the widget’s main page. | ||
[[File:Виджеты.png|thumb|center| | [[File:Стартовая_страница виджета.png|thumb|center| Example of the widget’s main page |800px]] On the widget’s main page, the user can access the widget’s settings by clicking on the gear icon. | ||
[[File:переход в настройки.png|thumb|center| Example of the settings icon for accessing the widget settings |800px]] | |||
=== Widget Configuration Parameters === | |||
== | {{Note|The general settings block applies to the entire widget regardless of the operating mode used. If the widget is intended to display news text with images (without ticker mode), the parameters from this category need to be configured (listed below). If the widget is to be used in ticker mode, the "Ticker mode" checkbox must be activated, and the accompanying settings block (listed below) must be used.|warn}} | ||
The following parameters can be used to configure the widget:<br> '''General settings block:''' | |||
[[File:Стартовая_страница виджета.png|thumb|center| | * Language selection – allows the user to choose the language in which the widget interface will be displayed. The current implementation supports two languages: Russian and English. | ||
* Resource URL – allows specifying the URL link to the news portal from which the widget will retrieve the news block. This link should point to an RSS resource provided by the server in XML format. | |||
[[File:переход в настройки.png|thumb|center| | * Color slider – allows the user to choose a color scheme with two gradient options for displaying news ([[#Слайдер с палитрами|more details below]]). If at least one color slider is active, the "Background image" option for the news will be disabled as it will be replaced by the slider. | ||
=== | * Background image – allows the user to select a graphic content as the widget’s background. This option does not work if at least one color slider is active. | ||
{{Note| | * Animation – allows the user to choose the animation for news transitions. Two types of animations are available: fade (animation with a gradually disappearing background) and slide (sliding animation from right to left). | ||
* Content change delay – measured in seconds, this allows the user to set the speed of the news change using a numerical value. | |||
''' | * Disable images checkbox – when activated, this disables the display of news with images, leaving only the text. If this checkbox is deactivated, the news will display with an image (if available). | ||
* | * Autoscroll checkbox – when activated, autoscroll will be enabled for large news articles that do not fit on the screen. | ||
* | [[File:Общие_настройки.png|thumb|center| Example of the general settings block |800px]] | ||
* | '''Block "Settings for text information when ticker mode is disabled":''' | ||
* | * Text positioning – allows the user to choose where the news text will be positioned on the screen. Currently, two options are available: centered or at the top of the page. This does not work in ticker mode. | ||
* | * Static news text color – allows the user to select the color of the news text. The color can be specified using a HEX code [https://colorscheme.ru/html-colors.html available online]. | ||
* | * News text font size – allows the user to specify a numerical value for the news text font size. | ||
* | * Image width – measured in pixels, this allows the user to specify the width of the news image. | ||
* | * Image height – measured in pixels, this allows the user to specify the height of the news image. | ||
[[File:Общие_настройки.png|thumb|center| | * Image margin – measured in pixels, this allows the user to set the margin distance for the image. The margin applies from the left side of the screen. | ||
''' | * RSS channel tag – this setting points to the XML tag that the widget will use to retrieve the news text. Currently, three tags are supported: description, content, and title. | ||
* | [[File:Текст_отображение.png|thumb|center| Example of the settings block when ticker mode is disabled |800px]] | ||
* | '''Block: "Settings for ticker mode":''' | ||
* | * Ticker mode checkbox – when activated, this allows the user to enable ticker mode for the news text. It removes the news image and scrolls the current news in a single line. | ||
* | * Ticker speed – can range from "0" to "1000", allowing the user to set the speed of the ticker’s appearance and scrolling. | ||
* | News separator symbol – allows the user to specify a symbol that will be used to separate news articles. Recommended symbols include: (".") (",") ("/"). | ||
* | * News text spacing – allows the user to specify the pixel distance between news articles and the separator symbol. The spacing applies to both the current and next news articles, keeping them equidistant from the separator. | ||
* | * Ticker text color – allows the user to select the color of the ticker text. | ||
[[File:Текст_отображение.png|thumb|center| | * Ticker font size – allows the user to specify a numerical value for the ticker font size. | ||
''' | * Ticker direction – allows the user to choose the direction of the ticker movement. Two options are available: left to right and right to left. | ||
* | * Ticker margin – measured in pixels, this allows the user to set the margin for the ticker relative to the left and right sides of the screen. | ||
* | [[File:Настройки_бегущей_строки.png|thumb|center| Example of the ticker mode settings block |800px]] | ||
=== Color Slider === | |||
* | The color slider allows the user to select how the background for the news will be displayed and how many backgrounds will be used for the news.<br> To add a background, the user needs to click "Add color." | ||
* | [[File:Добавить_слайдер_.png|thumb|center| Example of the "Add color" button for the slider |800px]] | ||
* | {{Note|The slider can be removed using the trash can icon on the right. | ||
* | [[File:Удаление_слайдера.png|thumb|center| Example of the slider removal icon |800px]]|warn}} | ||
* | Once added to the settings screen, the slider’s color palette allows the user to customize the news display to their needs. Palettes can be added without limitations, but they will change along with the news.<br> If the number of palettes is fewer than the number of news articles, the palette will restart when the news articles loop. | ||
[[File:Настройки_бегущей_строки.png|thumb|center| | === Color Display Settings === | ||
All slider palettes have the option to create a gradient transition. The user can set any number of gradient points by clicking on the gradient panel. | |||
[[File:Количество_градиентов.png|thumb|center| Example of multiple gradient points on the palette |800px]] | |||
== | By selecting the desired point with a mouse click, the user can assign it a specific color. When a point is not selected, it appears as an unfilled white circle. When selected, it appears as a filled white circle. | ||
[[File:Пример_кругов.png|thumb|center| Example of selected and unselected points |800px]] | |||
There are two types of gradient displays available to the user: | |||
[[File:Добавить_слайдер_.png|thumb|center| | * Bottom to top – this gradient allows for changing the direction using a "rotator" (you can also specify the direction in degrees). [[File:Первый_вариант_.png|thumb|center| Example of the first gradient option |800px]] | ||
{{Note| | * Center to edge – this gradient spreads the color transition from the center outward. [[File:Второй_вариант 2.png|thumb|center| Example of the second gradient option |800px]] | ||
[[File:Удаление_слайдера.png|thumb|center| | After adding one slider module, the user can customize the color scheme for the background. Colors can be selected using: | ||
# Palette – the color is chosen from the palette using the mouse. | |||
# HEX code – the user enters the desired color's HEX code [https://colorscheme.ru/html-colors.html available online]. | |||
=== | # RGB panel – numerical values for each primary color can be set using the RGB panel [https://colorscheme.ru/html-colors.html available online]. | ||
[[File:3_цвета.png|thumb|center| Example of all three color selection options on the palette |800px]] | |||
[[File:Количество_градиентов.png|thumb|center| | The user also has access to a brightness slider that allows adjusting the brightness and saturation of the color. As an alternative to the slider, the "Alpha" parameter can be used, which also controls brightness. | ||
[[File:Альфа_и_ползунок.png|thumb|center| Example of the brightness slider and the "Alpha" parameter |800px]] | |||
[[File:Пример_кругов.png|thumb|center| | == Adding the Configured Widget to a Broadcast == | ||
To fully explore the functionality, the user needs to start a scheduled broadcast and add this widget as content. To review the steps mentioned earlier about creating a broadcast and schedule, it is recommended to read the following Wikipedia articles: | |||
* | |||
[[File:Первый_вариант_.png|thumb|center| | |||
* | |||
[[File:Второй_вариант 2.png|thumb|center| | |||
# | |||
# HEX | |||
# RGB | |||
[[File:3_цвета.png|thumb|center| | |||
[[File:Альфа_и_ползунок.png|thumb|center| | |||
== | |||
* [[Раздел "Устройства"]] | * [[Раздел "Устройства"]] | ||
* [[Раздел "Контент на устройства"]] | * [[Раздел "Контент на устройства"]] | ||
* [[Раздел "Трансляции"]] | * [[Раздел "Трансляции"]] | ||
* [[Раздел "Расписание"]] | * [[Раздел "Расписание"]] | ||
== | == Video Tutorial == [https://www.youtube.com/watch?v=FrXttSiJLyM Configuring the dynamic news display widget via RSS] | ||
[https://www.youtube.com/watch?v=FrXttSiJLyM | |||
== Additional Information == | |||
== | If this article does not help in using the functionality as intended or if there are any questions after reading, they can be asked in the "Discussions" section at the top of the page. | ||
[[File:RSS_обсуждения.png|thumb|center| Example of the "Discussions" tab on the wiki page |800px]] | |||
[[File:RSS_обсуждения.png|thumb|center| | Additional information can also be found on the page [[Как взаимодействовать пользователю с разделом "Обсуждения"]]. | ||
Текущая версия от 12:27, 18 сентября 2024
Widget Description
This widget is a feature that allows real-time display of information from news sources in two modes:
- Static news with graphical content
- Ticker mode
The widget receives information via a URL link, which serves as its source, and displays the retrieved news on the screen as a news block. Using the widget settings, users can customize the news display on the device to be unique and tailored to their specific needs. == Adding the Widget to the Personal Account == To add this widget to the personal account, the user needs to request the widget from the team specialist. It will be provided as a ".zip" archive.
Afterward, the user should log into the personal account and go to the "Content" section.
In the "Content" section, the user needs to drag and drop the widget from local storage into the "Content" section. Once the user adds the widget to the personal account, it will appear in the content list.
Widget Settings
After transferring the widget to the "Content" section, to configure the widget for the first time, the user needs to double-click the widget icon. This action will take them to the widget’s main page.
On the widget’s main page, the user can access the widget’s settings by clicking on the gear icon.
Widget Configuration Parameters
The following parameters can be used to configure the widget:
General settings block:
- Language selection – allows the user to choose the language in which the widget interface will be displayed. The current implementation supports two languages: Russian and English.
- Resource URL – allows specifying the URL link to the news portal from which the widget will retrieve the news block. This link should point to an RSS resource provided by the server in XML format.
- Color slider – allows the user to choose a color scheme with two gradient options for displaying news (more details below). If at least one color slider is active, the "Background image" option for the news will be disabled as it will be replaced by the slider.
- Background image – allows the user to select a graphic content as the widget’s background. This option does not work if at least one color slider is active.
- Animation – allows the user to choose the animation for news transitions. Two types of animations are available: fade (animation with a gradually disappearing background) and slide (sliding animation from right to left).
- Content change delay – measured in seconds, this allows the user to set the speed of the news change using a numerical value.
- Disable images checkbox – when activated, this disables the display of news with images, leaving only the text. If this checkbox is deactivated, the news will display with an image (if available).
- Autoscroll checkbox – when activated, autoscroll will be enabled for large news articles that do not fit on the screen.
Block "Settings for text information when ticker mode is disabled":
- Text positioning – allows the user to choose where the news text will be positioned on the screen. Currently, two options are available: centered or at the top of the page. This does not work in ticker mode.
- Static news text color – allows the user to select the color of the news text. The color can be specified using a HEX code available online.
- News text font size – allows the user to specify a numerical value for the news text font size.
- Image width – measured in pixels, this allows the user to specify the width of the news image.
- Image height – measured in pixels, this allows the user to specify the height of the news image.
- Image margin – measured in pixels, this allows the user to set the margin distance for the image. The margin applies from the left side of the screen.
- RSS channel tag – this setting points to the XML tag that the widget will use to retrieve the news text. Currently, three tags are supported: description, content, and title.
Block: "Settings for ticker mode":
- Ticker mode checkbox – when activated, this allows the user to enable ticker mode for the news text. It removes the news image and scrolls the current news in a single line.
- Ticker speed – can range from "0" to "1000", allowing the user to set the speed of the ticker’s appearance and scrolling.
News separator symbol – allows the user to specify a symbol that will be used to separate news articles. Recommended symbols include: (".") (",") ("/").
- News text spacing – allows the user to specify the pixel distance between news articles and the separator symbol. The spacing applies to both the current and next news articles, keeping them equidistant from the separator.
- Ticker text color – allows the user to select the color of the ticker text.
- Ticker font size – allows the user to specify a numerical value for the ticker font size.
- Ticker direction – allows the user to choose the direction of the ticker movement. Two options are available: left to right and right to left.
- Ticker margin – measured in pixels, this allows the user to set the margin for the ticker relative to the left and right sides of the screen.
Color Slider
The color slider allows the user to select how the background for the news will be displayed and how many backgrounds will be used for the news.
To add a background, the user needs to click "Add color."
Once added to the settings screen, the slider’s color palette allows the user to customize the news display to their needs. Palettes can be added without limitations, but they will change along with the news.
If the number of palettes is fewer than the number of news articles, the palette will restart when the news articles loop.
Color Display Settings
All slider palettes have the option to create a gradient transition. The user can set any number of gradient points by clicking on the gradient panel.
By selecting the desired point with a mouse click, the user can assign it a specific color. When a point is not selected, it appears as an unfilled white circle. When selected, it appears as a filled white circle.
There are two types of gradient displays available to the user:
- Bottom to top – this gradient allows for changing the direction using a "rotator" (you can also specify the direction in degrees).
- Center to edge – this gradient spreads the color transition from the center outward.
After adding one slider module, the user can customize the color scheme for the background. Colors can be selected using:
- Palette – the color is chosen from the palette using the mouse.
- HEX code – the user enters the desired color's HEX code available online.
- RGB panel – numerical values for each primary color can be set using the RGB panel available online.
The user also has access to a brightness slider that allows adjusting the brightness and saturation of the color. As an alternative to the slider, the "Alpha" parameter can be used, which also controls brightness.
Adding the Configured Widget to a Broadcast
To fully explore the functionality, the user needs to start a scheduled broadcast and add this widget as content. To review the steps mentioned earlier about creating a broadcast and schedule, it is recommended to read the following Wikipedia articles:
== Video Tutorial == Configuring the dynamic news display widget via RSS
Additional Information
If this article does not help in using the functionality as intended or if there are any questions after reading, they can be asked in the "Discussions" section at the top of the page.
Additional information can also be found on the page Как взаимодействовать пользователю с разделом "Обсуждения".