Difference between revisions of "MRSS Feeds"

From MSX - Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
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.
 
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. Optionally, a background image can be set. 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. Please see following action syntax example.
+
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.
 
 
* <code>https://msx.benzac.de/?start=content:https://msx.benzac.de/services/mrss.php?url={MRSS_URL}&banner={BANNER_URL}&background={BACKGROUND_URL}</code>
 
 
 
'''Note: It is recommended to encode all URL parameters to ensure that they are evaluated correctly. Please note that the parts <code>{MRSS_URL}</code>, <code>{BANNER_URL}</code>, and <code>{BACKGROUND_URL}</code> should be double-encoded in the final URL, because they are URL parameters (<code>url</code>, <code>banner</code>, and <code>background</code>) within a URL parameter (<code>start</code>).'''
 
  
 
== Example ==
 
== Example ==

Revision as of 11:41, 23 May 2022

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 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. Please see following action syntax example.

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",
            "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]