Author: rwesten
Date: Mon Mar 5 13:50:28 2012
New Revision: 1297055
URL: http://svn.apache.org/viewvc?rev=1297055&view=rev
Log:
Minor formatting changes
Modified:
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/engines/tikaengine.mdtext
Modified:
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/engines/tikaengine.mdtext
URL:
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/engines/tikaengine.mdtext?rev=1297055&r1=1297054&r2=1297055&view=diff
==============================================================================
---
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/engines/tikaengine.mdtext
(original)
+++
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/engines/tikaengine.mdtext
Mon Mar 5 13:50:28 2012
@@ -49,14 +49,17 @@ The Stanbol Enhancer allows to send enha
1. the "text/plain" or "application/xhtml+xml" version of parsed content
2. the extracted metadata as RDF aligned to the activated Ontologies
-The first example requests the plain text version of a PDF file with the name
"test.pdf". Note the
+The first example requests the plain text version of a PDF file with the name
"test.pdf".
+
+ :::bash
+ curl -v -X POST -H "Accept: text/plain" -T test.pdf \
+ "http://localhost:8080/enhancer/engine/tika?omitMetadata=true"
+
+Note the
* 'Accept' header is set to the contentType of the requested content and the
* 'omitMetadata=true' telling the Enhancer to not return the RDF metadata.
- :::bash
- curl -v -X POST -H "Accept: text/plain" -T
mag_internes_protokoll_20100721_rw.doc \
- "http://localhost:8080/enhancer/engine/tika?omitMetadata=true"
This second example returns the metadata as extracted from the parsed
"song.mp3"