Difference between revisions of "MRSS Feeds"
Line 15: | Line 15: | ||
* <code>https://msx.benzac.de/?start=content:https://msx.benzac.de/services/mrss.php?url={MRSS_URL}&banner={BANNER_URL}</code> | * <code>https://msx.benzac.de/?start=content:https://msx.benzac.de/services/mrss.php?url={MRSS_URL}&banner={BANNER_URL}</code> | ||
* <code>https://msx.benzac.de/?start=content:https://msx.benzac.de/services/mrss.php?url={MRSS_URL}&banner=color:{BANNER_COLOR}</code> | * <code>https://msx.benzac.de/?start=content:https://msx.benzac.de/services/mrss.php?url={MRSS_URL}&banner=color:{BANNER_COLOR}</code> | ||
+ | |||
+ | '''Note: It is recommended to encode all URL parameters to ensure that they are evaluated correctly. Please note that the <code>{MRSS_URL}</code> needs to be double encoded as it is a URL parameter (<code>url</code>) within a URL parameter (<code>start</code>).''' | ||
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. | ||
− | |||
− | |||
== Example == | == Example == |
Revision as of 12:16, 20 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.
content:request:interaction:{MRSS_URL}@http://msx.benzac.de/interaction/mrss.html
Optionally, a banner image or color can be set. The area of the banner is 1328x320 (WxH) pixels at layout resolution 720p (1992x480 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.
content:request:interaction:{MRSS_URL}|{BANNER_URL}@http://msx.benzac.de/interaction/mrss.html
content:request:interaction:{MRSS_URL}|color:{BANNER_COLOR}@http://msx.benzac.de/interaction/mrss.html
There is also a service that allows you to launch the Media Station X app directly with an MRSS feed. Please see following action syntax examples.
https://msx.benzac.de/?start=content:https://msx.benzac.de/services/mrss.php?url={MRSS_URL}&banner={BANNER_URL}
https://msx.benzac.de/?start=content:https://msx.benzac.de/services/mrss.php?url={MRSS_URL}&banner=color:{BANNER_COLOR}
Note: It is recommended to encode all URL parameters to ensure that they are evaluated correctly. Please note that the {MRSS_URL}
needs to be double encoded as it is a URL parameter (url
) within a URL parameter (start
).
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.
Example[edit]
Screenshot[edit]
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/480@http://msx.benzac.de/interaction/mrss.html"
}]
}
Demo[edit]
- Launch via App: https://msx.benzac.de/?start=menu:https://msx.benzac.de/info/data/mrss.json
- Launch via Demo Page: https://msx.benzac.de/info/?start=menu:https://msx.benzac.de/info/data/mrss.json