diff --git a/README.md b/README.md index e339bfbad4154476edabc8b1f626bf111838dccf..48a9fbc9006f36d7ffc003a280875600165961f4 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,13 @@ This repos contains the BdN IntermediateFormat-conversion Application to produce - place it in your app somewhere or as suggested here in a subfolder /rest # Use - - call intermediate_format.xql via REST with the GET-Parameter "path" (exemplary call: http://localhost:8080/exist/apps/interformat/rest/intermediate_format.xql?path=/db/apps/interformat/data/samples/samples4.xml") - - "path" must be a XML-URI existing in your eXist-instance context (There is no existence-check yet) - - wait + - call the IntermediateFormat API with GET -Parameter `resource`: http://localhost:{PORT}/exist/apps/interformat/rest/convert?resource={RESOURCE-URI} + OR + - call intermediate_format.xql via REST with the GET-Parameter `resource`: http://localhost:{PORT}/exist/rest/apps/interformat/rest/intermediate_format.xql?resource={RESOURCE-URI} + + - the resource must be from your eXist-instance context + - If you like to store the result add method=store as get-parameter + # Changes of the Intermediate Format - note: All changes are done (not quite right) in the tei-namespace! diff --git a/expath-pkg.xml b/expath-pkg.xml index 82736222f74a64cba67b26f87d824cf2a0f92bc9..b5bd0b90b482d1c12ea06362e0c1c3c922bbc1f5 100644 --- a/expath-pkg.xml +++ b/expath-pkg.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<package xmlns="http://expath.org/ns/pkg" name="http://bdn-edition.de/intermediate_format" abbrev="interformat" version="0.2.3" spec="1.0"> +<package xmlns="http://expath.org/ns/pkg" name="http://bdn-edition.de/intermediate_format" abbrev="interformat" version="0.2.4" spec="1.0"> <title>BdN - Intermediate Format</title> <dependency package="http://exist-db.org/apps/shared"/> </package> \ No newline at end of file