This feature provides an easy, quick way to display your recent alerts on the web automatically, directly from Omnilert as soon as they're sent.
The Web Widget configuration screen has the following important settings:
- Duration: How long Widget items will remain posted until they "expire". Expired feed items will be removed within 15 minutes of their expiration. We recommend setting the default duration to at least 10 hours, as you can always cancel publishing if the item needs to be removed sooner.
- Feed Date/Time Format: The format for the date and time shown in the feed's timestamp.
- Items to Show: Each widget can be configured to show one or more messages. How many concurrent alerts should this feed display? Set to "Last 1" if you'd only like the most recent, unexpired alert to show.
- Widget Format: Choose between "Standard" (HTML tabled format) and HTML5 (non-tabled <DIV> formatting) for the content returned by the widget. Note: Each widget format has it's own CSS classes for styling purposes.
Finally, there will be an option to copy your Widget Feed Code.
The feed code is the HTML source code that you'll embed into your website's source. When rendered, it'll create the table with your widget items.
The Widget's HTML will be "unstyled", so your webmaster may need to add some stylesheet classes to your local CSS.
Need an HTTPS Web Widget?
By default, Web Widgets will be served up via HTTP. However, any Omnilert Web Widget script can be converted to serve messages using HTTPS.
Simply change the URL in your widget's script code from "http://" to "https://" to use a secured widget with HTTPS.
Be sure to send an initial "test" message to your new widgets. Until used, your Widget's URL will return an "HTTP 403" error as its content won't exist until the Widget is used for the first time.