X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fgetter%2Fhttp_getter_const.ml;h=f12d20f77bd8e79cd207b986c44c9f1a5595bf1c;hb=6912a028bef118d8e9d7c2847200510a9b055c6a;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..f12d20f77 100644 --- a/helm/ocaml/getter/http_getter_const.ml +++ b/helm/ocaml/getter/http_getter_const.ml @@ -31,11 +31,14 @@ open Printf;; let version = "0.3.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 -" - +" + HTTP Getter's help message @@ -49,57 +52,61 @@ let usage_string configuration = Available commands:

- help
+ help
display this help message

- getxml?uri=URI[&format=(normal|gz)][&patch_dtd=(yes|no)]
+ getxml?uri=URI[&format=(normal|gz)][&patch_dtd=(yes|no)]
+

+

+ register?uri=URI&url=URL

- register?uri=URI&url=URL
+ unregister?uri=URI&url=URL

resolve?uri=URI

- getdtd?uri=URI[&patch_dtd=(yes|no)]
+ getdtd?uri=URI[&patch_dtd=(yes|no)]

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

- list_servers
+ list_servers

- add_server?url=URL&position=POSITION
+ add_server?url=URL&position=POSITION

remove_server?position=POSITION

- update
+ update

- clean_cache
+ clean_cache

- getalluris
+ getalluris?format=(txt|xml)

- getallrdfuris
+ getallrdfuris

- ls?baseuri=URI&format=(txt|xml)
+ ls?baseuri=regexp&format=(txt|xml)

- getempty
+ getempty

Current configuration

%s
" - version configuration + xhtml_ns helm_ns + version configuration let empty_xml = "