In case you want to add JG server status information to your own homepage, you
may want to use the myRotacol backend for this. Other backends provide XML output,
thus giving a lot more flexibility. This one doesn’t. It is meant to assist the
lazy copy’n paste-webauthor.
http://www.myrotacol.net/html/serverstatus.php
This file will generate javascript code (it is not useful to call this url directly
and view it with your browser). Output will look like this:
document.write("<!-- www.myrotacol.net: JG server parsing -->");
document.write("<table cellspacing='0' cellpadding='0' border='0'>");
document.write("<tr><td nowrap>");
document.write("<u>Jumpgate World Server</u>");
document.write("</td></tr>");
document.write("<tr><td nowrap>");
document.write("Server Status: <b>OK</b>");
document.write("</td></tr>");
document.write("<tr><td nowrap>");
document.write("(102.12.1.18:21.51)");
document.write("</td></tr>");
document.write("</table>");
You can add this code to your site using the html “script” command.
Data from Jossh is retrieved via a CronJob (an independant process is running every 10 minutes,
providing data for the a.m. serverstatus.php-script).
<script type="text/javascript" src="http://www.myrotacol.net/html/serverstatus.php"></script>
Just place this line where you want the status information to show up. Using
tables for formatting is recommended. Informations will show up on your homepage
like this:
Jumpgate World Server
Server Status: OK
(102.12.1.18:21.51)
|