--- googlecode.com/svn/trunk/Meteor/Config.pm 2008/02/27 13:55:35 50
+++ trunk/Meteor/Config.pm 2009/03/28 01:42:07 67
@@ -42,7 +42,7 @@
use strict;
our @DEFAULTS=(
-'Template for each line in channelinfo',
+'Template for each line in channelinfo. Placeholders are name, lastMsgID, subscriberCount, messageCount. Channel info is included in output when client does not give a message start index in its request (indicating it is the client\'s first request for that channel)',
ChannelInfoTemplate => '\r\n',
'Configuration file location on disk (if any)',
@@ -61,22 +61,25 @@
Debug => 0,
'Name of index file to serve when a directory is requested from the static file web server',
- DirectoryIndex => 'index.html',
+ DirectoryIndex => 'index.html',
-'Header template, ~server~, ~servertime~ and ~status~ will be replaced by the appropriate values. **NOTE**: It is possible to define more than one HeaderTemplate by appending a number at the end, for example *HeaderTemplate42*. Clients can request a specific header to be used by adding the parameter template= to their GET request. If *HeaderTemplate* is not found, the system will use the default HeaderTemplate (no number)',
- HeaderTemplate => 'HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n',
+'Footer template',
+ FooterTemplate => '