Site Monitor 1.0.1-beta

Site Monitor 1.0.1-beta

Released Jan 22, 2019 by theuros

A snippet for displaying various data from website and display it where you want it.

Download 142kb (59 downloads)
Downloads: 100
License: GPLv2
Requires Revolution 2.5.x or greater
Compatible up to Revolution 2.7.x
Supports mysql

This snippet is used for monitoring various websites you have under your control.

Has two functionalities:

  • Display log size, log preview and various system settings in json format
  • Read and display json data from choosen websites

You can add a key / password to protect data from unwanted use.

Plans for the future:

  • cache data and results for better performance
  • check extensions for upgrades
  • highlight extensions used in all websites and unique ones
  • add more data like: users count, last edited date, ...
  • select number of rows for log preview
  • add option to display log only
  • ...

Installation Instructions

How to use it:

1. Install sitemonitor on all websites from which you want to read data

2. On those sites create a resource without template and content type JSON

3. Add snippet [[!sitemonitor]]

Available options:

  • &add = json array of additional data you want to add (optional)
  • &key = If you want do encrypt data set a key / password (optional)

4. On site where you want to read data create a classic resource

5. Add snippet with "sites" option [[!sitemonitor? &sites=`comma separated links to json URLs created in point 2`]]

Available options:

  • &tpl = main wrapper template (placeholders: [[+rows]])
  • &tplRow = template for each site (placeholders: [[+site_name]],[[+url]],[[+version]],[[+distro]],[[+log_size]],[[+extensionsCount]],[[+poweredby_header]],[[+log_preview]],[[+extensions]] + names you added with &key=`...` )
  • &tplExt = template for extensions list (placeholders: [[+name]],[[+version]],[[+release]])&key = must be the same as used on other sitesThat's it.

Initial content

Version Released Author Downloads
2 Versions 1 Contributors 100 Downloads
1.0.0-beta Dec, 13 2018 theuros 41