Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tika Wiki" for change notification.
The "TikaJAXRS" page has been changed by DaveMeikle: https://wiki.apache.org/tika/TikaJAXRS?action=diff&rev1=24&rev2=25 Comment: Moved the /all resource to /unpacker/all {{{ /unpacker }}} - HTTP PUTs an embedded document type to the /unpacker service and you get back a zip or tar of the extracted text for each resource filename in the original PUT embedded document type. + HTTP PUTs an embedded document type to the /unpacker service and you get back a zip or tar of the extracted text for each resource filename in the original PUT embedded document type. You can also use /unpacker/all to get back both the text and metadata. Default return type is ZIP (without internal compression). Use "Accept" header for TAR return type. @@ -136, +136 @@ {{{ $ curl -T Doc1_ole.doc -H "Accept: application/x-tar" http://localhost:9998/unpacker > /var/tmp/x.tar }}} + === PUT doc file and get back the content and metadata === - == "All" resource == - Get text, metadata and attachments in one request. - {{{ - $ curl -T Doc1_ole.doc http://localhost:9998/all > /var/tmp/x.zip + $ curl -T Doc1_ole.doc http://localhost:9998/unpacker/all > /var/tmp/x.zip }}} Text is stored in {{{__TEXT__}}} file, metadata cvs in {{{__METADATA__}}}. Use "accept" header if you want TAR output.
