On 11/19/2012 7:13 AM, Amos Jeffries wrote:
What do you mean?
"limited" -> "delimited" ? no,
tables are TSV format (tab separated values on a line prefixed with a
\t),
some lists of values are kv-pair in mime format (delimited with ':'
and optional whitespace padding around values) as seen in the helper and
DNS reports,
some lists of values are kv-pair delimited with '=' as seen in the
statistics report.
... we are still debating format upgrades for future Squid.
Yes and yes...
I remembered something about the TSV format.
Is there any basic template for html + xhr?
We opted not to publish a particular MGR_INDEX file with Squid, but to
design such that the template with script code should belong to and be
installed by third-party management tools using the interface. The file
should contain a complete HTML page and you can do anything you like for
the markup. The only caveat is that it is a static HTML page (only
browser interpreted scripting allowed). Squid error page macro
substitution is performed on it prior to delivery (but not on other
resources included by it).
Designing a better manager UI tool was kinkies project, I'm not sure if
the result was going to become FOSS or not, but anyone aiming at making
a good one of their own is welcome to give it a go.
Even the current output(cachemgr or SNMP) can be transformed into
XHR(using small script) for older versions in a case of new HTML+XHR.
Eliezer
I hope for this to move one step ahead.
Thanks,
Eliezer
--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il