X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fgetter%2Fhttp_getter_const.ml;h=00fff4f378f815e8a2668c0d4f11b131e488dbf2;hb=5b32b7905bc78c11e353efd68137b8eb7b6ac73b;hp=a4eac83e5a36f5aed2bf75adf94c0e515d746e05;hpb=384c369d4cbf5dd6cf1013902d3a218260400e73;p=helm.git diff --git a/helm/ocaml/getter/http_getter_const.ml b/helm/ocaml/getter/http_getter_const.ml index a4eac83e5..00fff4f37 100644 --- a/helm/ocaml/getter/http_getter_const.ml +++ b/helm/ocaml/getter/http_getter_const.ml @@ -28,14 +28,17 @@ open Printf;; -let version = "0.3.0" +let version = "0.4.0" let conffile = "http_getter.conf.xml" +let xhtml_ns = "http://www.w3.org/1999/xhtml" +let helm_ns = "http://www.cs.unibo.it/helm" + (* TODO provide a better usage string *) let usage_string configuration = sprintf -" - +" +
- help
+ help
display this help message
- getxml?uri=URI[&format=(normal|gz)][&patch_dtd=(yes|no)]
-
- register?uri=URI&url=URL
+ getxml?uri=URI[&format=(normal|gz)][&patch_dtd=(yes|no)]
resolve?uri=URI
- getdtd?uri=URI[&patch_dtd=(yes|no)]
-
- getxslt?uri=URI[&patch_dtd=(yes|no)]
-
- list_servers
-
- add_server?url=URL&position=POSITION
-
- remove_server?position=POSITION
+ getdtd?uri=URI[&patch_dtd=(yes|no)]
- update
+ getxslt?uri=URI[&patch_dtd=(yes|no)]
- clean_cache
+ update
- getalluris
+ clean_cache
- getallrdfuris
+ ls?baseuri=regexp&format=(txt|xml)
- ls?baseuri=URI&format=(txt|xml)
+ getalluris?format=(txt|xml)
- getempty
+ getempty
%s" - version configuration + xhtml_ns helm_ns + version configuration let empty_xml = "