X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fhttp_getter%2Fhttp_getter_const.ml;h=eefd7c865e9d8d1544919d81d6e0b0d5d67f9374;hb=fc35fbb35a01c110f221c52661f1193ea5664aa6;hp=93c2d5d6a8237fa5fedaece08f7bcfcf2f323407;hpb=86e80bc65186bf4c2824dc94f5f4dd5966843f14;p=helm.git diff --git a/helm/http_getter/http_getter_const.ml b/helm/http_getter/http_getter_const.ml index 93c2d5d6a..eefd7c865 100644 --- a/helm/http_getter/http_getter_const.ml +++ b/helm/http_getter/http_getter_const.ml @@ -1,5 +1,7 @@ (* - * Copyright (C) 2000, HELM Team. + * Copyright (C) 2003: + * Stefano Zacchiroli + * for the HELM Team http://helm.cs.unibo.it/ * * This file is part of HELM, an Hypertextual, Electronic * Library of Mathematics, developed at the Computer Science @@ -21,17 +23,25 @@ * MA 02111-1307, USA. * * For details, see the HELM World-Wide-Web page, - * http://cs.unibo.it/helm/. + * http://helm.cs.unibo.it/ *) - (* TODO *) -let usage_string = +open Printf;; + +let version = "0.2.1" +let conffile = "http_getter.conf.xml" + + (* TODO provide a better usage string *) +let usage_string configuration = + sprintf " HTTP Getter's help message +

HTTP Getter, version %s

+

Usage information

Usage: http://hostname:getterport/command

@@ -57,9 +67,21 @@ let usage_string =

getxslt?uri=URI[&patch_dtd=(yes|no)]

+

+ list_servers
+

+

+ add_server?url=URL&position=POSITION
+

+

+ remove_server?position=POSITION
+

update

+

+ clean_cache
+

getalluris

@@ -72,9 +94,12 @@ let usage_string =

getempty

+

Current configuration

+
%s
" + version configuration let empty_xml = "