{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"never","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Availability Widgets","type":"basic","slug":"availability-widgets","excerpt":"","body":"Basic availability information of a followed service can be embedded to any web page using Spatineo Widgets. Widgets for each service can be created and configured on Sharing tab of Monitoring & usage section. For each widget the time span (last 7 or 30 days, or 12 months) and the colour theme can be configured. You can also select the background colour of the widget to match the web page you intend to use it on. The preview of the widget is displayed next to the widget settings.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/qYrOtxeQ6uvJuIQV7pXJ_widget.png\",\n        \"widget.png\",\n        \"928\",\n        \"623\",\n        \"#99471a\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nBy default the widgets can be shown on any web page. If you want you can limit the visibility of the widget by giving a list of allowed domain names. A asterisk wildcard character ‘’ can be used to include all subdomains of a domain. Inclusion rule ‘.acme.org’ would allow the widget to be displayed on page http://www.acme.org/my_availability/ as well as on http://limited.acme.org/another_availability/. You can add more than one domain separated by commas.\n\nClicking “Save” (while creating a new widget) or “Apply changes” (while editing an existing widget) makes the changes made visible at the websites which contain this widget.\n\nTo show a widget on a web page two pieces of HTML code need to added into the source code of the page: The so called “bootstrap” Javascript code (widget loader snippet) should be added inside the “head” element, and the actual widget placeholder element (widget element snippet) within the “body” element at the place where you wish the widget to appear in the page layout. Note that you only need to include the bootstrap code once per page even if you want to show more than one widget on the same page. When the page is loaded the bootstrap Javascript will run and load the widget contents inside each of the placeholder elements.\n\nIn many cases some information, like the background maps, are retrieved from a service provided by another organisation than the overlaid data. Several widgets can be added to one page to show the status and reliability of all the spatial web services providing information on a web page map application.","updates":[],"order":8,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5ccaf606c63d3c013b50f6b8","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Spatineo Monitor","slug":"spatineo-monitor","order":1,"from_sync":false,"reference":false,"_id":"5ccaf606c63d3c013b50f6a7","version":"5ccaf606c63d3c013b50f6bc","project":"544f6e49698ab40800b4f41e","createdAt":"2014-10-28T12:09:37.513Z","__v":0},"project":"544f6e49698ab40800b4f41e","user":"544f6e19cf9f86080080129a","version":{"version":"3.13","version_clean":"3.13.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5ccaf606c63d3c013b50f6a6","5ccaf606c63d3c013b50f6a7","5ccaf606c63d3c013b50f6a8"],"_id":"5ccaf606c63d3c013b50f6bc","project":"544f6e49698ab40800b4f41e","__v":0,"forked_from":"5a5879a7086a05001c4317ac","createdAt":"2018-01-12T09:02:31.335Z","releaseDate":"2018-01-12T09:02:31.335Z"},"createdAt":"2014-11-06T12:21:12.373Z","githubsync":"","__v":0}

Availability Widgets


Basic availability information of a followed service can be embedded to any web page using Spatineo Widgets. Widgets for each service can be created and configured on Sharing tab of Monitoring & usage section. For each widget the time span (last 7 or 30 days, or 12 months) and the colour theme can be configured. You can also select the background colour of the widget to match the web page you intend to use it on. The preview of the widget is displayed next to the widget settings. [block:image] { "images": [ { "image": [ "https://files.readme.io/qYrOtxeQ6uvJuIQV7pXJ_widget.png", "widget.png", "928", "623", "#99471a", "" ] } ] } [/block] By default the widgets can be shown on any web page. If you want you can limit the visibility of the widget by giving a list of allowed domain names. A asterisk wildcard character ‘’ can be used to include all subdomains of a domain. Inclusion rule ‘.acme.org’ would allow the widget to be displayed on page http://www.acme.org/my_availability/ as well as on http://limited.acme.org/another_availability/. You can add more than one domain separated by commas. Clicking “Save” (while creating a new widget) or “Apply changes” (while editing an existing widget) makes the changes made visible at the websites which contain this widget. To show a widget on a web page two pieces of HTML code need to added into the source code of the page: The so called “bootstrap” Javascript code (widget loader snippet) should be added inside the “head” element, and the actual widget placeholder element (widget element snippet) within the “body” element at the place where you wish the widget to appear in the page layout. Note that you only need to include the bootstrap code once per page even if you want to show more than one widget on the same page. When the page is loaded the bootstrap Javascript will run and load the widget contents inside each of the placeholder elements. In many cases some information, like the background maps, are retrieved from a service provided by another organisation than the overlaid data. Several widgets can be added to one page to show the status and reliability of all the spatial web services providing information on a web page map application.