You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by tp...@apache.org on 2015/03/27 19:21:26 UTC

svn commit: r1669645 - /tika/trunk/tika-server/README.md

Author: tpalsulich
Date: Fri Mar 27 18:21:25 2015
New Revision: 1669645

URL: http://svn.apache.org/r1669645
Log:
TIKA-1583. Small formatting changes for tika-server README.

Modified:
    tika/trunk/tika-server/README.md

Modified: tika/trunk/tika-server/README.md
URL: http://svn.apache.org/viewvc/tika/trunk/tika-server/README.md?rev=1669645&r1=1669644&r2=1669645&view=diff
==============================================================================
--- tika/trunk/tika-server/README.md (original)
+++ tika/trunk/tika-server/README.md Fri Mar 27 18:21:25 2015
@@ -1,4 +1,6 @@
-This is JAX-RS Tika server for Apache Tika (https://issues.apache.org/jira/browse/TIKA-593)
+# Apache Tika JAX-RS Server
+
+https://issues.apache.org/jira/browse/TIKA-593
 
 Running
 -------
@@ -23,21 +25,21 @@ Usage examples from command line with `c
 * Extract text with mime-type hint:  
 `curl -v -H "Content-type: application/vnd.openxmlformats-officedocument.wordprocessingml.document" -T document.docx http://localhost:9998/tika`
 
-* Get all document attachments as ZIP-file:
+* Get all document attachments as ZIP-file:  
 `curl -v -T Doc1_ole.doc http://localhost:9998/unpacker > /var/tmp/x.zip`
 
-* Extract metadata to CSV format:
+* Extract metadata to CSV format:  
 `curl -T price.xls http://localhost:9998/meta`
 
-* Detect media type from CSV format using file extension hint
+* Detect media type from CSV format using file extension hint:  
 `curl -X PUT -H "Content-Disposition: attachment; filename=foo.csv" --upload-file foo.csv http://localhost:9998/detect/stream`
 
 
 HTTP Return Codes
 -----------------
-`200` - Ok
-`204` - No content (for example when we are unpacking file without attachments)
-`415` - Unknown file type
-`422` - Unparsable document of known type (password protected documents and unsupported versions like Biff5 Excel)
-`500` - Internal error
+`200` - Ok  
+`204` - No content (for example when we are unpacking file without attachments)  
+`415` - Unknown file type  
+`422` - Unparsable document of known type (password protected documents and unsupported versions like Biff5 Excel)  
+`500` - Internal error