Class: UWA.Plugins.Ecosystem

UWA/Plugins/Ecosystem. UWA.Plugins.Ecosystem

new UWA.Plugins.Ecosystem(widget, options)

This Plugin add an Netvibes Ecosystem widget availability checking and remotly disabling for all platforms.

Examples

Using plugin in Widget Javascript:

<script type="text/javascript" src="http://uwa.netvibes.com/lib/c/UWA/js/UWA_Plugins_Ecosystem.js"></script>
<script type="text/javascript">
   var MyPlugin = UWA.Plugins.Ecosystem(widget, {
       api: 'http://api.eco.netvibes.com',
       front: 'http://eco.netvibes.com',
       interval: 86400
   });
</script>

Using plugin in Widget Manifest:

<widget:plugins>
 <widget:plugin name="Ecosystem">
   <widget:option name="api" value="http://api.eco.netvibes.com">
   <widget:option name="front" value="http://eco.netvibes.com">
   <widget:option name="interval" value="86400">
 </widget:plugin>
</widget:plugins>

Using Exposition Server application.ini config file:

exposition.widget.libraries.Ecosystem           = "UWA_Plugins_Ecosystem.js";
exposition.widget.plugins.Ecosystem.api         = "http://api.eco.netvibes.com";
exposition.widget.plugins.Ecosystem.front       = "http://eco.netvibes.com";
exposition.widget.plugins.Ecosystem.interval    = "86400";
Parameters
Name Type Description
widget Object
options Object

Options hash or a option/value pair.