Difference between revisions of "MRSS Feeds"

From MSX - Wiki
Jump to navigation Jump to search
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
It is possible to load MRSS feeds via a special interaction plugin. The plugin can be used with version '''0.1.145''' or higher.  
+
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 ==
 
== Usage ==
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 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.
+
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 and/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>
* <code>content:request:interaction:{MRSS_URL}|color:{BANNER_COLOR}@http://msx.benzac.de/interaction/mrss.html</code>
+
* <code>content:request:interaction:{MRSS_URL}|{BANNER_URL}|{BACKGROUND_URL}@http://msx.benzac.de/interaction/mrss.html</code>
 +
* <code>content:request:interaction:{MRSS_URL}|{BANNER_URL}|{BACKGROUND_URL}|{PLUGIN_URL}@http://msx.benzac.de/interaction/mrss.html</code>
 +
* <code>content:request:interaction:{MRSS_URL}||{BACKGROUND_URL}@http://msx.benzac.de/interaction/mrss.html</code>
 +
* <code>content:request:interaction:{MRSS_URL}|||{PLUGIN_URL}@http://msx.benzac.de/interaction/mrss.html</code>
  
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.
+
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.
  
* <code>https://msx.benzac.de/?start=content:https://msx.benzac.de/services/mrss.php?url={MRSS_URL}&banner={BANNER_URL}</code>
+
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=color:{BANNER_COLOR}</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.
+
== Example ==
 +
Please note that this example also shows an usage example of the [[Ad Plugin]].
  
== Example ==
 
 
=== Screenshot ===
 
=== Screenshot ===
 
[[File:mrss.png|thumb|640px|none|Example Screenshot (MRSS Examples)]]
 
[[File:mrss.png|thumb|640px|none|Example Screenshot (MRSS Examples)]]
Line 28: Line 30:
 
     "menu": [{
 
     "menu": [{
 
             "icon": "rss-feed",
 
             "icon": "rss-feed",
             "label": "Example Channel",
+
             "label": "Example Channel 1",
             "data": "request:interaction:http://msx.benzac.de/info/data/mrss/example.xml@http://msx.benzac.de/interaction/mrss.html"
+
            "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"
 
         }]
 
         }]
 
}
 
}

Revision as of 09:08, 20 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 and/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]

Please note that this example also shows an usage example of the Ad Plugin.

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]