Modified: tika/site/src/site/apt/0.7/parser.apt URL: http://svn.apache.org/viewvc/tika/site/src/site/apt/0.7/parser.apt?rev=982632&r1=982631&r2=982632&view=diff ============================================================================== --- tika/site/src/site/apt/0.7/parser.apt (original) +++ tika/site/src/site/apt/0.7/parser.apt Thu Aug 5 14:19:17 2010 @@ -20,7 +20,7 @@ The Parser interface The - {{{api/org/apache/tika/parser/Parser.html}org.apache.tika.parser.Parser}} + {{{./api/org/apache/tika/parser/Parser.html}org.apache.tika.parser.Parser}} 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 @@ -79,7 +79,7 @@ void parse( {{{http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html}IOException}} 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 {{{api/org/apache/tika/exception/TikaException.html}TikaException}}. + throws a {{{./api/org/apache/tika/exception/TikaException.html}TikaException}}. The parser implementation will consume this stream but <will not close it>. Closing the stream is the responsibility of the client application that @@ -134,7 +134,7 @@ try { --- Parser implementations typically use the - {{{apidocs/org/apache/tika/sax/XHTMLContentHandler.html}XHTMLContentHandler}} + {{{./api/org/apache/tika/sax/XHTMLContentHandler.html}XHTMLContentHandler}} utility class to generate the XHTML output. Dealing with the raw SAX events can be a bit complex, so Apache Tika @@ -142,7 +142,7 @@ try { convert the event stream to other representations. For example, the - {{{api/org/apache/tika/sax/BodyContentHandler.html}BodyContentHandler}} + {{{./api/org/apache/tika/sax/BodyContentHandler.html}BodyContentHandler}} class can be used to extract just the body part of the XHTML output and feed it either as SAX events to another content handler or as characters to an output stream, a writer, or simply a string. The following code @@ -155,7 +155,7 @@ parser.parse(System.in, handler, ...); --- Another useful class is - {{{api/org/apache/tika/parser/ParsingReader.html}ParsingReader}} that + {{{./api/org/apache/tika/parser/ParsingReader.html}ParsingReader}} that uses a background thread to parse the document and returns the extracted text content as a character stream: @@ -173,7 +173,7 @@ try { The third argument to the <<<parse>>> method is used to pass document metadata both in and out of the parser. Document metadata is expressed - as an {{{api/org/apache/tika/metadata/Metadata.html}Metadata}} object. + as an {{{./api/org/apache/tika/metadata/Metadata.html}Metadata}} object. The following are some of the more interesting metadata properties: @@ -220,14 +220,14 @@ try { 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 - {{{api/org/apache/parser/pkg/PackageParser.html}PackageParser}} subclasses. + {{{./api/org/apache/parser/pkg/PackageParser.html}PackageParser}} subclasses. Some parser classes allow customization of the parsing process through strategy objects in the parse context. * Parser implementations Apache Tika comes with a number of parser classes for parsing - {{{formats.html}various document formats}}. You can also extend Tika + {{{./formats.html}various document formats}}. You can also extend Tika with your own parsers, and of course any contributions to Tika are warmly welcome. @@ -238,7 +238,7 @@ try { Tika also contains some general purpose parser implementations that are not targeted at any specific document formats. The most notable of these - is the {{{apidocs/org/apache/tika/parser/AutoDetectParser.html}AutoDetectParser}} + is the {{{./api/org/apache/tika/parser/AutoDetectParser.html}AutoDetectParser}} 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
Modified: tika/site/src/site/apt/0.7/parser_guide.apt URL: http://svn.apache.org/viewvc/tika/site/src/site/apt/0.7/parser_guide.apt?rev=982632&r1=982631&r2=982632&view=diff ============================================================================== --- tika/site/src/site/apt/0.7/parser_guide.apt (original) +++ tika/site/src/site/apt/0.7/parser_guide.apt Thu Aug 5 14:19:17 2010 @@ -28,7 +28,7 @@ Get Tika parsing up and running in 5 min * {Getting Started} - The {{{gettingstarted.html}Getting Started}} document describes how to + The {{{./gettingstarted.html}Getting Started}} document describes how to build Apache Tika from sources and how to start using Tika in an application. Pay close attention and follow the instructions in the "Getting and building the sources" section. Modified: tika/site/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/tika/site/src/site/apt/index.apt?rev=982632&r1=982631&r2=982632&view=diff ============================================================================== --- tika/site/src/site/apt/index.apt (original) +++ tika/site/src/site/apt/index.apt Thu Aug 5 14:19:17 2010 @@ -22,8 +22,8 @@ Tika - Content Analysis Toolkit Apache Tika is a toolkit for detecting and extracting metadata and structured text content from various documents using existing parser libraries. You can find the latest release on the - {{{download.html}download page}}. See the - {{{0.7/gettingstarted.html}Getting Started}} guide for instructions on + {{{./download.html}download page}}. See the + {{{./0.7/gettingstarted.html}Getting Started}} guide for instructions on how to start using Tika. Tika was formerly a subproject of {{{http://lucene.apache.org/}Apache Lucene}}.
