From 6640208aeb373065b6549474597baee7bd52b99c Mon Sep 17 00:00:00 2001
From: uwe <arokis.u@gmail.com>
Date: Sat, 24 Feb 2018 01:13:15 +0100
Subject: [PATCH] new version 0.2.4

---
 README.md      | 10 +++++++---
 expath-pkg.xml |  2 +-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index e339bfb..48a9fbc 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 8273622..b5bd0b9 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
-- 
GitLab