Difference between revisions of "MRSS Feeds"

From MSX - Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
* <code>content:request:interaction:{MRSS_URL}@http://msx.benzac.de/interaction/mrss.html</code>
 
* <code>content:request:interaction:{MRSS_URL}@http://msx.benzac.de/interaction/mrss.html</code>
  
Optionally, a banner and/or background image 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 in the center. The area of the background is 1280x720 (WxH) pixels at layout resolution 720p (1920x1080 at 1080p). The background image is stretched to fill the entire size. Additionally, it is possible to set a plugin URL to play video/audio items with it (e.g. to integrate ads). The plugin URL can contain the keywords <code>{URL}</code>, <code>{TYPE}</code>, and <code>{GUID}</code>, which are replaced with the corresponding item values. Please see following action syntax examples.
+
Optionally, a banner and/or background image 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 in the center. The area of the background is 1280x720 (WxH) pixels at layout resolution 720p (1920x1080 at 1080p). The background image is stretched to fill the entire size. Additionally, it is possible to set a plugin URL to customize the playback of video/audio items (e.g. to integrate ads or tracking). The plugin URL can contain the keywords <code>{URL}</code>, <code>{TYPE}</code>, and <code>{GUID}</code>, which are replaced with the corresponding item values. Please see following action syntax examples.
  
 
* <code>content:request:interaction:{MRSS_URL}|{BANNER_URL}@http://msx.benzac.de/interaction/mrss.html</code>
 
* <code>content:request:interaction:{MRSS_URL}|{BANNER_URL}@http://msx.benzac.de/interaction/mrss.html</code>

Revision as of 10:03, 15 June 2022

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

Usage[edit]

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

Optionally, a banner and/or background image 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 in the center. The area of the background is 1280x720 (WxH) pixels at layout resolution 720p (1920x1080 at 1080p). The background image is stretched to fill the entire size. Additionally, it is possible to set a plugin URL to customize the playback of video/audio items (e.g. to integrate ads or tracking). The plugin URL can contain the keywords {URL}, {TYPE}, and {GUID}, which are replaced with the corresponding item values. 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 launcher service that allows you to launch the Media Station X application directly with an MRSS feed: https://msx.benzac.de/info/mrss.html.

Example[edit]

Screenshot[edit]

Example Screenshot (MRSS Examples)

Code[edit]

{
    "headline": "MRSS Examples",
    "menu": [{
            "icon": "rss-feed",
            "label": "Example Channel 1",
            "extensionLabel": "Banner 1",
            "data": "request:interaction:http://msx.benzac.de/info/data/mrss/example.xml|http://msx.benzac.de/media/banner.png|http://msx.benzac.de/media/banner_background.png@http://msx.benzac.de/interaction/mrss.html"
        }, {
            "icon": "rss-feed",
            "label": "Example Channel 2",
            "extensionLabel": "Banner 2",
            "data": "request:interaction:http://msx.benzac.de/info/data/mrss/example.xml|https://picsum.photos/1992/444@http://msx.benzac.de/interaction/mrss.html"
        }, {
            "icon": "rss-feed",
            "label": "Example Channel 3",
            "extensionLabel": "Ad Plugin",
            "data": "request:interaction:http://msx.benzac.de/info/data/mrss/example.xml|||http://msx.benzac.de/plugins/ad.html?url={URL}&type={TYPE}&guid={GUID}@http://msx.benzac.de/interaction/mrss.html"
        }]
}

Demo[edit]