MRSS Feeds

From MSX - Wiki
Revision as of 13:14, 20 May 2022 by Benzac (talk | contribs) (→‎Code)
Jump to navigation Jump to search

It is possible to load MRSS feeds via a special interaction plugin. The plugin can be used with version 0.1.145 or higher.

Usage[edit]

The plugin must be loaded with an MRSS feed URL. Please see following action syntax example.

Optionally, a banner image or color can be set. The area of the banner is 1328x296 (WxH) pixels at layout resolution 720p (1992x444 at 1080p). The banner image is sized to fill the entire width (by keeping the ratio) and is positioned at the top. Please see following action syntax examples.

If you would like to use the plugin as reference to implement your own plugin, please have a look at this implementation script: http://msx.benzac.de/interaction/js/mrss.js.

There is also a service that allows you to launch the Media Station X application directly with an MRSS feed. Please see following action syntax examples.

Note: It is recommended to encode all URL parameters to ensure that they are evaluated correctly. Please note that the parts {MRSS_URL}, {BANNER_URL}, and color:{BANNER_COLOR} should be double-encoded in the final URL because they are URL parameters (url and banner) within a URL parameter (start).

Example[edit]

Screenshot[edit]

Example Screenshot (MRSS Examples)

Code[edit]

{
    "headline": "MRSS Examples",
    "menu": [{
            "icon": "rss-feed",
            "label": "Example Channel",
            "data": "request:interaction:http://msx.benzac.de/info/data/mrss/example.xml|https://picsum.photos/1992/444@http://msx.benzac.de/interaction/mrss.html"
        }]
}

Demo[edit]