@Morblias came up with a solution for python to write the html:
http://pastebin.com/MGu1iBkH (scroll about half way down). The result is something like this:
http://192.227.139.229/ . It's a bit dated, so might need some adjustments.
A very basic hack could be to pipe the output of the RPC calls to a simple HTML file. For example
getinfo command:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<TITLE>Bitcoin Node</TITLE>
{
"version" : 100000,
"protocolversion" : 70002,
"walletversion" : 60000,
"balance" : 0.26397973,
"blocks" : 345815,
"timeoffset" : 0,
"connections" : 8,
"proxy" : "",
"difficulty" : 46684376316.86029053,
"testnet" : false,
"keypoololdest" : 1397008447,
"keypoolsize" : 100,
"unlocked_until" : 0,
"paytxfee" : 0.00001000,
"relayfee" : 0.00001000,
"errors" : ""
}
Then have a cronjob to run it every x minutes etc. Have another cronjob just before to remove the old file and create a new one with the HTML3.2 header. Probably you'll want to put it all in one script. It won't look pretty, but the info is there.
PS: Picked HTML3.2 because the specs say:
In practice, the HTML, HEAD and BODY start and end tags can be omitted from the markup as these can be inferred in all cases by parsers conforming to the HTML 3.2 DTD.