Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Used to display scrolling RSS feeds.
Kodi can display an RSS feed on the home screen of the default skin/interface (Estuary), as well as any other skin that supports RSS feeds. By default, the RSS news feed is taken from http://kodi.tv, but the feed can be changed to almost any RSS feed.
The RSS ticker can be toggled on or off by going to Settings -> Appearance -> Skin -> Show RSS news feed
Below this setting one can also change the RSS news feed address.
Main page: Skin development
The rss control is used for displaying scrolling RSS feeds from the internet in Kodi. You can choose the font, size, colour, location and the RSS feed to be displayed.
Example:
In addition to the Default Control Tags the following tags are available. Note that each tag is lower case only. This is important, as xml
tags are case-sensitive.
Tag | Description |
---|---|
id | This refers to the feedset to be displayed. This is the id reference to the <set> section in RssFeeds.xml (see below): |
font | Specifies the font to use from the font.xml file. |
textcolor | Specified the color the text should be. In hex AARRGGBB format, or a name from the colour theme. |
shadowcolor | Specifies the color of the drop shadow on the text. In AARRGGBB format, or a name from the colour theme. |
headlinecolor | Specified the color that any highlighted text should be. In hex AARRGGBB format, or a name from the colour theme. |
titlecolor | Specified the color the titles of the feeds should be. In hex AARRGGBB format, or a name from the colour theme. |
scrollspeed | Scroll speed of text in pixels per second. |
The actual content of the RSS feed is defined in the RssFeeds.xml file stored in the user's profile. Here is an example :
As can be seen, each feedset has an id attribute – this is what we are referencing in the <id>
attribute of the control. There can be more than one <set>
defined, and more than one <feed>
per set. The <feed>
's must be escaped so that they're xml-safe (ie replace & with & etc.). Each feed in the set runs through in the order they are defined.