Modified: tika/site/publish/1.2/index.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.2/index.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.2/index.html (original) +++ tika/site/publish/1.2/index.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Apache Tika 0.8</title> + <title>Apache Tika – Apache Tika 0.8</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Apache Tika 1.2<a name="Apache_Tika_1.2"></a></h2> +<h2><a name="Apache_Tika_1.2"></a>Apache Tika 1.2</h2> <p>The most notable changes in Tika 1.2 over the previous release are:</p> <ul> <li>Tika's JAX-RS based Network server now is based on Apache CXF, which is available in Maven Central and now allows the server module to be packaged and included in our release (<a class="externalLink" href="http://issues.apache.org/jira/browse/TIKA-593">TIKA-593</a>, <a class="externalLink" href="http://issues.apache.org/jira/browse/TIKA-901">TIKA-901</a>).</li>
Modified: tika/site/publish/1.2/parser.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.2/parser.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.2/parser.html (original) +++ tika/site/publish/1.2/parser.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - The Parser interface</title> + <title>Apache Tika – The Parser interface</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>The Parser interface<a name="The_Parser_interface"></a></h2> +<h2><a name="The_Parser_interface"></a>The Parser interface</h2> <p>The <a href="./api/org/apache/tika/parser/Parser.html">org.apache.tika.parser.Parser</a> interface is the key concept of Apache Tika. It hides the complexity of different file formats and parsing libraries while providing a simple and powerful mechanism for client applications to extract structured text content and metadata from all sorts of documents. All this is achieved with a single method:</p> <div> <pre>void parse( @@ -105,7 +105,7 @@ <dd>While the default settings and behaviour of Tika parsers should work well for most use cases, there are still situations where more fine-grained control over the parsing process is desirable. It should be easy to inject such context-specific information to the parsing process without breaking the layers of abstraction.</dd></dl> <p>These criteria are reflected in the arguments of the <tt>parse</tt> method.</p> <div class="section"> -<h3>Document input stream<a name="Document_input_stream"></a></h3> +<h3><a name="Document_input_stream"></a>Document input stream</h3> <p>The first argument is an <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html">InputStream</a> for reading the document to be parsed.</p> <p>If this document stream can not be read, then parsing stops and the thrown <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html">IOException</a> is passed up to the client application. If the stream can be read but not parsed (for example if the document is corrupted), then the parser throws a <a href="./api/org/apache/tika/exception/TikaException.html">TikaException</a>.</p> <p>The parser implementation will consume this stream but <i>will not close it</i>. Closing the stream is the responsibility of the client application that opened it in the first place. The recommended pattern for using streams with the <tt>parse</tt> method is:</p> @@ -118,7 +118,7 @@ try { }</pre></div> <p>Some document formats like the OLE2 Compound Document Format used by Microsoft Office are best parsed as random access files. In such cases the content of the input stream is automatically spooled to a temporary file that gets removed once parsed. A future version of Tika may make it possible to avoid this extra file if the input document is already a file in the local file system. See <a class="externalLink" href="https://issues.apache.org/jira/browse/TIKA-153">TIKA-153</a> for the status of this feature request.</p></div> <div class="section"> -<h3>XHTML SAX events<a name="XHTML_SAX_events"></a></h3> +<h3><a name="XHTML_SAX_events"></a>XHTML SAX events</h3> <p>The parsed content of the document stream is returned to the client application as a sequence of XHTML SAX events. XHTML is used to express structured content of the document and SAX events enable streamed processing. Note that the XHTML format is used here only to convey structural information, not to render the documents for browsing!</p> <p>The XHTML SAX events produced by the parser implementation are sent to a <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</a> instance given to the <tt>parse</tt> method. If this the content handler fails to process an event, then parsing stops and the thrown <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/SAXException.html">SAXException</a> is passed up to the client application.</p> <p>The overall structure of the generated event stream is (with indenting added for clarity):</p> @@ -147,7 +147,7 @@ try { reader.close(); // the document stream is closed automatically }</pre></div></div> <div class="section"> -<h3>Document metadata<a name="Document_metadata"></a></h3> +<h3><a name="Document_metadata"></a>Document metadata</h3> <p>The third argument to the <tt>parse</tt> method is used to pass document metadata both in and out of the parser. Document metadata is expressed as an <a href="./api/org/apache/tika/metadata/Metadata.html">Metadata</a> object.</p> <p>The following are some of the more interesting metadata properties:</p> <dl> @@ -167,10 +167,10 @@ try { <p>The parser implementation sets this property if the document format contains an explicit author field.</p></dd></dl> <p>Note that metadata handling is still being discussed by the Tika development team, and it is likely that there will be some (backwards incompatible) changes in metadata handling before Tika 1.0.</p></div> <div class="section"> -<h3>Parse context<a name="Parse_context"></a></h3> +<h3><a name="Parse_context"></a>Parse context</h3> <p>The final argument to the <tt>parse</tt> method is used to inject context-specific information to the parsing process. This is useful for example when dealing with locale-specific date and number formats in Microsoft Excel spreadsheets. Another important use of the parse context is passing in the delegate parser instance to be used by two-phase parsers like the <a href="./api/org/apache/parser/pkg/PackageParser.html">PackageParser</a> subclasses. Some parser classes allow customization of the parsing process through strategy objects in the parse context.</p></div> <div class="section"> -<h3>Parser implementations<a name="Parser_implementations"></a></h3> +<h3><a name="Parser_implementations"></a>Parser implementations</h3> <p>Apache Tika comes with a number of parser classes for parsing <a href="./formats.html">various document formats</a>. You can also extend Tika with your own parsers, and of course any contributions to Tika are warmly welcome.</p> <p>The goal of Tika is to reuse existing parser libraries like <a class="externalLink" href="http://pdfbox.apache.org/">PDFBox</a> or <a class="externalLink" href="http://poi.apache.org/">Apache POI</a> as much as possible, and so most of the parser classes in Tika are adapters to such external libraries.</p> <p>Tika also contains some general purpose parser implementations that are not targeted at any specific document formats. The most notable of these is the <a href="./api/org/apache/tika/parser/AutoDetectParser.html">AutoDetectParser</a> class that encapsulates all Tika functionality into a single parser that can handle any types of documents. This parser will automatically determine the type of the incoming document based on various heuristics and will then parse the document accordingly.</p></div></div> Modified: tika/site/publish/1.2/parser_guide.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.2/parser_guide.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.2/parser_guide.html (original) +++ tika/site/publish/1.2/parser_guide.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Get Tika parsing up and running in 5 minutes</title> + <title>Apache Tika – Get Tika parsing up and running in 5 minutes</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Get Tika parsing up and running in 5 minutes<a name="Get_Tika_parsing_up_and_running_in_5_minutes"></a></h2> +<h2><a name="Get_Tika_parsing_up_and_running_in_5_minutes"></a>Get Tika parsing up and running in 5 minutes</h2> <p>This page is a quick start guide showing how to add a new parser to Apache Tika. Following the simple steps listed below your new parser can be running in only 5 minutes.</p> <ul> <li><a href="#Get_Tika_parsing_up_and_running_in_5_minutes">Get Tika parsing up and running in 5 minutes</a> Modified: tika/site/publish/1.3/detection.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.3/detection.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.3/detection.html (original) +++ tika/site/publish/1.3/detection.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Content Detection</title> + <title>Apache Tika – Content Detection</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Content Detection<a name="Content_Detection"></a></h2> +<h2><a name="Content_Detection"></a>Content Detection</h2> <p>This page gives you information on how content and language detection works with Apache Tika, and how to tune the behaviour of Tika.</p> <ul> <li><a href="#Content_Detection">Content Detection</a> Modified: tika/site/publish/1.3/formats.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.3/formats.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.3/formats.html (original) +++ tika/site/publish/1.3/formats.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Supported Document Formats</title> + <title>Apache Tika – Supported Document Formats</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Supported Document Formats<a name="Supported_Document_Formats"></a></h2> +<h2><a name="Supported_Document_Formats"></a>Supported Document Formats</h2> <p>This page lists all the document formats supported by Apache Tika 1.3. Follow the links to the various parser class javadocs for more detailed information about each document format and how it is parsed by Tika.</p> <ul> <li><a href="#Supported_Document_Formats">Supported Document Formats</a> Modified: tika/site/publish/1.3/gettingstarted.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.3/gettingstarted.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.3/gettingstarted.html (original) +++ tika/site/publish/1.3/gettingstarted.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Getting Started with Apache Tika</title> + <title>Apache Tika – Getting Started with Apache Tika</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,10 +85,10 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Getting Started with Apache Tika<a name="Getting_Started_with_Apache_Tika"></a></h2> +<h2><a name="Getting_Started_with_Apache_Tika"></a>Getting Started with Apache Tika</h2> <p>This document describes how to build Apache Tika from sources and how to start using Tika in an application.</p></div> <div class="section"> -<h2>Getting and building the sources<a name="Getting_and_building_the_sources"></a></h2> +<h2><a name="Getting_and_building_the_sources"></a>Getting and building the sources</h2> <p>To build Tika from sources you first need to either <a href="../download.html">download</a> a source release or <a href="../source-repository.html">checkout</a> the latest sources from version control.</p> <p>Once you have the sources, you can build them using the <a class="externalLink" href="http://maven.apache.org/">Maven 2</a> build system. Executing the following command in the base directory will build the sources and install the resulting artifacts in your local Maven repository.</p> <div> @@ -96,7 +96,7 @@ <p>See the Maven documentation for more information about the available build options.</p> <p>Note that you need Java 5 or higher to build Tika.</p></div> <div class="section"> -<h2>Build artifacts<a name="Build_artifacts"></a></h2> +<h2><a name="Build_artifacts"></a>Build artifacts</h2> <p>The Tika build consists of a number of components and produces the following main binaries:</p> <dl> <dt>tika-core/target/tika-core-*.jar</dt> @@ -108,7 +108,7 @@ <dt>tika-bundle/target/tika-bundle-*.jar</dt> <dd> Tika bundle. An OSGi bundle that combines tika-parsers with non-OSGified parser libraries to make them easy to deploy in an OSGi environment.</dd></dl></div> <div class="section"> -<h2>Using Tika as a Maven dependency<a name="Using_Tika_as_a_Maven_dependency"></a></h2> +<h2><a name="Using_Tika_as_a_Maven_dependency"></a>Using Tika as a Maven dependency</h2> <p>The core library, tika-core, contains the key interfaces and classes of Tika and can be used by itself if you don't need the full set of parsers from the tika-parsers component. The tika-core dependency looks like this:</p> <div> <pre> <dependency> @@ -127,7 +127,7 @@ <div> <pre>$ mvn dependency:tree | grep :compile</pre></div></div> <div class="section"> -<h2>Using Tika in an Ant project<a name="Using_Tika_in_an_Ant_project"></a></h2> +<h2><a name="Using_Tika_in_an_Ant_project"></a>Using Tika in an Ant project</h2> <p>Unless you use a dependency manager tool like <a class="externalLink" href="http://ant.apache.org/ivy/">Apache Ivy</a>, the easiest way to use Tika is to include either the tika-core or the tika-app jar in your classpath, depending on whether you want just the core functionality or also all the parser implementations.</p> <div> <pre><classpath> @@ -140,7 +140,7 @@ </classpath></pre></div></div> <div class="section"> -<h2>Using Tika as a command line utility<a name="Using_Tika_as_a_command_line_utility"></a></h2> +<h2><a name="Using_Tika_as_a_command_line_utility"></a>Using Tika as a command line utility</h2> <p>The Tika application jar (tika-app-*.jar) can be used as a command line utility for extracting text content and metadata from all sorts of files. This runnable jar contains all the dependencies it needs, so you don't need to worry about classpath settings to run it.</p> <p>The usage instructions are shown below.</p> <div> Modified: tika/site/publish/1.3/index.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.3/index.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.3/index.html (original) +++ tika/site/publish/1.3/index.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Apache Tika 1.3</title> + <title>Apache Tika – Apache Tika 1.3</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Apache Tika 1.3<a name="Apache_Tika_1.3"></a></h2> +<h2><a name="Apache_Tika_1.3"></a>Apache Tika 1.3</h2> <p>The most notable changes in Tika 1.3 over the previous release are:</p> <ul> <li>Mimetype definitions added for more common programming languages, including common extensions, but not magic patterns. (<a class="externalLink" href="http://issues.apache.org/jira/browse/TIKA-1055">TIKA-1055</a>)</li> Modified: tika/site/publish/1.3/parser.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.3/parser.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.3/parser.html (original) +++ tika/site/publish/1.3/parser.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - The Parser interface</title> + <title>Apache Tika – The Parser interface</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>The Parser interface<a name="The_Parser_interface"></a></h2> +<h2><a name="The_Parser_interface"></a>The Parser interface</h2> <p>The <a href="./api/org/apache/tika/parser/Parser.html">org.apache.tika.parser.Parser</a> interface is the key concept of Apache Tika. It hides the complexity of different file formats and parsing libraries while providing a simple and powerful mechanism for client applications to extract structured text content and metadata from all sorts of documents. All this is achieved with a single method:</p> <div> <pre>void parse( @@ -105,7 +105,7 @@ <dd>While the default settings and behaviour of Tika parsers should work well for most use cases, there are still situations where more fine-grained control over the parsing process is desirable. It should be easy to inject such context-specific information to the parsing process without breaking the layers of abstraction.</dd></dl> <p>These criteria are reflected in the arguments of the <tt>parse</tt> method.</p> <div class="section"> -<h3>Document input stream<a name="Document_input_stream"></a></h3> +<h3><a name="Document_input_stream"></a>Document input stream</h3> <p>The first argument is an <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html">InputStream</a> for reading the document to be parsed.</p> <p>If this document stream can not be read, then parsing stops and the thrown <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html">IOException</a> is passed up to the client application. If the stream can be read but not parsed (for example if the document is corrupted), then the parser throws a <a href="./api/org/apache/tika/exception/TikaException.html">TikaException</a>.</p> <p>The parser implementation will consume this stream but <i>will not close it</i>. Closing the stream is the responsibility of the client application that opened it in the first place. The recommended pattern for using streams with the <tt>parse</tt> method is:</p> @@ -118,7 +118,7 @@ try { }</pre></div> <p>Some document formats like the OLE2 Compound Document Format used by Microsoft Office are best parsed as random access files. In such cases the content of the input stream is automatically spooled to a temporary file that gets removed once parsed. A future version of Tika may make it possible to avoid this extra file if the input document is already a file in the local file system. See <a class="externalLink" href="https://issues.apache.org/jira/browse/TIKA-153">TIKA-153</a> for the status of this feature request.</p></div> <div class="section"> -<h3>XHTML SAX events<a name="XHTML_SAX_events"></a></h3> +<h3><a name="XHTML_SAX_events"></a>XHTML SAX events</h3> <p>The parsed content of the document stream is returned to the client application as a sequence of XHTML SAX events. XHTML is used to express structured content of the document and SAX events enable streamed processing. Note that the XHTML format is used here only to convey structural information, not to render the documents for browsing!</p> <p>The XHTML SAX events produced by the parser implementation are sent to a <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</a> instance given to the <tt>parse</tt> method. If this the content handler fails to process an event, then parsing stops and the thrown <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/SAXException.html">SAXException</a> is passed up to the client application.</p> <p>The overall structure of the generated event stream is (with indenting added for clarity):</p> @@ -147,7 +147,7 @@ try { reader.close(); // the document stream is closed automatically }</pre></div></div> <div class="section"> -<h3>Document metadata<a name="Document_metadata"></a></h3> +<h3><a name="Document_metadata"></a>Document metadata</h3> <p>The third argument to the <tt>parse</tt> method is used to pass document metadata both in and out of the parser. Document metadata is expressed as an <a href="./api/org/apache/tika/metadata/Metadata.html">Metadata</a> object.</p> <p>The following are some of the more interesting metadata properties:</p> <dl> @@ -167,10 +167,10 @@ try { <p>The parser implementation sets this property if the document format contains an explicit author field.</p></dd></dl> <p>Note that metadata handling is still being discussed by the Tika development team, and it is likely that there will be some (backwards incompatible) changes in metadata handling before Tika 1.0.</p></div> <div class="section"> -<h3>Parse context<a name="Parse_context"></a></h3> +<h3><a name="Parse_context"></a>Parse context</h3> <p>The final argument to the <tt>parse</tt> method is used to inject context-specific information to the parsing process. This is useful for example when dealing with locale-specific date and number formats in Microsoft Excel spreadsheets. Another important use of the parse context is passing in the delegate parser instance to be used by two-phase parsers like the <a href="./api/org/apache/parser/pkg/PackageParser.html">PackageParser</a> subclasses. Some parser classes allow customization of the parsing process through strategy objects in the parse context.</p></div> <div class="section"> -<h3>Parser implementations<a name="Parser_implementations"></a></h3> +<h3><a name="Parser_implementations"></a>Parser implementations</h3> <p>Apache Tika comes with a number of parser classes for parsing <a href="./formats.html">various document formats</a>. You can also extend Tika with your own parsers, and of course any contributions to Tika are warmly welcome.</p> <p>The goal of Tika is to reuse existing parser libraries like <a class="externalLink" href="http://pdfbox.apache.org/">PDFBox</a> or <a class="externalLink" href="http://poi.apache.org/">Apache POI</a> as much as possible, and so most of the parser classes in Tika are adapters to such external libraries.</p> <p>Tika also contains some general purpose parser implementations that are not targeted at any specific document formats. The most notable of these is the <a href="./api/org/apache/tika/parser/AutoDetectParser.html">AutoDetectParser</a> class that encapsulates all Tika functionality into a single parser that can handle any types of documents. This parser will automatically determine the type of the incoming document based on various heuristics and will then parse the document accordingly.</p></div></div> Modified: tika/site/publish/1.3/parser_guide.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.3/parser_guide.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.3/parser_guide.html (original) +++ tika/site/publish/1.3/parser_guide.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Get Tika parsing up and running in 5 minutes</title> + <title>Apache Tika – Get Tika parsing up and running in 5 minutes</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Get Tika parsing up and running in 5 minutes<a name="Get_Tika_parsing_up_and_running_in_5_minutes"></a></h2> +<h2><a name="Get_Tika_parsing_up_and_running_in_5_minutes"></a>Get Tika parsing up and running in 5 minutes</h2> <p>This page is a quick start guide showing how to add a new parser to Apache Tika. Following the simple steps listed below your new parser can be running in only 5 minutes.</p> <ul> <li><a href="#Get_Tika_parsing_up_and_running_in_5_minutes">Get Tika parsing up and running in 5 minutes</a> Modified: tika/site/publish/1.4/detection.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.4/detection.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.4/detection.html (original) +++ tika/site/publish/1.4/detection.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Content Detection</title> + <title>Apache Tika – Content Detection</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Content Detection<a name="Content_Detection"></a></h2> +<h2><a name="Content_Detection"></a>Content Detection</h2> <p>This page gives you information on how content and language detection works with Apache Tika, and how to tune the behaviour of Tika.</p> <ul> <li><a href="#Content_Detection">Content Detection</a> Modified: tika/site/publish/1.4/formats.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.4/formats.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.4/formats.html (original) +++ tika/site/publish/1.4/formats.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Supported Document Formats</title> + <title>Apache Tika – Supported Document Formats</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Supported Document Formats<a name="Supported_Document_Formats"></a></h2> +<h2><a name="Supported_Document_Formats"></a>Supported Document Formats</h2> <p>This page lists all the document formats supported by Apache Tika 1.4. Follow the links to the various parser class javadocs for more detailed information about each document format and how it is parsed by Tika.</p> <ul> <li><a href="#Supported_Document_Formats">Supported Document Formats</a> Modified: tika/site/publish/1.4/gettingstarted.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.4/gettingstarted.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.4/gettingstarted.html (original) +++ tika/site/publish/1.4/gettingstarted.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Getting Started with Apache Tika</title> + <title>Apache Tika – Getting Started with Apache Tika</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,10 +85,10 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Getting Started with Apache Tika<a name="Getting_Started_with_Apache_Tika"></a></h2> +<h2><a name="Getting_Started_with_Apache_Tika"></a>Getting Started with Apache Tika</h2> <p>This document describes how to build Apache Tika from sources and how to start using Tika in an application.</p></div> <div class="section"> -<h2>Getting and building the sources<a name="Getting_and_building_the_sources"></a></h2> +<h2><a name="Getting_and_building_the_sources"></a>Getting and building the sources</h2> <p>To build Tika from sources you first need to either <a href="../download.html">download</a> a source release or <a href="../source-repository.html">checkout</a> the latest sources from version control.</p> <p>Once you have the sources, you can build them using the <a class="externalLink" href="http://maven.apache.org/">Maven 2</a> build system. Executing the following command in the base directory will build the sources and install the resulting artifacts in your local Maven repository.</p> <div> @@ -96,7 +96,7 @@ <p>See the Maven documentation for more information about the available build options.</p> <p>Note that you need Java 6 or higher to build Tika.</p></div> <div class="section"> -<h2>Build artifacts<a name="Build_artifacts"></a></h2> +<h2><a name="Build_artifacts"></a>Build artifacts</h2> <p>The Tika build consists of a number of components and produces the following main binaries:</p> <dl> <dt>tika-core/target/tika-core-*.jar</dt> @@ -108,7 +108,7 @@ <dt>tika-bundle/target/tika-bundle-*.jar</dt> <dd> Tika bundle. An OSGi bundle that combines tika-parsers with non-OSGified parser libraries to make them easy to deploy in an OSGi environment.</dd></dl></div> <div class="section"> -<h2>Using Tika as a Maven dependency<a name="Using_Tika_as_a_Maven_dependency"></a></h2> +<h2><a name="Using_Tika_as_a_Maven_dependency"></a>Using Tika as a Maven dependency</h2> <p>The core library, tika-core, contains the key interfaces and classes of Tika and can be used by itself if you don't need the full set of parsers from the tika-parsers component. The tika-core dependency looks like this:</p> <div> <pre> <dependency> @@ -127,7 +127,7 @@ <div> <pre>$ mvn dependency:tree | grep :compile</pre></div></div> <div class="section"> -<h2>Using Tika in an Ant project<a name="Using_Tika_in_an_Ant_project"></a></h2> +<h2><a name="Using_Tika_in_an_Ant_project"></a>Using Tika in an Ant project</h2> <p>Unless you use a dependency manager tool like <a class="externalLink" href="http://ant.apache.org/ivy/">Apache Ivy</a>, the easiest way to use Tika is to include either the tika-core or the tika-app jar in your classpath, depending on whether you want just the core functionality or also all the parser implementations.</p> <div> <pre><classpath> @@ -140,7 +140,7 @@ </classpath></pre></div></div> <div class="section"> -<h2>Using Tika as a command line utility<a name="Using_Tika_as_a_command_line_utility"></a></h2> +<h2><a name="Using_Tika_as_a_command_line_utility"></a>Using Tika as a command line utility</h2> <p>The Tika application jar (tika-app-*.jar) can be used as a command line utility for extracting text content and metadata from all sorts of files. This runnable jar contains all the dependencies it needs, so you don't need to worry about classpath settings to run it.</p> <p>The usage instructions are shown below.</p> <div> Modified: tika/site/publish/1.4/index.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.4/index.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.4/index.html (original) +++ tika/site/publish/1.4/index.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Apache Tika 1.4</title> + <title>Apache Tika – Apache Tika 1.4</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Apache Tika 1.4<a name="Apache_Tika_1.4"></a></h2> +<h2><a name="Apache_Tika_1.4"></a>Apache Tika 1.4</h2> <p>The most notable changes in Tika 1.4 over the previous release are:</p> <ul> <li>Removed a test HTML file with a poorly chosen GPL text in it (<a class="externalLink" href="http://issues.apache.org/jira/browse/TIKA-1129">TIKA-1129</a>).</li> Modified: tika/site/publish/1.4/parser.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.4/parser.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.4/parser.html (original) +++ tika/site/publish/1.4/parser.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - The Parser interface</title> + <title>Apache Tika – The Parser interface</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>The Parser interface<a name="The_Parser_interface"></a></h2> +<h2><a name="The_Parser_interface"></a>The Parser interface</h2> <p>The <a href="./api/org/apache/tika/parser/Parser.html">org.apache.tika.parser.Parser</a> interface is the key concept of Apache Tika. It hides the complexity of different file formats and parsing libraries while providing a simple and powerful mechanism for client applications to extract structured text content and metadata from all sorts of documents. All this is achieved with a single method:</p> <div> <pre>void parse( @@ -105,7 +105,7 @@ <dd>While the default settings and behaviour of Tika parsers should work well for most use cases, there are still situations where more fine-grained control over the parsing process is desirable. It should be easy to inject such context-specific information to the parsing process without breaking the layers of abstraction.</dd></dl> <p>These criteria are reflected in the arguments of the <tt>parse</tt> method.</p> <div class="section"> -<h3>Document input stream<a name="Document_input_stream"></a></h3> +<h3><a name="Document_input_stream"></a>Document input stream</h3> <p>The first argument is an <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html">InputStream</a> for reading the document to be parsed.</p> <p>If this document stream can not be read, then parsing stops and the thrown <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html">IOException</a> is passed up to the client application. If the stream can be read but not parsed (for example if the document is corrupted), then the parser throws a <a href="./api/org/apache/tika/exception/TikaException.html">TikaException</a>.</p> <p>The parser implementation will consume this stream but <i>will not close it</i>. Closing the stream is the responsibility of the client application that opened it in the first place. The recommended pattern for using streams with the <tt>parse</tt> method is:</p> @@ -118,7 +118,7 @@ try { }</pre></div> <p>Some document formats like the OLE2 Compound Document Format used by Microsoft Office are best parsed as random access files. In such cases the content of the input stream is automatically spooled to a temporary file that gets removed once parsed. A future version of Tika may make it possible to avoid this extra file if the input document is already a file in the local file system. See <a class="externalLink" href="https://issues.apache.org/jira/browse/TIKA-153">TIKA-153</a> for the status of this feature request.</p></div> <div class="section"> -<h3>XHTML SAX events<a name="XHTML_SAX_events"></a></h3> +<h3><a name="XHTML_SAX_events"></a>XHTML SAX events</h3> <p>The parsed content of the document stream is returned to the client application as a sequence of XHTML SAX events. XHTML is used to express structured content of the document and SAX events enable streamed processing. Note that the XHTML format is used here only to convey structural information, not to render the documents for browsing!</p> <p>The XHTML SAX events produced by the parser implementation are sent to a <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</a> instance given to the <tt>parse</tt> method. If this the content handler fails to process an event, then parsing stops and the thrown <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/SAXException.html">SAXException</a> is passed up to the client application.</p> <p>The overall structure of the generated event stream is (with indenting added for clarity):</p> @@ -147,7 +147,7 @@ try { reader.close(); // the document stream is closed automatically }</pre></div></div> <div class="section"> -<h3>Document metadata<a name="Document_metadata"></a></h3> +<h3><a name="Document_metadata"></a>Document metadata</h3> <p>The third argument to the <tt>parse</tt> method is used to pass document metadata both in and out of the parser. Document metadata is expressed as an <a href="./api/org/apache/tika/metadata/Metadata.html">Metadata</a> object.</p> <p>The following are some of the more interesting metadata properties:</p> <dl> @@ -167,10 +167,10 @@ try { <p>The parser implementation sets this property if the document format contains an explicit author field.</p></dd></dl> <p>Note that metadata handling is still being discussed by the Tika development team, and it is likely that there will be some (backwards incompatible) changes in metadata handling before Tika 1.0.</p></div> <div class="section"> -<h3>Parse context<a name="Parse_context"></a></h3> +<h3><a name="Parse_context"></a>Parse context</h3> <p>The final argument to the <tt>parse</tt> method is used to inject context-specific information to the parsing process. This is useful for example when dealing with locale-specific date and number formats in Microsoft Excel spreadsheets. Another important use of the parse context is passing in the delegate parser instance to be used by two-phase parsers like the <a href="./api/org/apache/parser/pkg/PackageParser.html">PackageParser</a> subclasses. Some parser classes allow customization of the parsing process through strategy objects in the parse context.</p></div> <div class="section"> -<h3>Parser implementations<a name="Parser_implementations"></a></h3> +<h3><a name="Parser_implementations"></a>Parser implementations</h3> <p>Apache Tika comes with a number of parser classes for parsing <a href="./formats.html">various document formats</a>. You can also extend Tika with your own parsers, and of course any contributions to Tika are warmly welcome.</p> <p>The goal of Tika is to reuse existing parser libraries like <a class="externalLink" href="http://pdfbox.apache.org/">PDFBox</a> or <a class="externalLink" href="http://poi.apache.org/">Apache POI</a> as much as possible, and so most of the parser classes in Tika are adapters to such external libraries.</p> <p>Tika also contains some general purpose parser implementations that are not targeted at any specific document formats. The most notable of these is the <a href="./api/org/apache/tika/parser/AutoDetectParser.html">AutoDetectParser</a> class that encapsulates all Tika functionality into a single parser that can handle any types of documents. This parser will automatically determine the type of the incoming document based on various heuristics and will then parse the document accordingly.</p></div></div> Modified: tika/site/publish/1.4/parser_guide.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.4/parser_guide.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.4/parser_guide.html (original) +++ tika/site/publish/1.4/parser_guide.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Get Tika parsing up and running in 5 minutes</title> + <title>Apache Tika – Get Tika parsing up and running in 5 minutes</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Get Tika parsing up and running in 5 minutes<a name="Get_Tika_parsing_up_and_running_in_5_minutes"></a></h2> +<h2><a name="Get_Tika_parsing_up_and_running_in_5_minutes"></a>Get Tika parsing up and running in 5 minutes</h2> <p>This page is a quick start guide showing how to add a new parser to Apache Tika. Following the simple steps listed below your new parser can be running in only 5 minutes.</p> <ul> <li><a href="#Get_Tika_parsing_up_and_running_in_5_minutes">Get Tika parsing up and running in 5 minutes</a> Modified: tika/site/publish/1.5/detection.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.5/detection.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.5/detection.html (original) +++ tika/site/publish/1.5/detection.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Content Detection</title> + <title>Apache Tika – Content Detection</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Content Detection<a name="Content_Detection"></a></h2> +<h2><a name="Content_Detection"></a>Content Detection</h2> <p>This page gives you information on how content and language detection works with Apache Tika, and how to tune the behaviour of Tika.</p> <ul> <li><a href="#Content_Detection">Content Detection</a> Modified: tika/site/publish/1.5/formats.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.5/formats.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.5/formats.html (original) +++ tika/site/publish/1.5/formats.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Supported Document Formats</title> + <title>Apache Tika – Supported Document Formats</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Supported Document Formats<a name="Supported_Document_Formats"></a></h2> +<h2><a name="Supported_Document_Formats"></a>Supported Document Formats</h2> <p>This page lists all the document formats supported by Apache Tika 1.5. Follow the links to the various parser class javadocs for more detailed information about each document format and how it is parsed by Tika.</p> <ul> <li><a href="#Supported_Document_Formats">Supported Document Formats</a> Modified: tika/site/publish/1.5/gettingstarted.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.5/gettingstarted.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.5/gettingstarted.html (original) +++ tika/site/publish/1.5/gettingstarted.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Getting Started with Apache Tika</title> + <title>Apache Tika – Getting Started with Apache Tika</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,10 +85,10 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Getting Started with Apache Tika<a name="Getting_Started_with_Apache_Tika"></a></h2> +<h2><a name="Getting_Started_with_Apache_Tika"></a>Getting Started with Apache Tika</h2> <p>This document describes how to build Apache Tika from sources and how to start using Tika in an application.</p></div> <div class="section"> -<h2>Getting and building the sources<a name="Getting_and_building_the_sources"></a></h2> +<h2><a name="Getting_and_building_the_sources"></a>Getting and building the sources</h2> <p>To build Tika from sources you first need to either <a href="../download.html">download</a> a source release or <a href="../source-repository.html">checkout</a> the latest sources from version control.</p> <p>Once you have the sources, you can build them using the <a class="externalLink" href="http://maven.apache.org/">Maven 2</a> build system. Executing the following command in the base directory will build the sources and install the resulting artifacts in your local Maven repository.</p> <div> @@ -96,7 +96,7 @@ <p>See the Maven documentation for more information about the available build options.</p> <p>Note that you need Java 6 or higher to build Tika.</p></div> <div class="section"> -<h2>Build artifacts<a name="Build_artifacts"></a></h2> +<h2><a name="Build_artifacts"></a>Build artifacts</h2> <p>The Tika build consists of a number of components and produces the following main binaries:</p> <dl> <dt>tika-core/target/tika-core-*.jar</dt> @@ -108,7 +108,7 @@ <dt>tika-bundle/target/tika-bundle-*.jar</dt> <dd> Tika bundle. An OSGi bundle that combines tika-parsers with non-OSGified parser libraries to make them easy to deploy in an OSGi environment.</dd></dl></div> <div class="section"> -<h2>Using Tika as a Maven dependency<a name="Using_Tika_as_a_Maven_dependency"></a></h2> +<h2><a name="Using_Tika_as_a_Maven_dependency"></a>Using Tika as a Maven dependency</h2> <p>The core library, tika-core, contains the key interfaces and classes of Tika and can be used by itself if you don't need the full set of parsers from the tika-parsers component. The tika-core dependency looks like this:</p> <div> <pre> <dependency> @@ -127,7 +127,7 @@ <div> <pre>$ mvn dependency:tree | grep :compile</pre></div></div> <div class="section"> -<h2>Using Tika in an Ant project<a name="Using_Tika_in_an_Ant_project"></a></h2> +<h2><a name="Using_Tika_in_an_Ant_project"></a>Using Tika in an Ant project</h2> <p>Unless you use a dependency manager tool like <a class="externalLink" href="http://ant.apache.org/ivy/">Apache Ivy</a>, the easiest way to use Tika is to include either the tika-core or the tika-app jar in your classpath, depending on whether you want just the core functionality or also all the parser implementations.</p> <div> <pre><classpath> @@ -140,7 +140,7 @@ </classpath></pre></div></div> <div class="section"> -<h2>Using Tika as a command line utility<a name="Using_Tika_as_a_command_line_utility"></a></h2> +<h2><a name="Using_Tika_as_a_command_line_utility"></a>Using Tika as a command line utility</h2> <p>The Tika application jar (tika-app-*.jar) can be used as a command line utility for extracting text content and metadata from all sorts of files. This runnable jar contains all the dependencies it needs, so you don't need to worry about classpath settings to run it.</p> <p>The usage instructions are shown below.</p> <div> Modified: tika/site/publish/1.5/index.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.5/index.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.5/index.html (original) +++ tika/site/publish/1.5/index.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Apache Tika 1.5</title> + <title>Apache Tika – Apache Tika 1.5</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Apache Tika 1.5<a name="Apache_Tika_1.5"></a></h2> +<h2><a name="Apache_Tika_1.5"></a>Apache Tika 1.5</h2> <p>The most notable changes in Tika 1.5 over the previous release are:</p> <ul> <li>Fixed bug in handling of embedded file processing in PDFs (<a class="externalLink" href="http://issues.apache.org/jira/browse/TIKA-1228">TIKA-1228</a>).</li> Modified: tika/site/publish/1.5/parser.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.5/parser.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.5/parser.html (original) +++ tika/site/publish/1.5/parser.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - The Parser interface</title> + <title>Apache Tika – The Parser interface</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>The Parser interface<a name="The_Parser_interface"></a></h2> +<h2><a name="The_Parser_interface"></a>The Parser interface</h2> <p>The <a href="./api/org/apache/tika/parser/Parser.html">org.apache.tika.parser.Parser</a> interface is the key concept of Apache Tika. It hides the complexity of different file formats and parsing libraries while providing a simple and powerful mechanism for client applications to extract structured text content and metadata from all sorts of documents. All this is achieved with a single method:</p> <div> <pre>void parse( @@ -105,7 +105,7 @@ <dd>While the default settings and behaviour of Tika parsers should work well for most use cases, there are still situations where more fine-grained control over the parsing process is desirable. It should be easy to inject such context-specific information to the parsing process without breaking the layers of abstraction.</dd></dl> <p>These criteria are reflected in the arguments of the <tt>parse</tt> method.</p> <div class="section"> -<h3>Document input stream<a name="Document_input_stream"></a></h3> +<h3><a name="Document_input_stream"></a>Document input stream</h3> <p>The first argument is an <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html">InputStream</a> for reading the document to be parsed.</p> <p>If this document stream can not be read, then parsing stops and the thrown <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html">IOException</a> is passed up to the client application. If the stream can be read but not parsed (for example if the document is corrupted), then the parser throws a <a href="./api/org/apache/tika/exception/TikaException.html">TikaException</a>.</p> <p>The parser implementation will consume this stream but <i>will not close it</i>. Closing the stream is the responsibility of the client application that opened it in the first place. The recommended pattern for using streams with the <tt>parse</tt> method is:</p> @@ -118,7 +118,7 @@ try { }</pre></div> <p>Some document formats like the OLE2 Compound Document Format used by Microsoft Office are best parsed as random access files. In such cases the content of the input stream is automatically spooled to a temporary file that gets removed once parsed. A future version of Tika may make it possible to avoid this extra file if the input document is already a file in the local file system. See <a class="externalLink" href="https://issues.apache.org/jira/browse/TIKA-153">TIKA-153</a> for the status of this feature request.</p></div> <div class="section"> -<h3>XHTML SAX events<a name="XHTML_SAX_events"></a></h3> +<h3><a name="XHTML_SAX_events"></a>XHTML SAX events</h3> <p>The parsed content of the document stream is returned to the client application as a sequence of XHTML SAX events. XHTML is used to express structured content of the document and SAX events enable streamed processing. Note that the XHTML format is used here only to convey structural information, not to render the documents for browsing!</p> <p>The XHTML SAX events produced by the parser implementation are sent to a <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</a> instance given to the <tt>parse</tt> method. If this the content handler fails to process an event, then parsing stops and the thrown <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/SAXException.html">SAXException</a> is passed up to the client application.</p> <p>The overall structure of the generated event stream is (with indenting added for clarity):</p> @@ -147,7 +147,7 @@ try { reader.close(); // the document stream is closed automatically }</pre></div></div> <div class="section"> -<h3>Document metadata<a name="Document_metadata"></a></h3> +<h3><a name="Document_metadata"></a>Document metadata</h3> <p>The third argument to the <tt>parse</tt> method is used to pass document metadata both in and out of the parser. Document metadata is expressed as an <a href="./api/org/apache/tika/metadata/Metadata.html">Metadata</a> object.</p> <p>The following are some of the more interesting metadata properties:</p> <dl> @@ -167,10 +167,10 @@ try { <p>The parser implementation sets this property if the document format contains an explicit author field.</p></dd></dl> <p>Note that metadata handling is still being discussed by the Tika development team, and it is likely that there will be some (backwards incompatible) changes in metadata handling before Tika 1.0.</p></div> <div class="section"> -<h3>Parse context<a name="Parse_context"></a></h3> +<h3><a name="Parse_context"></a>Parse context</h3> <p>The final argument to the <tt>parse</tt> method is used to inject context-specific information to the parsing process. This is useful for example when dealing with locale-specific date and number formats in Microsoft Excel spreadsheets. Another important use of the parse context is passing in the delegate parser instance to be used by two-phase parsers like the <a href="./api/org/apache/parser/pkg/PackageParser.html">PackageParser</a> subclasses. Some parser classes allow customization of the parsing process through strategy objects in the parse context.</p></div> <div class="section"> -<h3>Parser implementations<a name="Parser_implementations"></a></h3> +<h3><a name="Parser_implementations"></a>Parser implementations</h3> <p>Apache Tika comes with a number of parser classes for parsing <a href="./formats.html">various document formats</a>. You can also extend Tika with your own parsers, and of course any contributions to Tika are warmly welcome.</p> <p>The goal of Tika is to reuse existing parser libraries like <a class="externalLink" href="http://pdfbox.apache.org/">PDFBox</a> or <a class="externalLink" href="http://poi.apache.org/">Apache POI</a> as much as possible, and so most of the parser classes in Tika are adapters to such external libraries.</p> <p>Tika also contains some general purpose parser implementations that are not targeted at any specific document formats. The most notable of these is the <a href="./api/org/apache/tika/parser/AutoDetectParser.html">AutoDetectParser</a> class that encapsulates all Tika functionality into a single parser that can handle any types of documents. This parser will automatically determine the type of the incoming document based on various heuristics and will then parse the document accordingly.</p></div></div> Modified: tika/site/publish/1.5/parser_guide.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.5/parser_guide.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.5/parser_guide.html (original) +++ tika/site/publish/1.5/parser_guide.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Get Tika parsing up and running in 5 minutes</title> + <title>Apache Tika – Get Tika parsing up and running in 5 minutes</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Get Tika parsing up and running in 5 minutes<a name="Get_Tika_parsing_up_and_running_in_5_minutes"></a></h2> +<h2><a name="Get_Tika_parsing_up_and_running_in_5_minutes"></a>Get Tika parsing up and running in 5 minutes</h2> <p>This page is a quick start guide showing how to add a new parser to Apache Tika. Following the simple steps listed below your new parser can be running in only 5 minutes.</p> <ul> <li><a href="#Get_Tika_parsing_up_and_running_in_5_minutes">Get Tika parsing up and running in 5 minutes</a> Modified: tika/site/publish/1.6/detection.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.6/detection.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.6/detection.html (original) +++ tika/site/publish/1.6/detection.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Content Detection</title> + <title>Apache Tika – Content Detection</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Content Detection<a name="Content_Detection"></a></h2> +<h2><a name="Content_Detection"></a>Content Detection</h2> <p>This page gives you information on how content and language detection works with Apache Tika, and how to tune the behaviour of Tika.</p> <ul> <li><a href="#Content_Detection">Content Detection</a> Modified: tika/site/publish/1.6/formats.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.6/formats.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.6/formats.html (original) +++ tika/site/publish/1.6/formats.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Supported Document Formats</title> + <title>Apache Tika – Supported Document Formats</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,7 +85,7 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Supported Document Formats<a name="Supported_Document_Formats"></a></h2> +<h2><a name="Supported_Document_Formats"></a>Supported Document Formats</h2> <p>This page lists all the document formats supported by Apache Tika 1.6. Follow the links to the various parser class javadocs for more detailed information about each document format and how it is parsed by Tika.</p> <ul> <li><a href="#Supported_Document_Formats">Supported Document Formats</a> @@ -192,7 +192,7 @@ <h3><a name="Crypto_formats">Crypto formats</a></h3> <p>The <a href="./api/org/apache/tika/parser/crypto/Pkcs7Parser.html">Pkcs7Parser</a> is able to parse the contents of PKCS7 signed messages, but doesn't include any information from the outer PKCS7 wrapper.</p></div></div> <div class="section"> -<h2>Full list of supported formats:<a name="Full_list_of_supported_formats:"></a></h2> +<h2><a name="Full_list_of_supported_formats:"></a>Full list of supported formats:</h2> <ul> <li>org.apache.tika.parser.asm.<a href="./api/org/apache/tika/parser/asm/ClassParser">ClassParser</a> <ul> Modified: tika/site/publish/1.6/gettingstarted.html URL: http://svn.apache.org/viewvc/tika/site/publish/1.6/gettingstarted.html?rev=1710509&r1=1710508&r2=1710509&view=diff ============================================================================== --- tika/site/publish/1.6/gettingstarted.html (original) +++ tika/site/publish/1.6/gettingstarted.html Mon Oct 26 04:40:33 2015 @@ -29,7 +29,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Tika - Getting Started with Apache Tika</title> + <title>Apache Tika – Getting Started with Apache Tika</title> <style type="text/css" media="all"> @import url("../css/site.css"); </style> @@ -85,10 +85,10 @@ </div> <div id="content"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more --><!-- contributor license agreements. See the NOTICE file distributed with --><!-- this work for additional information regarding copyright ownership. --><!-- The ASF licenses this file to You under the Apache License, Version 2.0 --><!-- (the "License"); you may not use this file except in compliance with --><!-- the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><div class="section"> -<h2>Getting Started with Apache Tika<a name="Getting_Started_with_Apache_Tika"></a></h2> +<h2><a name="Getting_Started_with_Apache_Tika"></a>Getting Started with Apache Tika</h2> <p>This document describes how to build Apache Tika from sources and how to start using Tika in an application.</p></div> <div class="section"> -<h2>Getting and building the sources<a name="Getting_and_building_the_sources"></a></h2> +<h2><a name="Getting_and_building_the_sources"></a>Getting and building the sources</h2> <p>To build Tika from sources you first need to either <a href="../download.html">download</a> a source release or <a href="../source-repository.html">checkout</a> the latest sources from version control.</p> <p>Once you have the sources, you can build them using the <a class="externalLink" href="http://maven.apache.org/">Maven 2</a> build system. Executing the following command in the base directory will build the sources and install the resulting artifacts in your local Maven repository.</p> <div> @@ -96,7 +96,7 @@ <p>See the Maven documentation for more information about the available build options.</p> <p>Note that you need Java 6 or higher to build Tika.</p></div> <div class="section"> -<h2>Build artifacts<a name="Build_artifacts"></a></h2> +<h2><a name="Build_artifacts"></a>Build artifacts</h2> <p>The Tika build consists of a number of components and produces the following main binaries:</p> <dl> <dt>tika-core/target/tika-core-*.jar</dt> @@ -108,7 +108,7 @@ <dt>tika-bundle/target/tika-bundle-*.jar</dt> <dd> Tika bundle. An OSGi bundle that combines tika-parsers with non-OSGified parser libraries to make them easy to deploy in an OSGi environment.</dd></dl></div> <div class="section"> -<h2>Using Tika as a Maven dependency<a name="Using_Tika_as_a_Maven_dependency"></a></h2> +<h2><a name="Using_Tika_as_a_Maven_dependency"></a>Using Tika as a Maven dependency</h2> <p>The core library, tika-core, contains the key interfaces and classes of Tika and can be used by itself if you don't need the full set of parsers from the tika-parsers component. The tika-core dependency looks like this:</p> <div> <pre> <dependency> @@ -127,7 +127,7 @@ <div> <pre>$ mvn dependency:tree | grep :compile</pre></div></div> <div class="section"> -<h2>Using Tika in an Ant project<a name="Using_Tika_in_an_Ant_project"></a></h2> +<h2><a name="Using_Tika_in_an_Ant_project"></a>Using Tika in an Ant project</h2> <p>Unless you use a dependency manager tool like <a class="externalLink" href="http://ant.apache.org/ivy/">Apache Ivy</a>, the easiest way to use Tika is to include either the tika-core or the tika-app jar in your classpath, depending on whether you want just the core functionality or also all the parser implementations.</p> <div> <pre><classpath> @@ -140,7 +140,7 @@ </classpath></pre></div></div> <div class="section"> -<h2>Using Tika as a command line utility<a name="Using_Tika_as_a_command_line_utility"></a></h2> +<h2><a name="Using_Tika_as_a_command_line_utility"></a>Using Tika as a command line utility</h2> <p>The Tika application jar (tika-app-*.jar) can be used as a command line utility for extracting text content and metadata from all sorts of files. This runnable jar contains all the dependencies it needs, so you don't need to worry about classpath settings to run it.</p> <p>The usage instructions are shown below.</p> <div> @@ -216,7 +216,7 @@ curl http://.../document.doc \ | java -jar tika-app.jar --text \ | grep -q keyword</pre></div></div> <div class="section"> -<h2>Wrappers<a name="Wrappers"></a></h2> +<h2><a name="Wrappers"></a>Wrappers</h2> <p>Several wrappers are available to use Tika in another programming language, such as <a class="externalLink" href="https://github.com/aviks/Taro.jl">Julia</a> or <a class="externalLink" href="https://github.com/chrismattmann/tika-python">Python</a>.</p></div> </div> <div id="sidebar">
