UptimeRobot Wordpress Dashboard Widget
A Wordpress Administrator Dashboard Widget for displaying UptimeRobot Monitors
Wordpress (wordpress.org/) has been such a valuable tool when it comes to developing and designing beautiful client websites. While designing a custom Wordpress Dashboard for a client I realized that I would like to show-off to this particular client their Up and Downtime Statistics. What better way to accomplish that then to add it to the Dashboard. I foresee this Widget being much more powerful. The very first release will contain just basic code that you will add to your functions.php file. I based the original code around the example given by UptimeRobot (uptimerobot.com/) on their API page (uptimerobot.com/api) and added some Wordpress Functionality and Events. As it is right now, I can say that there is a lot that needs to be done. There is a lot that I dislike about the code at this point; I don't like inline styles, I don't like the simplicity of the code for security purposes. I encourage all to help build this widget up so that not only can we display these statistics to our clients but for multiple uses on your Wordpress Blogs and Websites. All constructive collaboration and criticism is welcome.
Changelog & Roadmap
- First commit to GitHub
- Basic code creation
- Functionality includes showing Website being monitored, Is your specified Website online? and All Time Uptime Percent
Upcoming Features -
- Implementation of UptimeRobot API's usage of
[log]to show user the last 5 times that the Website was marked as down
- Full implementation of API to include Add/Modify/Create Monitors in your Wordpress Settings page
- And all suggestions are welcome.
License is available online at http://joshuacanfield.mit-license.org/2012/wp-uptimerobot-widget/LICENSE/.
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.