Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Pushed back recent changes from trunk to NutchBase

Julien Niochefbbeaf02edb6
diff --git a/CHANGES.txt b/CHANGES.txt
index 178f96240..a6a5f96c7 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,11 +1,159 @@
Nutch Change Log
-Unreleased Changes
+Release 2.0 - Current Development
- 1. NUTCH-735 - crawl-tool.xml must be read before nutch-site.xml when
- invoked using crawl command (Susam Pal via dogacan)
+* NUTCH-774 Retry interval in crawl date is set to 0 (Reinhard Schwab via mattmann)
- 2. NUTCH-650 - Hbase Integration (dogacan)
+* NUTCH-697 Generate log output for solr indexer and dedup (Dmitry Lihachev, Jeroen van Vianen via mattmann)
+
+* NUTCH-844 Improve NutchConfiguration (ab)
+
+* NUTCH-850 SolrDeleteDuplicates needs to clone the SolrRecord objects (jnioche)
+
+* NUTCH-845 Native hadoop libs not available through maven (ab)
+
+* NUTCH-843 Separate the build and runtime environments (ab)
+
+* NUTCH-821 Use ivy in nutch builds (Enis Soztutar, jnioche)
+
+* NUTCH-838 Add timing information to all Tool classes (Jeroen van Vianen, mattmann)
+
+* NUTCH-837 Remove search servers and Lucene dependencies (ab)
+
+* NUTCH-836 Remove deprecated parse plugins (jnioche)
+
+* NUTCH-835 Document deduplication failed using MD5Signature (Sebastian Nagel via ab)
+
+* NUTCH-278 Fetcher-status might need clarification: kbit/s instead of kb/s shown (Alex McLintock via mattmann)
+
+* NUTCH-833 Website is still Lucene branded (mattmann, Alex McLintock)
+
+* NUTCH-832 Website menu has lots of broken links - in particular the API docs (Alex McLintock via mattmann)
+
+
+Release 1.1 - 2010-06-06
+
+* NUTCH-819 Included Solr schema.xml and solrindex-mapping.xml don't play together (ab)
+
+* NUTCH-818 Bugfix : Parse-tika uses minorCodes instead of majorCodes in ParseStatus (jnioche)
+
+* NUTCH-816 Add zip target to build.xml (mattmann)
+
+* NUTCH-732 Subcollection plugin not working (Filipe Antunes, ab)
+
+* NUTCH-815 Invalid blank line before If-Modified-Since header (Pascal Dimassimo via ab)
+
+* NUTCH-814 SegmentMerger bug (Rob Bradshaw, ab)
+
+* NUTCH-812 Crawl.java incorrectly uses the Generator API resulting in NPE (Phil Barnett via mattmann and ab)
+
+* NUTCH-810 Upgrade to Tika 0.7 (jnioche)
+
+* NUTCH-785 Copy metadata from origin URL when redirecting in Fetcher + call scfilters.initialScore on newly created URL (jnioche)
+
+* NUTCH-779 Mechanism for passing metadata from parse to crawldb (jnioche)
+
+* NUTCH-784 CrawlDBScanner (jnioche)
+
+* NUTCH-762 Generator can generate several segments in one parse of the crawlDB (jnioche)
+
+* NUTCH-740 Configuration option to override default language for fetched pages (Marcin Okraszewski via jnioche)
+
+* NUTCH-803 Upgrade to Hadoop 0.20.2 (ab)
+
+* NUTCH-787 Upgrade Lucene to 3.0.1. (Dawid Weiss via ab)
+
+* NUTCH-796 Zero results problems difficult to troubleshoot due to lack of logging (ab)
+
+* NUTCH-801 Remove RTF and MP3 parse plugins (jnioche)
+
+* NUTCH-798 Upgrade to SOLR1.4 and its dependencies (jnioche)
+
+* NUTCH-799 SOLRIndexer to commit once all reducers have finished (jnioche)
+
+* NUTCH-782 Ability to order htmlparsefilters (jnioche)
+
+* NUTCH-719 fetchQueues.totalSize incorrect in Fetcher (Steven Denny via jnioche)
+
+* NUTCH-790 Some external javadoc links are broken (siren)
+
+* NUTCH-766 Tika parser (jnioche via mattmann)
+
+* NUTCH-786 Improvement to the list of suffix domains (jnioche)
+
+* NUTCH-775 Enhance searcher interface (siren)
+
+* NUTCH-781 Update Tika to v0.6 (jnioche)
+
+* NUTCH-269 CrawlDbReducer: OOME because no upper-bound on inlinks count (stack + jnioche)
+
+* NUTCH-655 Injecting Crawl metadata (jnioche)
+
+* NUTCH-658 Use counters to report fetching and parsing status (jnioche)
+
+* NUTCH-777 Upgrading to jetty6 broke unit tests (mattmann)
+
+* NUTCH-767 Update Tika to v0.5 for the MimeType detection (Julien Nioche via ab)
+
+* NUTCH-769 Fetcher to skip queues for URLS getting repeated exceptions
+ (Julien Nioche via ab)
+
+* NUTCH-768 - Upgrade Nutch 1.0 to use Hadoop 0.20.1, also upgrades Xerces to
+ version 2.9.1. (kubes)
+
+* NUTCH-712 ParseOutputFormat should catch java.net.MalformedURLException
+ coming from normalizers (Julien Nioche via ab)
+
+* NUTCH-741 Job file includes multiple copies of nutch config files
+ (Kirby Bohling via ab)
+
+* NUTCH-739 SolrDeleteDuplications too slow when using hadoop (Dmitry Lihachev via ab)
+
+* NUTCH-738 Close SegmentUpdater when FetchedSegments is closed
+ (Martina Koch, Kirby Bohling via ab)
+
+* NUTCH-746 NutchBeanConstructor does not close NutchBean upon contextDestroyed,
+ causing resource leak in the container. (Kirby Bohling via ab)
+
+* NUTCH-772 Upgrade Nutch to use Lucene 2.9.1 (ab)
+
+* NUTCH-760 Allow field mapping from Nutch to Solr index (David Stuart, ab)
+
+* NUTCH-761 Avoid cloning CrawlDatum in CrawlDbReducer (Julien Nioche, ab)
+
+* NUTCH-753 Prevent new Fetcher from retrieving the robots twice (Julien Nioche via ab)
+
+* NUTCH-773 - Some minor bugs in AbstractFetchSchedule (Reinhard Schwab via ab)
+
+* NUTCH-765 - Allow Crawl class to call Either Solr or Lucene Indexer (kubes)
+
+* NUTCH-735 - crawl-tool.xml must be read before nutch-site.xml when
+ invoked using crawl command (Susam Pal via dogacan)
+
+* NUTCH-721 - Fetcher2 Slow (Julien Nioche via dogacan)
+
+* NUTCH-702 - Lazy Instanciation of Metadata in CrawlDatum (Julien Nioche via dogacan)
+
+* NUTCH-707 - Generation of multiple segments in multiple runs returns only 1 segment
+ (Michael Chen, ab)
+
+* NUTCH-730 - NPE in LinkRank if no nodes with which to create the WebGraph
+ (Dennis Kubes via ab)
+
+* NUTCH-731 - Redirection of robots.txt in RobotRulesParser (Julien Nioche via ab)
+
+* NUTCH-757 - RequestUtils getBooleanParameter() always returns false
+ (Niall Pemberton via ab)
+
+* NUTCH-754 - Use GenericOptionsParser instead of FileSystem.parseArgs() (Julien
+ Nioche via ab)
+
+* NUTCH-756 - CrawlDatum.set() does not reset Metadata if it is null (Julien Nioche
+ via ab)
+
+* NUTCH-679 - Fetcher2 implementing Tool (Julien Nioche via ab)
+
+* NUTCH-758 - Set subversion eol-style to "native" (Niall Pemberton via ab)
Release 1.0 - 2009-03-23
diff --git a/build.xml b/build.xml
index d3b7e848d..b2a5b24ef 100644
--- a/build.xml
+++ b/build.xml
@@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<project name="Nutch" default="job" xmlns:ivy="antlib:org.apache.ivy.ant">
+<project name="Nutch" default="runtime" xmlns:ivy="antlib:org.apache.ivy.ant">
<!-- Load all the default properties, and any the user wants -->
<!-- to contribute (without having to type -D or edit this file -->
@@ -23,7 +23,7 @@
<property file="${basedir}/build.properties" />
<property file="${basedir}/default.properties" />
<property name="test.junit.output.format" value="plain"/>
- <loadproperties srcfile="${ivy.dir}/libraries.properties"/>
+ <!-- <loadproperties srcfile="${ivy.dir}/libraries.properties"/> -->
<!-- the normal classpath -->
<path id="classpath">
@@ -67,25 +67,10 @@
</copy>
</target>
- <target name="extract-hadoop" depends="ivy-init">
- <!-- unpack hadoop scripts from hadoop jar into bin directory -->
- <mkdir dir="${build.dir}/hadoop"/>
- <unjar dest="${build.dir}/hadoop">
- <fileset dir="${build.lib.dir}" includes="hadoop*.jar"/>
- <patternset includes="bin.tgz"/>
- </unjar>
-
- <untar src="${build.dir}/hadoop/bin.tgz" dest="bin" compression="gzip"/>
- <!-- fix broken library paths with spaces -->
- <replace file="bin/hadoop" token="PlatformName" value="PlatformName | sed -e 's/ /_/g'"/>
- <chmod dir="bin" perm="ugo+rx" includes="*.sh,hadoop"/>
-
- </target>
-
<!-- ====================================================== -->
<!-- Compile the Java files -->
<!-- ====================================================== -->
- <target name="compile" depends="compile-core, compile-plugins, extract-hadoop"/>
+ <target name="compile" depends="compile-core, compile-plugins"/>
<target name="compile-core" depends="init, resolve-default">
<javac
@@ -103,7 +88,7 @@
</javac>
</target>
- <target name="compile-plugins">
+ <target name="compile-plugins" depends="init, resolve-default">
<ant dir="src/plugin" target="deploy" inheritAll="false"/>
</target>
@@ -131,7 +116,12 @@
<!-- ================================================================== -->
<target name="job" depends="compile">
<jar jarfile="${build.dir}/${final.name}.job">
- <zipfileset dir="${build.classes}"/>
+ <!-- If the build.classes has the nutch config files because the jar
+ command command has run, exclude them. The conf directory has
+ them.
+ -->
+ <zipfileset dir="${build.classes}"
+ excludes="nutch-default.xml,nutch-site.xml"/>
<zipfileset dir="${conf.dir}" excludes="*.template,hadoop*.*"/>
<zipfileset dir="${build.lib.dir}" prefix="lib"
includes="**/*.jar" excludes="hadoop-*.jar"/>
@@ -139,6 +129,41 @@
</jar>
</target>
+ <target name="runtime" depends="jar, job">
+ <mkdir dir="${runtime.dir}"/>
+ <mkdir dir="${runtime.local}"/>
+ <mkdir dir="${runtime.deploy}"/>
+ <!-- deploy area -->
+ <copy file="${build.dir}/${final.name}.job"
+ todir="${runtime.deploy}"/>
+ <copy todir="${runtime.deploy}/bin">
+ <fileset dir="src/bin"/>
+ </copy>
+ <chmod perm="ugo+x" type="file">
+ <fileset dir="${runtime.deploy}/bin"/>
+ </chmod>
+ <!-- local area -->
+ <copy file="${build.dir}/${final.name}.jar"
+ todir="${runtime.local}/lib"/>
+ <copy todir="${runtime.local}/lib/native">
+ <fileset dir="lib/native"/>
+ </copy>
+ <copy todir="${runtime.local}/conf">
+ <fileset dir="conf" excludes="*.template"/>
+ </copy>
+ <copy todir="${runtime.local}/bin">
+ <fileset dir="src/bin"/>
+ </copy>
+ <chmod perm="ugo+x" type="file">
+ <fileset dir="${runtime.local}/bin"/>
+ </chmod>
+ <copy todir="${runtime.local}/lib">
+ <fileset dir="${build.dir}/lib"/>
+ </copy>
+ <copy todir="${runtime.local}/plugins">
+ <fileset dir="${build.dir}/plugins"/>
+ </copy>
+ </target>
<!-- ================================================================== -->
<!-- Compile test code -->
@@ -159,6 +184,42 @@
</javac>
</target>
+ <!-- ================================================================== -->
+ <!-- Run code checks (PMD) -->
+ <!-- ================================================================== -->
+ <target name="pmd" depends="compile">
+ <property name="pmd.report" location="${build.dir}/pmd-report.html" />
+ <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask">
+ <classpath>
+ <fileset dir="${lib.dir}">
+ <include name="pmd-ext/*.jar" />
+ <include name="xerces*.jar" />
+ </fileset>
+ </classpath>
+ </taskdef>
+ <pmd shortFilenames="true" failonerror="true" failOnRuleViolation="false"
+ encoding="${build.encoding}" failuresPropertyName="pmd.failures">
+ <ruleset>unusedcode</ruleset>
+ <!--ruleset>basic</ruleset-->
+ <!--ruleset>optimizations</ruleset-->
+ <formatter type="html" toFile="${pmd.report}" />
+ <!-- <formatter type="xml" toFile="${tempbuild}/$report_pmd.xml"/> -->
+ <fileset dir="${basedir}/src">
+ <include name="java/**/*.java"/>
+ <include name="plugin/**/*.java"/>
+ </fileset>
+ </pmd>
+ <condition property="pmd.stop" value="true">
+ <and>
+ <isset property="pmd.failures" />
+ <not>
+ <equals arg1="0" arg2="${pmd.failures}" trim="true" />
+ </not>
+ </and>
+ </condition>
+ <fail if="pmd.stop">FAILURE: PMD shows ${pmd.failures} rule violations. See ${pmd.report} for details.</fail>
+ </target>
+
<!-- ================================================================== -->
<!-- Run unit tests -->
<!-- ================================================================== -->
@@ -318,7 +379,6 @@
<packageset dir="${plugins.dir}/protocol-httpclient/src/java"/>
<packageset dir="${plugins.dir}/parse-tika/src/java"/>
<packageset dir="${plugins.dir}/parse-ext/src/java"/>
- <packageset dir="${plugins.dir}/parse-html/src/java"/>
<packageset dir="${plugins.dir}/parse-js/src/java"/>
<packageset dir="${plugins.dir}/parse-rss/src/java"/>
<packageset dir="${plugins.dir}/parse-swf/src/java"/>
@@ -357,6 +417,11 @@
todir="${build.javadoc}/org/apache/nutch/plugin/doc-files"/>
</target>
+ <target name="default-doc">
+ <style basedir="${conf.dir}" destdir="${docs.dir}"
+ includes="nutch-default.xml" style="conf/nutch-conf.xsl"/>
+ </target>
+
<!-- ================================================================== -->
<!-- D I S T R I B U T I O N -->
<!-- ================================================================== -->
@@ -393,10 +458,6 @@
<fileset dir="${dist.version.dir}/bin"/>
</chmod>
- <copy todir="${dist.version.dir}/docs">
- <fileset dir="site" />
- </copy>
-
<copy todir="${dist.version.dir}/docs/api">
<fileset dir="${build.javadoc}"/>
</copy>
@@ -434,7 +495,7 @@
</target>
<!-- ================================================================== -->
- <!-- Make release tarball -->
+ <!-- Make release tarball -->
<!-- ================================================================== -->
<target name="zip" depends="package">
<zip compress="true" casesensitive="yes" destfile="${dist.dir}/${final.name}.zip">
@@ -453,7 +514,7 @@
<!-- ================================================================== -->
<!-- target: clean =================================================== -->
- <target name="clean" depends="clean-build, clean-lib, clean-dist" description="--> clean the project" />
+ <target name="clean" depends="clean-build, clean-lib, clean-dist, clean-runtime" description="--> clean the project" />
<!-- target: clean-local ============================================= -->
<target name="clean-local" depends=""
@@ -482,6 +543,10 @@
<ivy:cleancache />
</target>
+ <target name="clean-runtime" description="--> clean the project runtime area">
+ <delete includeemptydirs="true" dir="${runtime.dir}"/>
+ </target>
+
<!-- ================================================================== -->
<!-- RAT targets -->
<!-- ================================================================== -->
@@ -502,45 +567,5 @@
</fileset>
</rat:report>
</target>
-
-
- <!-- ================================================================== -->
- <!-- Run code checks (PMD) -->
- <!-- ================================================================== -->
- <target name="pmd" depends="compile">
- <property name="pmd.report" location="${build.dir}/pmd-report.html" />
- <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask">
- <classpath>
- <fileset dir="${build.lib.dir}">
- <include name="pmd-ext/*.jar" />
- <include name="xerces*.jar" />
- </fileset>
- </classpath>
- </taskdef>
- <pmd shortFilenames="true" failonerror="true" failOnRuleViolation="false"
- encoding="${build.encoding}" failuresPropertyName="pmd.failures">
- <ruleset>unusedcode</ruleset>
- <!--ruleset>basic</ruleset-->
- <!--ruleset>optimizations</ruleset-->
- <formatter type="html" toFile="${pmd.report}" />
- <!-- <formatter type="xml" toFile="${tempbuild}/$report_pmd.xml"/> -->
- <fileset dir="${basedir}/src">
- <include name="java/**/*.java"/>
- <include name="plugin/**/*.java"/>
- <!-- Exclude generated sources -->
- <exclude name="**/NutchAnalysis.java" />
- <exclude name="**/NutchAnalysisTokenManager.java" />
- </fileset>
- </pmd>
- <condition property="pmd.stop" value="true">
- <and>
- <isset property="pmd.failures" />
- <not>
- <equals arg1="0" arg2="${pmd.failures}" trim="true" />
- </not>
- </and>
- </condition>
- <fail if="pmd.stop">FAILURE: PMD shows ${pmd.failures} rule violations. See ${pmd.report} for details.</fail>
- </target>
</project>
diff --git a/conf/common-terms.utf8 b/conf/common-terms.utf8
deleted file mode 100644
index 220d1dac1..000000000
--- a/conf/common-terms.utf8
+++ /dev/null
@@ -1,28 +0,0 @@
-# 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.
-
-# Common terms and phrases which will be indexed in n-grams
-# in order to optimize search.
-content:a
-content:and
-content:for
-content:in
-content:of
-content:the
-content:to
-url:com
-url:http
-url:http-www
-url:www
diff --git a/conf/context.xsl b/conf/context.xsl
deleted file mode 100644
index 32e48bbd9..000000000
--- a/conf/context.xsl
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- 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.
-
- Author : Chris Mattmann
- Auhtor : J�r�me Charron
- Description: This xsl file is used to transform dynamic properties out of the
- nutch-default.xml file into a deployable Context.xml file for configuring
- the Nutch war file in a servlet container.
--->
-
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<xsl:template match="/">
-<Context path="/nutch" docBase="nutch-0.9-dev.war"
- debug="5" reloadable="true" crossContext="true">
-
-<xsl:for-each select="configuration/property">
-
-<!-- "searcher." properties -->
-<xsl:call-template name="parameter">
- <xsl:with-param name="property" select="current()"/>
- <xsl:with-param name="filter" select="'searcher.'"/>
-</xsl:call-template>
-
-<!-- "plugin." properties -->
-<xsl:call-template name="parameter">
- <xsl:with-param name="property" select="current()"/>
- <xsl:with-param name="filter" select="'plugin.'"/>
-</xsl:call-template>
-
-<!-- "extension.clustering." properties -->
-<xsl:call-template name="parameter">
- <xsl:with-param name="property" select="current()"/>
- <xsl:with-param name="filter" select="'extension.clustering.'"/>
-</xsl:call-template>
-
-<!-- "extension.ontology." properties -->
-<xsl:call-template name="parameter">
- <xsl:with-param name="property" select="current()"/>
- <xsl:with-param name="filter" select="'extension.ontology.'"/>
-</xsl:call-template>
-
-<!-- "query." properties -->
-<xsl:call-template name="parameter">
- <xsl:with-param name="property" select="current()"/>
- <xsl:with-param name="filter" select="'query.'"/>
-</xsl:call-template>
-
-</xsl:for-each>
-
-</Context>
-</xsl:template>
-
-
-<!--
- ! Template used to write out a parameter if the property's
- ! name contains the specified filter string.
- !-->
-<xsl:template name="parameter">
- <xsl:param name="property"/>
- <xsl:param name="filter"/>
- <xsl:if test="contains(name, $filter)">
- <Parameter override="false">
- <xsl:attribute name="name">
- <xsl:value-of select="name"/>
- </xsl:attribute>
- <xsl:attribute name="value">
- <xsl:value-of select="value"/>
- </xsl:attribute>
- </Parameter>
- </xsl:if>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/conf/crawl-tool.xml b/conf/crawl-tool.xml
deleted file mode 100644
index 5dcff65f0..000000000
--- a/conf/crawl-tool.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" ?>
-<!--
- 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.
--->
-<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
-
-<!-- Overidden defaults for intranet use. -->
-
-<!-- Do not modify this file directly. Instead, copy entries that you -->
-<!-- wish to modify from this file into nutch-site.xml and change them -->
-<!-- there. If nutch-site.xml does not already exist, create it. -->
-
-<configuration>
-
-<property>
- <name>urlfilter.regex.file</name>
- <value>crawl-urlfilter.txt</value>
-</property>
-
-<property>
- <name>db.ignore.internal.links</name>
- <value>false</value>
- <description>If true, when adding new links to a page, links from
- the same host are ignored. This is an effective way to limit the
- size of the link database, keeping the only the highest quality
- links.
- </description>
-</property>
-
-<property>
- <name>fetcher.server.delay</name>
- <value>1.0</value>
- <description>The number of seconds the fetcher will delay between
- successive requests to the same server.</description>
-</property>
-
-<property>
- <name>http.max.delays</name>
- <value>1000</value>
- <description>The number of times a thread will delay when trying to
- fetch a page. When using the crawl tool there are likely to be very
- few different hosts, so we need to be willing to wait longer for
- each.</description>
-</property>
-
-</configuration>
diff --git a/conf/crawl-urlfilter.txt.template b/conf/crawl-urlfilter.txt.template
deleted file mode 100644
index c04d40db0..000000000
--- a/conf/crawl-urlfilter.txt.template
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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.
-
-
-# The url filter file used by the crawl command.
-
-# Better for intranet crawling.
-# Be sure to change MY.DOMAIN.NAME to your domain name.
-
-# Each non-comment, non-blank line contains a regular expression
-# prefixed by '+' or '-'. The first matching pattern in the file
-# determines whether a URL is included or ignored. If no pattern
-# matches, the URL is ignored.
-
-# skip file:, ftp:, & mailto: urls
--^(file|ftp|mailto):
-
-# skip image and other suffixes we can't yet parse
--\.(gif|GIF|jpg|JPG|png|PNG|ico|ICO|css|sit|eps|wmf|zip|ppt|mpg|xls|gz|rpm|tgz|mov|MOV|exe|jpeg|JPEG|bmp|BMP)$
-
-# skip URLs containing certain characters as probable queries, etc.
--[?*!@=]
-
-# skip URLs with slash-delimited segment that repeats 3+ times, to break loops
--.*(/[^/]+)/[^/]+\1/[^/]+\1/
-
-# accept hosts in MY.DOMAIN.NAME
-+^http://([a-z0-9]*\.)*MY.DOMAIN.NAME/
-
-# skip everything else
--.
diff --git a/conf/custom-fields.xml b/conf/custom-fields.xml
deleted file mode 100644
index a9b36a091..000000000
--- a/conf/custom-fields.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
-<properties>
- <!--<entry key="field.name">lang</entry>
- <entry key="field.indexed">yes</entry>
- <entry key="field.stored">yes</entry>
- <entry key="field.tokenized">no</entry>
- <entry key="field.boost">1.0</entry>
- <entry key="field.multi">false</entry>-->
-</properties>
\ No newline at end of file
diff --git a/conf/domain-suffixes.xml b/conf/domain-suffixes.xml
index 2180c2cd7..096309b90 100644
--- a/conf/domain-suffixes.xml
+++ b/conf/domain-suffixes.xml
@@ -1744,6 +1744,16 @@
<suffix domain="retina.ar" />
<suffix domain="uba.ar" />
+ <suffix domain="com.ar" />
+ <suffix domain="edu.ar" />
+ <suffix domain="gob.ar" />
+ <suffix domain="gov.ar" />
+ <suffix domain="int.ar" />
+ <suffix domain="mil.ar" />
+ <suffix domain="net.ar" />
+ <suffix domain="org.ar" />
+ <suffix domain="tur.ar" />
+
<!-- arpa : http://en.wikipedia.org/wiki/.arpa-->
<suffix domain="e164.arpa" />
<suffix domain="in-addr.arpa" />
@@ -1955,6 +1965,14 @@
<!-- co : http://en.wikipedia.org/wiki/.co-->
+ <suffix domain="com.co" />
+ <suffix domain="org.co" />
+ <suffix domain="edu.co" />
+ <suffix domain="gov.co" />
+ <suffix domain="net.co" />
+ <suffix domain="mil.co" />
+ <suffix domain="nom.co" />
+
<!-- com : http://en.wikipedia.org/wiki/.com-->
<!-- coop : http://en.wikipedia.org/wiki/.coop-->
@@ -2215,9 +2233,26 @@
<!-- id : http://en.wikipedia.org/wiki/.id-->
+ <suffix domain="ac.id" />
+ <suffix domain="co.id" />
+ <suffix domain="net.id" />
+ <suffix domain="or.id" />
+ <suffix domain="web.id" />
+ <suffix domain="sch.id" />
+ <suffix domain="mil.id" />
+ <suffix domain="go.id" />
+
<!-- ie : http://en.wikipedia.org/wiki/.ie-->
<!-- il : http://en.wikipedia.org/wiki/.il-->
+ <suffix domain="ac.il" />
+ <suffix domain="co.il" />
+ <suffix domain="org.il" />
+ <suffix domain="net.il" />
+ <suffix domain="k12.il" />
+ <suffix domain="gov.il" />
+ <suffix domain="muni.il" />
+ <suffix domain="idf.il" />
<!-- im : https://www.nic.im/pdfs/imfaqs.pdf-->
<suffix domain="co.im" />
@@ -2854,6 +2889,11 @@
<suffix domain="org.mw" />
<!-- mx : http://www.nic.mx/-->
+ <suffix domain="com.mx" />
+ <suffix domain="edu.mx" />
+ <suffix domain="gob.mx" />
+ <suffix domain="net.mx" />
+ <suffix domain="org.mx" />
<!-- my : http://www.mynic.net.my/-->
@@ -3661,6 +3701,19 @@
<!-- nu : http://en.wikipedia.org/wiki/.nu-->
<!-- nz : http://en.wikipedia.org/wiki/.nz-->
+ <suffix domain="ac.nz" />
+ <suffix domain="co.nz" />
+ <suffix domain="cri.nz" />
+ <suffix domain="geek.nz" />
+ <suffix domain="gen.nz" />
+ <suffix domain="govt.nz" />
+ <suffix domain="iwi.nz" />
+ <suffix domain="maori.nz" />
+ <suffix domain="mil.nz" />
+ <suffix domain="net.nz" />
+ <suffix domain="org.nz" />
+ <suffix domain="parliament.nz" />
+ <suffix domain="school.nz" />
<!-- om : http://en.wikipedia.org/wiki/.om-->
@@ -4344,7 +4397,28 @@
<!-- yu : http://www.nic.yu/pravilnik-e.html-->
- <!-- za : http://www.zadna.org.za/slds.html-->
+ <!-- za : http://www.zadna.org.za/slds.html
+ http://en.wikipedia.org/wiki/.za
+ -->
+ <suffix domain="ac.za" />
+ <suffix domain="city.za" />
+ <suffix domain="co.za" />
+ <suffix domain="edu.za" />
+ <suffix domain="gov.za" />
+ <suffix domain="law.za" />
+ <suffix domain="mil.za" />
+ <suffix domain="nom.za" />
+ <suffix domain="org.za" />
+ <suffix domain="school.za" />
+ <suffix domain="ecape.school.za" />
+ <suffix domain="fs.school.za" />
+ <suffix domain="gp.school.za" />
+ <suffix domain="kzn.school.za" />
+ <suffix domain="mpm.school.za" />
+ <suffix domain="ncape.school.za" />
+ <suffix domain="lp.school.za" />
+ <suffix domain="nw.school.za" />
+ <suffix domain="wcape.school.za" />
<!-- zm : http://en.wikipedia.org/wiki/.zm-->
diff --git a/conf/gora.properties b/conf/gora.properties
index 6419cbc8c..66c1b1346 100644
--- a/conf/gora.properties
+++ b/conf/gora.properties
@@ -1,2 +1,2 @@
-output.path=test-avrostore-output
-input.path=test-avrostore-input
+gora.sqlstore.jdbc.driver=org.hsqldb.jdbcDriver
+gora.sqlstore.jdbc.url=jdbc:hsqldb:hsql://localhost/nutchtest
diff --git a/conf/nutch-default.xml b/conf/nutch-default.xml
index 29cbc9258..716455e76 100644
--- a/conf/nutch-default.xml
+++ b/conf/nutch-default.xml
@@ -113,7 +113,7 @@
<property>
<name>http.agent.version</name>
- <value>Nutch-1.0</value>
+ <value>Nutch-2.0-dev</value>
<description>A version string to advertise in the User-Agent
header.</description>
</property>
@@ -228,6 +228,15 @@
</description>
</property>
+<property>
+ <name>http.accept.language</name>
+ <value>en-us,en-gb,en;q=0.7,*;q=0.3</value>
+ <description>Value of the "Accept-Language" request header field.
+ This allows selecting non-English language as default one to retrieve.
+ It is a useful setting for search engines build for certain national group.
+ </description>
+</property>
+
<!-- FTP properties -->
<property>
@@ -383,6 +392,14 @@
</description>
</property>
+<property>
+ <name>db.update.max.inlinks</name>
+ <value>10000</value>
+ <description>Maximum number of inlinks to take into account when updating
+ a URL score in the crawlDB. Only the best scoring inlinks are kept.
+ </description>
+</property>
+
<property>
<name>db.ignore.internal.links</name>
<value>true</value>
@@ -462,6 +479,15 @@
</description>
</property>
+ <property>
+ <name>db.parsemeta.to.crawldb</name>
+ <value></value>
+ <description>Comma-separated list of parse metadata keys to transfer to the crawldb (NUTCH-779).
+ Assuming for instance that the languageidentifier plugin is enabled, setting the value to 'lang'
+ will copy both the key 'lang' and its value to the corresponding entry in the crawldb.
+ </description>
+</property>
+
<property>
<name>db.fetch.retry.max</name>
<value>3</value>
@@ -525,6 +551,15 @@
updatedb will generate identical fetchlists.</description>
</property>
+<property>
+ <name>generate.max.per.host</name>
+ <value>-1</value>
+ <description>(Deprecated). Use generate.max.count and generate.count.mode instead.
+ The maximum number of urls per host in a single
+ fetchlist. -1 if unlimited.</description>
+</property>
+
+<!-- urlpartitioner properties -->
<property>
<name>partition.url.mode</name>
<value>byHost</value>
@@ -533,6 +568,17 @@
</description>
</property>
+<property>
+ <name>crawl.gen.delay</name>
+ <value>604800000</value>
+ <description>
+ This value, expressed in days, defines how long we should keep the lock on records
+ in CrawlDb that were just selected for fetching. If these records are not updated
+ in the meantime, the lock is canceled, i.e. the become eligible for selecting.
+ Default value of this is 7 days.
+ </description>
+</property>
+
<!-- fetcher properties -->
<property>
@@ -605,6 +651,25 @@
<description>If true, fetcher will store content.</description>
</property>
+<property>
+ <name>fetcher.timelimit.mins</name>
+ <value>-1</value>
+ <description>This is the number of minutes allocated to the fetching.
+ Once this value is reached, any remaining entry from the input URL list is skipped
+ and all active queues are emptied. The default value of -1 deactivates the time limit.
+ </description>
+</property>
+
+<property>
+ <name>fetcher.max.exceptions.per.queue</name>
+ <value>-1</value>
+ <description>The maximum number of protocol-level exceptions (e.g. timeouts) per
+ host (or IP) queue. Once this value is reached, any remaining entries from this
+ queue are purged, effectively stopping the fetching from this host/IP. The default
+ value of -1 deactivates this limit.
+ </description>
+</property>
+
<!-- indexer properties -->
<property>
@@ -703,129 +768,6 @@
</description>
</property>
-
-<!-- analysis properties -->
-
-<property>
- <name>analysis.common.terms.file</name>
- <value>common-terms.utf8</value>
- <description>The name of a file containing a list of common terms
- that should be indexed in n-grams.</description>
-</property>
-
-<!-- searcher properties -->
-
-<property>
- <name>searcher.dir</name>
- <value>crawl</value>
- <description>
- Path to root of crawl. This directory is searched (in
- order) for either the file search-servers.txt, containing a list of
- distributed search servers, or the directory "index" containing
- merged indexes, or the directory "segments" containing segment
- indexes.
- </description>
-</property>
-
-<property>
- <name>searcher.filter.cache.size</name>
- <value>16</value>
- <description>
- Maximum number of filters to cache. Filters can accelerate certain
- field-based queries, like language, document format, etc. Each
- filter requires one bit of RAM per page. So, with a 10 million page
- index, a cache size of 16 consumes two bytes per page, or 20MB.
- </description>
-</property>
-
-<property>
- <name>searcher.filter.cache.threshold</name>
- <value>0.05</value>
- <description>
- Filters are cached when their term is matched by more than this
- fraction of pages. For example, with a threshold of 0.05, and 10
- million pages, the term must match more than 1/20, or 50,000 pages.
- So, if out of 10 million pages, 50% of pages are in English, and 2%
- are in Finnish, then, with a threshold of 0.05, searches for
- "lang:en" will use a cached filter, while searches for "lang:fi"
- will score all 20,000 finnish documents.
- </description>
-</property>
-
-<property>
- <name>searcher.hostgrouping.rawhits.factor</name>
- <value>2.0</value>
- <description>
- A factor that is used to determine the number of raw hits
- initially fetched, before host grouping is done.
- </description>
-</property>
-
-<property>
- <name>searcher.summary.context</name>
- <value>5</value>
- <description>
- The number of context terms to display preceding and following
- matching terms in a hit summary.
- </description>
-</property>
-
-<property>
- <name>searcher.summary.length</name>
- <value>20</value>
- <description>
- The total number of terms to display in a hit summary.
- </description>
-</property>
-
-<property>
- <name>searcher.max.hits</name>
- <value>-1</value>
- <description>If positive, search stops after this many hits are
- found. Setting this to small, positive values (e.g., 1000) can make
- searches much faster. With a sorted index, the quality of the hits
- suffers little.</description>
-</property>
-
-<property>
- <name>searcher.max.time.tick_count</name>
- <value>-1</value>
- <description>If positive value is defined here, limit search time for
- every request to this number of elapsed ticks (see the tick_length
- property below). The total maximum time for any search request will be
- then limited to tick_count * tick_length milliseconds. When search time
- is exceeded, partial results will be returned, and the total number of
- hits will be estimated.
- </description>
-</property>
-
-<property>
- <name>searcher.max.time.tick_length</name>
- <value>200</value>
- <description>The number of milliseconds between ticks. Larger values
- reduce the timer granularity (precision). Smaller values bring more
- overhead.
- </description>
-</property>
-
-<property>
- <name>searcher.num.handlers</name>
- <value>10</value>
- <description>The number of handlers for the distributed search server.
- </description>
-</property>
-
-<property>
- <name>searcher.max.hits.per.page</name>
- <value>1000</value>
- <description> The maximum number of hits to show per page. -1 if
- unlimited. If the number of hits requested by the user (via
- hitsPerPage parameter in the query string) is more than the value
- specified in this property, then this value is assumed as the number
- of hits per page.
- </description>
-</property>
-
<!-- URL normalizer properties -->
<property>
@@ -1049,137 +991,6 @@
</description>
</property>
-<!-- clustering extension properties -->
-
-<property>
- <name>extension.clustering.hits-to-cluster</name>
- <value>100</value>
- <description>Number of snippets retrieved for the clustering extension
- if clustering extension is available and user requested results
- to be clustered.</description>
-</property>
-
-<property>
- <name>extension.clustering.extension-name</name>
- <value></value>
- <description>Use the specified online clustering extension. If empty,
- the first available extension will be used. The "name" here refers to an 'id'
- attribute of the 'implementation' element in the plugin descriptor XML
- file.</description>
-</property>
-
-<!-- ontology extension properties -->
-
-<property>
- <name>extension.ontology.extension-name</name>
- <value></value>
- <description>Use the specified online ontology extension. If empty,
- the first available extension will be used. The "name" here refers to an 'id'
- attribute of the 'implementation' element in the plugin descriptor XML
- file.</description>
-</property>
-
-<property>
- <name>extension.ontology.urls</name>
- <value>
- </value>
- <description>Urls of owl files, separated by spaces, such as
- http://www.example.com/ontology/time.owl
- http://www.example.com/ontology/space.owl
- http://www.example.com/ontology/wine.owl
- Or
- file:/ontology/time.owl
- file:/ontology/space.owl
- file:/ontology/wine.owl
- You have to make sure each url is valid.
- By default, there is no owl file, so query refinement based on ontology
- is silently ignored.
- </description>
-</property>
-
-<!-- query-basic plugin properties -->
-
-<property>
- <name>query.url.boost</name>
- <value>4.0</value>
- <description> Used as a boost for url field in Lucene query.
- </description>
-</property>
-
-<property>
- <name>query.anchor.boost</name>
- <value>2.0</value>
- <description> Used as a boost for anchor field in Lucene query.
- </description>
-</property>
-
-<property>
- <name>query.title.boost</name>
- <value>1.5</value>
- <description> Used as a boost for title field in Lucene query.
- </description>
-</property>
-
-<property>
- <name>query.host.boost</name>
- <value>2.0</value>
- <description> Used as a boost for host field in Lucene query.
- </description>
-</property>
-
-<property>
- <name>query.phrase.boost</name>
- <value>1.0</value>
- <description> Used as a boost for phrase in Lucene query.
- Multiplied by boost for field phrase is matched in.
- </description>
-</property>
-
-<!--
-<property>
- <name>query.basic.description.boost</name>
- <value>1.0</value>
- <description> Declares a custom field and its boost to be added to the default fields of the Lucene query.
- </description>
-</property>
--->
-
-<!-- creative-commons plugin properties -->
-
-<property>
- <name>query.cc.boost</name>
- <value>0.0</value>
- <description> Used as a boost for cc field in Lucene query.
- </description>
-</property>
-
-<!-- query-more plugin properties -->
-
-<property>
- <name>query.type.boost</name>
- <value>0.0</value>
- <description> Used as a boost for type field in Lucene query.
- </description>
-</property>
-
-<!-- query-site plugin properties -->
-
-<property>
- <name>query.site.boost</name>
- <value>0.0</value>
- <description> Used as a boost for site field in Lucene query.
- </description>
-</property>
-
-<!-- microformats-reltag plugin properties -->
-
-<property>
- <name>query.tag.boost</name>
- <value>1.0</value>
- <description> Used as a boost for tag field in Lucene query.
- </description>
-</property>
-
<!-- language-identifier plugin properties -->
<property>
@@ -1214,13 +1025,6 @@
</description>
</property>
-<property>
- <name>query.lang.boost</name>
- <value>0.0</value>
- <description> Used as a boost for lang field in Lucene query.
- </description>
-</property>
-
<!-- Temporary Hadoop 0.17.x workaround. -->
<property>
@@ -1234,62 +1038,13 @@
</description>
</property>
-<!-- response writer properties -->
-
-<property>
- <name>search.response.default.type</name>
- <value>xml</value>
- <description>
- The default response type returned if none is specified.
- </description>
-</property>
-
-<property>
- <name>search.response.default.lang</name>
- <value>en</value>
- <description>
- The default response language if none is specified.
- </description>
-</property>
-
-<property>
- <name>search.response.default.numrows</name>
- <value>10</value>
- <description>
- The default number of rows to return if none is specified.
- </description>
-</property>
-
-<property>
- <name>search.response.default.dedupfield</name>
- <value>site</value>
- <description>
- The default dedup field if none is specified.
- </description>
-</property>
-
+<!-- solr index properties -->
<property>
- <name>search.response.default.numdupes</name>
- <value>1</value>
- <description>
- The default number of duplicates returned if none is specified.
- </description>
-</property>
-
-<property>
- <name>searcher.response.maxage</name>
- <value>86400</value>
- <description>
- The maxage of a response in seconds. Used in caching headers.
- </description>
-</property>
-
-<property>
- <name>searcher.response.prettyprint</name>
- <value>true</value>
+ <name>solrindex.mapping.file</name>
+ <value>solrindex-mapping.xml</value>
<description>
- Should the response output be pretty printed. Setting to true enables better
- debugging, false removes unneeded spaces and gives better throughput.
+ Defines the name of the file that will be used in the mapping of internal
+ nutch field names to solr index fields as specified in the target Solr schema.
</description>
</property>
@@ -1297,7 +1052,7 @@
<property>
<name>storage.data.store.class</name>
- <value>org.gora.hbase.store.HBaseStore</value>
+ <value>org.gora.sql.store.SqlStore</value>
<description>Default class for storing data</description>
</property>
diff --git a/conf/parse-plugins.xml b/conf/parse-plugins.xml
index 2cf6f0c92..fede1ee7b 100644
--- a/conf/parse-plugins.xml
+++ b/conf/parse-plugins.xml
@@ -22,126 +22,10 @@
<parse-plugins>
-<!--
- The following mimetype are now handled by the default parser (parse-tika).
- You can uncomment the associations below to override parse-tika
- and chose which plugin should be used for a given content type
-
- <mimeType name="application/msword">
- <plugin id="parse-msword" />
- </mimeType>
-
- <mimeType name="application/pdf">
- <plugin id="parse-pdf" />
- </mimeType>
-
- <mimeType name="application/postscript">
- <plugin id="parse-pdf" />
- </mimeType>
-
- <mimeType name="application/vnd.ms-excel">
- <plugin id="parse-msexcel" />
- </mimeType>
-
- <mimeType name="application/vnd.ms-powerpoint">
- <plugin id="parse-mspowerpoint" />
- </mimeType>
-
- <mimeType name="application/vnd.oasis.opendocument.text">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.oasis.opendocument.text-template">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.oasis.opendocument.text-master">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.oasis.opendocument.text-web">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.oasis.opendocument.presentation">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.oasis.opendocument.presentation-template">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.oasis.opendocument.spreadsheet">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.oasis.opendocument.spreadsheet-template">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.sun.xml.calc">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.sun.xml.calc.template">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.sun.xml.impress">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.sun.xml.impress.template">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.sun.xml.writer">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/vnd.sun.xml.writer.template">
- <plugin id="parse-oo" />
- </mimeType>
-
- <mimeType name="application/x-csh">
- <plugin id="parse-text" />
- </mimeType>
-
- <mimeType name="application/x-kword">
- <plugin id="parse-msword" />
- </mimeType>
-
- <mimeType name="application/x-kspread">
- <plugin id="parse-msexcel" />
- </mimeType>
-
- <mimeType name="text/html">
- <plugin id="parse-html" />
- </mimeType>
-
- <mimeType name="text/plain">
- <plugin id="parse-text" />
- </mimeType>
-
- <mimeType name="text/richtext">
- <plugin id="parse-tika" />
- </mimeType>
-
- <mimeType name="text/rtf">
- <plugin id="parse-tika" />
- </mimeType>
-
- <mimeType name="text/sgml">
- <plugin id="parse-html" />
- </mimeType>
-
- <mimeType name="text/tab-separated-values">
- <plugin id="parse-msexcel" />
- </mimeType>
--->
-
- <mimeType name="application/xhtml+xml">
- <plugin id="parse-html" />
+ <!-- by default if the mimeType is set to *, or
+ if it can't be determined, use parse-tika -->
+ <mimeType name="*">
+ <plugin id="parse-tika" />
</mimeType>
<mimeType name="application/rss+xml">
@@ -172,9 +56,9 @@
</mimeType>
<mimeType name="text/xml">
- <plugin id="parse-html" />
+ <plugin id="parse-tika" />
<plugin id="parse-rss" />
- <plugin id="feed" />
+ <plugin id="feed" />
</mimeType>
<!-- Types for parse-ext plugin: required for unit tests to pass. -->
@@ -190,30 +74,16 @@
<!-- alias mappings for parse-xxx names to the actual extension implementation
ids described in each plugin's plugin.xml file -->
<aliases>
- <alias name="parse-tika"
- extension-id="org.apache.nutch.parse.tika.Parser" />
+ <alias name="parse-tika"
+ extension-id="org.apache.nutch.parse.tika.TikaParser" />
<alias name="parse-ext" extension-id="ExtParser" />
- <alias name="parse-html"
- extension-id="org.apache.nutch.parse.html.HtmlParser" />
<alias name="parse-js" extension-id="JSParser" />
- <alias name="parse-msexcel"
- extension-id="org.apache.nutch.parse.msexcel.MSExcelParser" />
- <alias name="parse-mspowerpoint"
- extension-id="org.apache.nutch.parse.mspowerpoint.MSPowerPointParser" />
- <alias name="parse-msword"
- extension-id="org.apache.nutch.parse.msword.MSWordParser" />
- <alias name="parse-oo"
- extension-id="org.apache.nutch.parse.oo.OpenDocument.Text" />
- <alias name="parse-pdf"
- extension-id="org.apache.nutch.parse.pdf.PdfParser" />
<alias name="parse-rss"
extension-id="org.apache.nutch.parse.rss.RSSParser" />
<alias name="feed"
extension-id="org.apache.nutch.parse.feed.FeedParser" />
<alias name="parse-swf"
extension-id="org.apache.nutch.parse.swf.SWFParser" />
- <alias name="parse-text"
- extension-id="org.apache.nutch.parse.text.TextParser" />
<alias name="parse-zip"
extension-id="org.apache.nutch.parse.zip.ZipParser" />
</aliases>
diff --git a/default.properties b/default.properties
index 3e50290be..d4faad1ee 100644
--- a/default.properties
+++ b/default.properties
@@ -13,8 +13,7 @@ plugins.dir = ./src/plugin
build.dir = ./build
build.classes = ${build.dir}/classes
build.plugins = ${build.dir}/plugins
-build.docs = ${build.dir}/docs
-build.javadoc = ${build.docs}/api
+build.javadoc = ${build.dir}/docs/api
build.encoding = UTF-8
build.ivy.dir=${build.dir}/ivy
build.lib.dir=${build.dir}/lib
@@ -25,14 +24,12 @@ test.build.data = ${test.build.dir}/data
test.build.classes = ${test.build.dir}/classes
test.build.javadoc = ${test.build.dir}/docs/api
-javacc.home=/usr/java/javacc
-
# Proxy Host and Port to use for building JavaDoc
javadoc.proxy.host=-J-DproxyHost=
javadoc.proxy.port=-J-DproxyPort=
-javadoc.link.java=http://java.sun.com/j2se/1.4.2/docs/api/
-javadoc.link.lucene=http://jakarta.apache.org/lucene/docs/api/
-javadoc.link.hadoop=http://lucene.apache.org/hadoop/docs/api/
+javadoc.link.java=http://java.sun.com/javase/6/docs/api/
+javadoc.link.lucene=http://lucene.apache.org/java/2_9_1/api/all
+javadoc.link.hadoop=http://hadoop.apache.org/common/docs/r0.20.2/api/
javadoc.packages=org.apache.nutch.*
dist.dir=./dist
@@ -41,7 +38,11 @@ dist.version.dir=${dist.dir}/${final.name}
javac.debug=on
javac.optimize=on
javac.deprecation=off
-javac.version= 1.5
+javac.version= 1.6
+
+runtime.dir=./runtime
+runtime.deploy=${runtime.dir}/deploy
+runtime.local=${runtime.dir}/local
ivy.version=2.1.0
ivy.dir=${basedir}/ivy
@@ -62,8 +63,7 @@ ivy.shared.default.artifact.pattern=[organisation]/[module]/[revision]/[type]s/[
#
plugins.api=\
org.apache.nutch.protocol.http.api*:\
- org.apache.nutch.urlfilter.api*:\
- org.apache.nutch.parse.ms*
+ org.apache.nutch.urlfilter.api*
#
# Protocol Plugins
@@ -86,18 +86,17 @@ plugins.urlfilter=\
# Scoring Plugins
#
plugins.scoring=\
- org.apache.nutch.scoring.opic*:\
- org.apache.nutch.scoring.link*
+ org.apache.nutch.scoring.opic*
+
#
# Parse Plugins
#
plugins.parse=\
org.apache.nutch.parse.ext*:\
- org.apache.nutch.parse.html*:\
org.apache.nutch.parse.js:\
org.apache.nutch.parse.rss*:\
org.apache.nutch.parse.swf*:\
- org.apache.nutch.parse.tika*:\
+ org.apache.nutch.parse.tika:\
org.apache.nutch.parse.zip
#
diff --git a/ivy/ivy.xml b/ivy/ivy.xml
index 7d9673ca9..eb46e8099 100644
--- a/ivy/ivy.xml
+++ b/ivy/ivy.xml
@@ -1,84 +1,105 @@
<?xml version="1.0" ?>
-<!--
- 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.
--->
+<!-- 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. -->
<ivy-module version="1.0">
- <info organisation="org.apache.nutch" module="${ant.project.name}">
- <license name="Apache 2.0"/>
- <ivyauthor name="Apache Nutch Team" url="http://nutch.apache.org"/>
- <description>
- Apache Nutch
+ <info organisation="org.apache.nutch" module="${ant.project.name}">
+ <license name="Apache 2.0" />
+ <ivyauthor name="Apache Nutch Team" url="http://nutch.apache.org" />
+ <description>
+ Apache Nutch
</description>
- </info>
+ </info>
+
+ <configurations>
+ <include file="${basedir}/ivy/ivy-configurations.xml" />
+ </configurations>
+
+ <publications>
+ <!--get the artifact from our module name -->
+ <artifact conf="master" />
+ </publications>
+
+ <dependencies>
+ <dependency org="org.apache.solr" name="solr-solrj" rev="1.4.1"
+ conf="*->default" />
+ <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.5.11" conf="*->master" />
+
+ <dependency org="org.apache.hadoop" name="avro" rev="1.3.2"
+ conf="*->default">
+ <exclude org="ant" name="ant" />
+ </dependency>
+
+ <dependency org="commons-logging" name="commons-logging"
+ rev="1.0.4" conf="*->master" />
+ <dependency org="commons-logging" name="commons-logging-api"
+ rev="1.0.4" conf="*->master" />
+
+ <dependency org="commons-lang" name="commons-lang" rev="2.4"
+ conf="*->default" />
+ <dependency org="commons-collections" name="commons-collections"
+ rev="3.1" conf="*->default" />
+ <dependency org="commons-httpclient" name="commons-httpclient"
+ rev="3.1" conf="*->master" />
+ <dependency org="commons-codec" name="commons-codec" rev="1.3"
+ conf="*->default" />
+ <dependency org="commons-codec" name="commons-codec" rev="1.3"
+ conf="*->default" />
+
+ <dependency org="org.apache.hadoop" name="hadoop-core" rev="0.20.2"
+ conf="*->default">
+ <exclude org="hsqldb" name="hsqldb" />
+ <exclude org="net.sf.kosmosfs" name="kfs" />
+ <exclude org="net.java.dev.jets3t" name="jets3t" />
+ <exclude org="org.eclipse.jdt" name="core" />
+ <exclude org="org.mortbay.jetty" name="jsp-*" />
+ </dependency>
+
+ <dependency org="com.ibm.icu" name="icu4j" rev="4.0.1" />
+ <dependency org="org.apache.lucene" name="lucene-core" rev="3.0.2"/>
+ <dependency org="org.apache.lucene" name="lucene-misc" rev="3.0.2"/>
+ <dependency org="org.apache.tika" name="tika-core" rev="0.7" />
+
+ <dependency org="log4j" name="log4j" rev="1.2.15" conf="*->master" />
+
+ <dependency org="xerces" name="xercesImpl" rev="2.6.2" />
+ <dependency org="xerces" name="xmlParserAPIs" rev="2.6.2" />
+ <dependency org="oro" name="oro" rev="2.0.8" />
+
+ <dependency org="com.healthmarketscience.sqlbuilder" name="sqlbuilder" rev="2.0.6"
+ conf="*->default"/>
+
+ <!--Configuration: test -->
+
+ <!--artifacts needed for testing -->
+ <dependency org="junit" name="junit" rev="3.8.1" conf="test->default" />
+
+ <dependency org="org.apache.hadoop" name="hadoop-test" rev="0.20.2"
+ conf="test->default">
+ <exclude org="hsqldb" name="hsqldb" />
+ <exclude org="net.sf.kosmosfs" name="kfs" />
+ <exclude org="net.java.dev.jets3t" name="jets3t" />
+ <exclude org="org.eclipse.jdt" name="core" />
+ <exclude org="org.mortbay.jetty" name="jsp-*" />
+ </dependency>
+
+ <dependency org="org.mortbay.jetty" name="jetty" rev="6.1.22"
+ conf="test->default" />
+ <dependency org="org.mortbay.jetty" name="jetty-util" rev="6.1.22"
+ conf="test->default" />
+
+ <dependency org="org.hsqldb" name="hsqldb" rev="2.0.0" conf="test->default"/>
+ <dependency org="org.jdom" name="jdom" rev="1.1" conf="test->default"/>
+
+ </dependencies>
- <configurations>
- <include file="${basedir}/ivy/ivy-configurations.xml"/>
- </configurations>
-
- <publications>
- <!--get the artifact from our module name-->
- <artifact conf="master"/>
- </publications>
-
- <dependencies>
- <dependency org="org.apache.solr" name="solr-solrj" rev="${solrj.version}" conf="*->master"/>
- <dependency org="org.apache.solr" name="solr-common" rev="${solr-common.version}" conf="*->master"/>
-
- <dependency org="org.apache.hadoop" name="avro" rev="${avro.version}" conf="*->default">
- <exclude org="ant" name="ant"/>
- </dependency>
-
- <dependency org="commons-logging" name="commons-logging" rev="${commons-logging.version}" conf="*->master"/>
- <dependency org="commons-logging" name="commons-logging-api" rev="${commons-logging-api.version}" conf="*->master"/>
-
- <dependency org="commons-lang" name="commons-lang" rev="${commons-lang.version}" conf="*->default"/>
- <dependency org="commons-collections" name="commons-collections" rev="${commons-collections.version}" conf="*->default"/>
- <dependency org="commons-httpclient" name="commons-httpclient" rev="${commons-httpclient.version}" conf="*->master"/>
- <dependency org="commons-codec" name="commons-codec" rev="${commons-codec.version}" conf="*->default"/>
-
- <dependency org="org.apache.hadoop" name="hadoop-core" rev="${hadoop-core.version}" conf="*->default">
- <exclude org="hsqldb" name="hsqldb"/>
- <exclude org="net.sf.kosmosfs" name="kfs"/>
- <exclude org="net.java.dev.jets3t" name="jets3t"/>
- <exclude org="org.eclipse.jdt" name="core"/>
- <exclude org="org.mortbay.jetty" name="jsp-*"/>
- </dependency>
-
- <dependency org="com.ibm.icu" name="icu4j" rev="${icu4j.version}"/>
- <dependency org="org.apache.lucene" name="lucene-core" rev="${lucene-core.version}"/>
- <dependency org="org.apache.lucene" name="lucene-misc" rev="${lucene-misc.version}"/>
- <dependency org="org.apache.tika" name="tika-core" rev="${tika-core.version}"/>
-
- <dependency org="log4j" name="log4j" rev="${log4j.version}" conf="*->master"/>
-
- <dependency org="xerces" name="xercesImpl" rev="${xercesImpl.version}"/>
- <dependency org="xerces" name="xmlParserAPIs" rev="${xmlParserAPIs.version}"/>
- <dependency org="oro" name="oro" rev="2.0.8"/>
-
- <!--Configuration: test -->
-
- <!--artifacts needed for testing -->
- <dependency org="junit" name="junit" rev="${junit.version}" conf="test->default"/>
- <dependency org="org.apache.hadoop" name="hadoop-test" rev="${hadoop-core.version}" conf="test->default"/>
-
- <dependency org="org.mortbay.jetty" name="jetty" rev="6.1.7" conf="test->default"/>
- <dependency org="org.mortbay.jetty" name="jetty-util" rev="6.1.7" conf="test->default"/>
-
-</dependencies>
-
</ivy-module>
diff --git a/ivy/libraries.properties b/ivy/libraries.properties
deleted file mode 100644
index a60a6d9ae..000000000
--- a/ivy/libraries.properties
+++ /dev/null
@@ -1,40 +0,0 @@
-# Licensed 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.
-
-#This properties file lists the versions of the various artifacts used by Nutch and components.
-
-
-#These are the versions of our dependencies
-
-avro.version=1.3.2
-commons-logging.version=1.0.4
-commons-logging-api.version=1.0.4
-commons-collections.version=3.1
-commons-httpclient.version=3.0.1
-commons-lang.version=2.4
-commons-cli.version=1.2
-commons-codec.version=1.3
-
-log4j.version=1.2.15
-solr-common.version=1.3.0
-solrj.version=1.3.0
-junit.version=3.8.1
-
-hadoop-core.version=0.20.2
-icu4j.version=4.0.1
-lucene-core.version=2.4.0
-lucene-misc.version=2.4.0
-tika-core.version=0.7
-xmlParserAPIs.version=2.6.2
-xercesImpl.version=2.6.2
-oro.version=2.0.8
-
diff --git a/lib/gora-core-0.1.jar b/lib/gora-core-0.1.jar
index 029274cc9..78b812d40 100644
Binary files a/lib/gora-core-0.1.jar and b/lib/gora-core-0.1.jar differ
diff --git a/lib/gora-sql-0.1.jar b/lib/gora-sql-0.1.jar
index d412da0f4..bcd4acd0f 100644
Binary files a/lib/gora-sql-0.1.jar and b/lib/gora-sql-0.1.jar differ
diff --git a/lib/native/Linux-amd64-64/libhadoop.a b/lib/native/Linux-amd64-64/libhadoop.a
deleted file mode 100644
index 4da9df644..000000000
Binary files a/lib/native/Linux-amd64-64/libhadoop.a and /dev/null differ
diff --git a/lib/native/Linux-amd64-64/libhadoop.so b/lib/native/Linux-amd64-64/libhadoop.so
deleted file mode 100644
index 89d874447..000000000
Binary files a/lib/native/Linux-amd64-64/libhadoop.so and /dev/null differ
diff --git a/lib/native/Linux-amd64-64/libhadoop.so.1 b/lib/native/Linux-amd64-64/libhadoop.so.1
deleted file mode 100644
index 89d874447..000000000
Binary files a/lib/native/Linux-amd64-64/libhadoop.so.1 and /dev/null differ
diff --git a/lib/native/Linux-amd64-64/libhadoop.so.1.0.0 b/lib/native/Linux-amd64-64/libhadoop.so.1.0.0
deleted file mode 100644
index 89d874447..000000000
Binary files a/lib/native/Linux-amd64-64/libhadoop.so.1.0.0 and /dev/null differ
diff --git a/lib/native/Linux-i386-32/libhadoop.a b/lib/native/Linux-i386-32/libhadoop.a
deleted file mode 100644
index 911507898..000000000
Binary files a/lib/native/Linux-i386-32/libhadoop.a and /dev/null differ
diff --git a/lib/native/Linux-i386-32/libhadoop.so b/lib/native/Linux-i386-32/libhadoop.so
deleted file mode 100644
index 221bd657b..000000000
Binary files a/lib/native/Linux-i386-32/libhadoop.so and /dev/null differ
diff --git a/lib/native/Linux-i386-32/libhadoop.so.1 b/lib/native/Linux-i386-32/libhadoop.so.1
deleted file mode 100644
index 221bd657b..000000000
Binary files a/lib/native/Linux-i386-32/libhadoop.so.1 and /dev/null differ
diff --git a/lib/native/Linux-i386-32/libhadoop.so.1.0.0 b/lib/native/Linux-i386-32/libhadoop.so.1.0.0
deleted file mode 100644
index 221bd657b..000000000
Binary files a/lib/native/Linux-i386-32/libhadoop.so.1.0.0 and /dev/null differ
diff --git a/lib/native/README.txt b/lib/native/README.txt
new file mode 100644
index 000000000..a70e818c9
--- /dev/null
+++ b/lib/native/README.txt
@@ -0,0 +1,36 @@
+This is a placeholder to put Hadoop native libraries -it's a component
+that contains platform-specific native code that significantly speeds up
+data (de)compression. Since there are no maven artifacts for this component
+the build process can't automatically download it.
+
+These libraries are purely optional, and if they are missing Hadoop will
+use corresponding pure Java components. The impact of native compression
+becomes noticeable with larger datasets and weaker CPU-s - if you notice
+that the CPU is routinely saturated when a job is sorting or reducing,
+then using these libs may help.
+
+Installation instructions
+=========================
+You can obtain the necessary files from a distribution package of Hadoop,
+e.g. hadoop-0.20.2.tar.gz. Unpack this archive, and copy the content of
+lib/native here, so that the layout looks like this:
+
+<Nutch home>/lib/native/Linux-amd64-64/...
+<Nutch home>/lib/native/Linux-i386-32/...
+
+Local runtime
+-------------
+The build process will include these native libraries when preparing
+the /runtime/local environment for running in local mode.
+
+/runtime/local/bin/nutch knows how to use these libs - if they are
+found and correctly used you should see lines like this in your logs:
+
+Distributed runtime
+-------------------
+If you want to use this component in an existing Hadoop cluster (when using
+/runtime/deploy artifacts) you need to make sure these files are placed in
+Hadoop/lib/native directory on each node, and then restart the cluster. If
+you installed the cluster from a distribution package of Hadoop then these
+libraries should already be in the right place and you shouldn't need to do
+anything else.
diff --git a/site/about.html b/site/about.html
deleted file mode 100644
index 6e8da9735..000000000
--- a/site/about.html
+++ /dev/null
@@ -1,253 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>About Nutch</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Project</div>
-<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">About</div>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div>
-<div id="menu_1.2" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Resources</div>
-<div id="menu_1.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="about.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>About Nutch</h1>
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#Overview">Overview</a>
-</li>
-</ul>
-</div>
-
-
-<a name="N1000D"></a><a name="Overview"></a>
-<h2 class="h3">Overview</h2>
-<div class="section">
-<p>Nutch is open source web-search
- software. It builds on <a href="http://lucene.apache.org/java/">Lucene Java</a>,
- adding web-specifics, such as a crawler, a link-graph database,
- parsers for HTML and other document formats, etc.</p>
-<p>For more information about Nutch, please see the <a href="http://wiki.apache.org/nutch/">Nutch wiki.</a>
-</p>
-</div>
-
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/about.pdf b/site/about.pdf
deleted file mode 100644
index 82f3ed152..000000000
--- a/site/about.pdf
+++ /dev/null
@@ -1,183 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 358 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gaua8cVfBL&B=0aMEShm2$kgbA*_d"#9Ck?e,uP@0S?1lV]FZ$69?Ld"\]EJ\%DHIG/(FspR;G!N#Zr]\2t&;@F#)GBa`!e/;ZAV8IG;%hLjA0N^F(r;Pd;AGTMX7$K2Zje&5-,0!#ul.7+UmB7S::NH"r=WPFhC]s-m3g7c:P#R%p(#qd6["NK`N'7R@e;a!A>X'^ma44`O._YbYXj-og>@uT2p5[M$HeEhO*?lkir$5GihO,'JUkR<^BQ*$Tuni@eOWDkTt`X*j5&qVZ$]!VHE%mO@5Y<;PC,`+r]cBC]]at."Ea9u@iflB(6SJTu3Z/+M/D-QY(29d?-^O&bGIe(ABE,#7e`/]l-~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 559.666 157.316 547.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 9 0 R
-/H /I
->>
-endobj
-10 0 obj
-<< /Length 776 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gasam966RV&AI`dp6a(BMBqhEA(%@*B$t>%[6;SR@jW$t!VZ0C<uA/0@WslIBOuTF[+bC&\6V]L$t2]X!JW]ZJF/C_N:!3E+X3V1A.(W)#eG`ojo,2/Qb><S66EAh(F5'Xq]trROZiOa(m#n.OV#<gk80X5!CjsVp_MZZU)XFZ7-B/d+=7?,cX!#XS7L$WFhQ7hX.$UUWHRr#Y83*u`^_u\\ihI:]aPue[pF2GRJ?oLT561eh]EsH\Ng3PCD8!C@1-L;:e[du"H4NWi;h1kdLg573!FF=0'cH&l:PF3S4W@9lsGooiG8^26m0Y)7Jt9jKQB$neR"4^rEaK&mc]Z-Qn$::.XuS*4.R/Q,&M3e^3L[UW4-pqC-)A9Q$5gB/Q8DSV)C8Fs"')nAW[q>o6<%@Wg.>+LY+')B]JWdCZC9_aepMI]un!"BfFa-RFQ#\eQ"[Ug8_UOZuhe3F2<,I&KZQXIJI_s]FHTpJ[25fB:r:JkD:7PNutRT2Quj!Zrbl_Q^TSG-l1AN8("U;K^G3VRPt/Gi?nu!D1(+$($>q;AGAsB[fkY?!imk#]1?lrH3-.*LZ5.tY3L1%+[YPgW+9n(Ul7SP4"Y//i9mJsO:oN1:cOe%+,2)X&kP:48fOArUN/MW8ht*UHJIe=;$clD7WOajWcC7$URl+Ma8(`>.N.u^'0DRk_'*:=3>ndPe[n&Ca>\bKW,I`hPS7+qN.n<qNHW:s:8NF<4H<^VZ`Lbg4*E7I?tJS[UNY\Jg-3]ncB.pHIfX?SJaW~>
-endstream
-endobj
-11 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 10 0 R
-/Annots 12 0 R
->>
-endobj
-12 0 obj
-[
-13 0 R
-14 0 R
-]
-endobj
-13 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 356.604 629.666 416.244 617.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/java/)
-/S /URI >>
-/H /I
->>
-endobj
-14 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 330.96 595.266 387.624 583.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://wiki.apache.org/nutch/)
-/S /URI >>
-/H /I
->>
-endobj
-16 0 obj
-<<
- /Title (\376\377\0\61\0\40\0\117\0\166\0\145\0\162\0\166\0\151\0\145\0\167)
- /Parent 15 0 R
- /A 9 0 R
->> endobj
-17 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-18 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-19 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-20 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-21 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F7
-/BaseFont /Times-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 2
-/Kids [6 0 R 11 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- /Outlines 15 0 R
- /PageMode /UseOutlines
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 17 0 R /F5 18 0 R /F3 19 0 R /F2 20 0 R /F7 21 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-9 0 obj
-<<
-/S /GoTo
-/D [11 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-15 0 obj
-<<
- /First 16 0 R
- /Last 16 0 R
->> endobj
-xref
-0 22
-0000000000 65535 f
-0000002872 00000 n
-0000002937 00000 n
-0000003029 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000520 00000 n
-0000000640 00000 n
-0000000665 00000 n
-0000003152 00000 n
-0000000800 00000 n
-0000001668 00000 n
-0000001791 00000 n
-0000001825 00000 n
-0000002009 00000 n
-0000003215 00000 n
-0000002191 00000 n
-0000002316 00000 n
-0000002424 00000 n
-0000002534 00000 n
-0000002647 00000 n
-0000002763 00000 n
-trailer
-<<
-/Size 22
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-3266
-%%EOF
diff --git a/site/bot.html b/site/bot.html
deleted file mode 100644
index 7fd3bcff7..000000000
--- a/site/bot.html
+++ /dev/null
@@ -1,301 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Nutch robot</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Project</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_selected_1.2', 'skin/')" id="menu_selected_1.2Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Documentation</div>
-<div id="menu_selected_1.2" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">Robot </div>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Resources</div>
-<div id="menu_1.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="bot.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Nutch robot</h1>
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#Sysadmins%2Frobots.txt">Sysadmins/robots.txt</a>
-</li>
-<li>
-<a href="#Webmasters%2FRobots+META">Webmasters/Robots META</a>
-</li>
-<li>
-<a href="#Contact+us">Contact us</a>
-</li>
-</ul>
-</div>
-
-
-<p> If you're reading this, chances are you've seen a Nutch-based
-robot visiting your site while looking through your server logs. Our
-software obeys robots.txt files and robot META tags in HTML. These
-are the standard mechanisms for webmasters to tell web robots which
-portions of a site a robot is welcome to access. </p>
-
-
-<a name="N10010"></a><a name="Sysadmins%2Frobots.txt"></a>
-<h2 class="h3">Sysadmins/robots.txt</h2>
-<div class="section">
-<p>We're a software project, not a service, so please understand that
-a misbehaving crawler appearing with our Agent string is not run by
-us. Our software may be run by anyone. However, we'd still like to
-hear about any bad behavior. If possible, please include the name of
-the domain and some representative log entries. We can be reached at
-<a href="mailto:[email protected]">[email protected]</a>.</p>
-<p> Our software obeys the robots.txt exclusion standard, described at
-<a href="http://www.robotstxt.org/wc/exclusion.html#robotstxt">
-http://www.robotstxt.org/wc/exclusion.html#robotstxt</a>. Different
-installations of the Nutch software may specify different agent names,
-but all should respond to the agent name "Nutch". Thus to ban all
-Nutch-based crawlers from your site, place the following in your
-robots.txt file:</p>
-<blockquote>
-
-<pre>User-agent: Nutch<br>Disallow: /</pre>
-
-</blockquote>
-</div>
-
-
-
-<a name="N1002C"></a><a name="Webmasters%2FRobots+META"></a>
-<h2 class="h3">Webmasters/Robots META</h2>
-<div class="section">
-<p>If you do not have permission to edit the
-/robots.txt file on your server, you can still tell robots not to
-index your pages or follow your links. The standard mechanism for
-this is the robots META tag, as described at<a href="http://www.robotstxt.org/wc/meta-user.html">
-http://www.robotstxt.org/wc/meta-user.html</a>. </p>
-</div>
-
-
-
-<a name="N10039"></a><a name="Contact+us"></a>
-<h2 class="h3">Contact us</h2>
-<div class="section">
-<p>If your site has problems or questions about the Nutch crawler, please
-send an email to the <a href="mailto:[email protected]">Nutch agent
-mailing list</a>.</p>
-</div>
-
-
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/bot.pdf b/site/bot.pdf
deleted file mode 100644
index b7eab93eb..000000000
--- a/site/bot.pdf
+++ /dev/null
@@ -1,207 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 457 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-GauI34`A1k&;KrWMAsI[_]Nkl7]9^ne4OR0F_EjihuFB81cB4HpPfi>9i[$FfRn8=q=Qm`?R@6@c8`$2$)fU'DC?\1bD6464,(o'V$TGZN^.I?21F34@PrZT-:dH$gskrL%cAAW?)o9&*js8rKG6t&g'aj,^<o\@\>?\frHD+?<`dkBoE8!2Y"&e>Jq@GUHT`9nZX;SFp<`^[email protected][?(#+;\O$,KL>SP^=)0BB,oLaT;Ma";?I"ZR$.rhG_#$RH\%/cT0uKn!fOt)1WlEXVGJ(TO:&]i>"d1)1^Pj+VhmP0d0<BraS#bH7?hd=g[iOC&<V4\h>#uo48<a1=/o#u35bk$3*i"Rm;0GPG_%Dlf#YL<gJQXHFj![Z*fH$FREb0Zi^+hpe`<]&KV,l:hj'>uEp2aNnYIk0RB(`lAjE=g1(i7rCJtIWVgB=rC](sh`o]SLR7.Rk~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-10 0 R
-12 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 559.666 211.016 547.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 9 0 R
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 541.466 243.656 529.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 11 0 R
-/H /I
->>
-endobj
-12 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 523.266 161.0 511.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 13 0 R
-/H /I
->>
-endobj
-14 0 obj
-<< /Length 1683 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gat%$bAs+B']%)::sQpQQ.<bk`iI/k`C\$oGu@ro=Z"J]F9FGgDM7ZV\\KoSAjDO&$`akfTBDemd+eM2HP9MA95JBnf\"bpj&e5;F0(oAcbdIDU$Z(]de`jk:P\[email protected][`^NpI99?F';A2N>sEI+:!Y$OoE1oF?reF\:NgRY`6FB4?#kgeq<?Q5Qu<s_kX6bYu5oQ7b+MJFFP0JAQ.Y*#bCk62k*[Iui2;YP@Q+&ahG\=KHD7<?[SI5#red(']X7Af*``k16'>GE/^@1R+=T-F+Q-$b$>EAafiH@5Rn^IEe',J(pr`RN_*\7=eGpRcn#U$m'"fLd**NdI]J-n8)!-0nCC<J^c:#ZQYH,pcQ[8b@TMk\!p1`nU)')/W)FGA89Y(R81Jf("PZAh+G4ko+0tC99K+JJG.4flAQ!Kk]`ndDrT,M(H[hB$c>cLgB"ci=MK2g@4o(dB)Dog1#0r`]i`J?bo>naZjYI.hUDD6d+re?9(j_s%-fKRm/fL9a3;bLGfI6_>+mZbWC4]^U4dUYuILgYAfWn?'l:sZId_IZ;WH7_:DR'?pbl@f/[+p?#l47SDG,nRnDBMh-aR++RgW8T9?$nc)<I:[Tk%>)8goOA/0tfC%E[kKM`!-+HfA=:nHR['dZ9b'D;k#[!E8u,E"GKI,^`4n56P$3"33lAM5j0-HFS;nCn\Vk>4e34V<Z3JjE8^%-Q%r:InFl]RXaj'Mf&ESN0r"Pnm*&`_R=$(O85a*F_O*Cg^Mn6qKCF;&GJ=R!Qkh$'\S,W]ApUYS*f8r*",qg\qAiRaPrIa,HlU?A2?3VIW1B5,D6O)jGN-rLmn&#"YD0B8$V:>Qfa&LM%Ct[`)gBCh\g4Hg$Om@_Q(dW37(;WT;1MH2<YI*oUAiqTX3<[Oi@ZKB"T'D4>FhDFq"Sik+ILPCrW-E+%+]CEQhUMh7N9aZ8NAN:^:b0he7jEQXjiBN;C'+4,Z,1+m=i:PW_e]Fn`0nAqV71^2G>9\%#<<j@hAK$2,$JPsNcHI8)>KqTc\Ps(aI]Gi"IlG""3@oX[@q3_(98;!dT'QF[Q+^1)RX1@&?Zp!k?DJRtnc$AnBbIcAM5_B5mOhY9u%O:kJZP(6<_om3pFLq:>/)'*8mVSTE*+%-o5Beg>)O*)$ZgFA@\M\'E(&?gB&_VHt-pI\GiH*M((\f6m[En3o"#KJiG(o=7,mfbX#Y_87OCK0[.k'&Qoal,Y"Y-al0p\aM]KtnjKfY%GbP$7r1J,Holnp8CoA^samam&l!F(r=jEq*]/f)+2<T_?<-'KQg)a=>,I>Q.-[1]*MP(d)L0lbcZEUhk;\j4Yi/*l;UUIQ(kaY^\GTZ@!TGuDo!4-5h<4G<$o]"Jb"%oVJq;6/1,`]N2Hic1DPZ2)_6-5T("4APQcRT;Y5F'L(hoq8e:'qfqkR$qm3RFGGEN\_#l7*L46_@8hQ_a'+<\X>+Q9A$a_pK*>Q/S:-h<a04k=9&M+H>9g&`DD"_CO[.`+SMoC4t7Rs2ffQ3&OrI@rbS*.h#6?2O3I^-#4+KpfBuZ>2"r[^f9uLD^lK:Yf$9&9F)q":jC!4R;7qoPJAW_=)u0O2K9$ZKA/>GNlpKjZ@-X;]+!a)5HJ0J@\:HH,>h]addqSf:_f[U_Vt4OHFbV8&!l!lE4[m`*JHU`qmouJAlNoEn;sjPhQK=30~>
-endstream
-endobj
-15 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 14 0 R
->>
-endobj
-17 0 obj
-<<
- /Title (\376\377\0\61\0\40\0\123\0\171\0\163\0\141\0\144\0\155\0\151\0\156\0\163\0\57\0\162\0\157\0\142\0\157\0\164\0\163\0\56\0\164\0\170\0\164)
- /Parent 16 0 R
- /Next 18 0 R
- /A 9 0 R
->> endobj
-18 0 obj
-<<
- /Title (\376\377\0\62\0\40\0\127\0\145\0\142\0\155\0\141\0\163\0\164\0\145\0\162\0\163\0\57\0\122\0\157\0\142\0\157\0\164\0\163\0\40\0\115\0\105\0\124\0\101)
- /Parent 16 0 R
- /Prev 17 0 R
- /Next 19 0 R
- /A 11 0 R
->> endobj
-19 0 obj
-<<
- /Title (\376\377\0\63\0\40\0\103\0\157\0\156\0\164\0\141\0\143\0\164\0\40\0\165\0\163)
- /Parent 16 0 R
- /Prev 18 0 R
- /A 13 0 R
->> endobj
-20 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-21 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-22 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-23 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-24 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F7
-/BaseFont /Times-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 2
-/Kids [6 0 R 15 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- /Outlines 16 0 R
- /PageMode /UseOutlines
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 20 0 R /F5 21 0 R /F3 22 0 R /F2 23 0 R /F7 24 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-9 0 obj
-<<
-/S /GoTo
-/D [15 0 R /XYZ 85.0 598.2 null]
->>
-endobj
-11 0 obj
-<<
-/S /GoTo
-/D [15 0 R /XYZ 85.0 392.066 null]
->>
-endobj
-13 0 obj
-<<
-/S /GoTo
-/D [15 0 R /XYZ 85.0 313.332 null]
->>
-endobj
-16 0 obj
-<<
- /First 17 0 R
- /Last 19 0 R
->> endobj
-xref
-0 25
-0000000000 65535 f
-0000004221 00000 n
-0000004286 00000 n
-0000004378 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000619 00000 n
-0000000739 00000 n
-0000000778 00000 n
-0000004501 00000 n
-0000000913 00000 n
-0000004564 00000 n
-0000001050 00000 n
-0000004630 00000 n
-0000001185 00000 n
-0000002961 00000 n
-0000004696 00000 n
-0000003069 00000 n
-0000003278 00000 n
-0000003514 00000 n
-0000003665 00000 n
-0000003773 00000 n
-0000003883 00000 n
-0000003996 00000 n
-0000004112 00000 n
-trailer
-<<
-/Size 25
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-4747
-%%EOF
diff --git a/site/credits.html b/site/credits.html
deleted file mode 100644
index 6819054bd..000000000
--- a/site/credits.html
+++ /dev/null
@@ -1,340 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Nutch credits</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Project</div>
-<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">Credits</div>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div>
-<div id="menu_1.2" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Resources</div>
-<div id="menu_1.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="credits.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Nutch credits</h1>
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#Committers">Committers</a>
-</li>
-<li>
-<a href="#Friends">Friends</a>
-</li>
-<li>
-<a href="#Sponsors">Sponsors</a>
-</li>
-</ul>
-</div>
-
-
-<a name="N1000D"></a><a name="Committers"></a>
-<h2 class="h3">Committers</h2>
-<div class="section">
-<ul>
-
-<li>Andrzej Bialecki</li>
-
-<li>Mike Cafarella</li>
-
-<li>
-<a href="http://www.frutch.org/">J&eacute;r&ocirc;me Charron</a>
-</li>
-
-<li>
-<a href="http://www.nutch.org/blog/cutting.html">Doug Cutting</a>
-</li>
-
-<li>
-<a href="http://www.sematext.com/">Otis Gospodnetić</a>
-</li>
-
-<li>Dogacan G&uuml;ney</li>
-
-<li>Piotr Kosiorowski</li>
-
-<li>Dennis Kubes</li>
-
-<li>
-<a href="http://www-scf.usc.edu/~mattmann/">Chris A. Mattmann</a>
-</li>
-
-<li>
-<a href="http://people.apache.org/~siren">Sami Siren</a>
-</li>
-
-<li>John Xing</li>
-
-</ul>
-</div>
-
-
-<a name="N10042"></a><a name="Friends"></a>
-<h2 class="h3">Friends</h2>
-<div class="section">
-<ul>
-
-<li>Dan Fain (<a href="http://research.yahoo.com/">Yahoo! Research Labs</a>)</li>
-
-<li>
-<a href="http://www.fenwick.com/">Fenwick &amp; West LLP</a>
-</li>
-
-<li>Stefan Groschupf (<a href="http://www.media-style.com/">media style GmbH</a>)</li>
-
-<li>Brewster Kahle (<a href="http://www.archive.org/">Internet Archive</a>)</li>
-
-<li>Michele Kimpton (<a href="http://www.archive.org/">Internet Archive</a>)</li>
-
-<li>Joe Kraus (<a href="http://www.digitalconsumer.org/">Digital Consumer</a>)</li>
-
-<li>Brett Bullington</li>
-
-<li>Neil &amp; Danny Rimer (<a href="http://www.indexventures.com/">Index Ventures</a>)</li>
-
-<li>R.J. Pittman (<a href="http://www.groxis.com/">Groxis</a>)</li>
-
-<li>Rob Cresswell (<a href="http://malachiarts.com/">Malachiarts</a>)</li>
-
-</ul>
-</div>
-
-
-<a name="N1008C"></a><a name="Sponsors"></a>
-<h2 class="h3">Sponsors</h2>
-<div class="section">
-<ul>
-
-
-<li>
-<a href="http://research.yahoo.com/">Yahoo! Research Labs</a> has
- donated hardware and helped to fund development.</li>
-
-
-<li>
-<a href="http://www.archive.org/">The Internet Archive</a>
- hosts some Nutch work.</li>
-
-
-</ul>
-</div>
-
-
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/credits.pdf b/site/credits.pdf
deleted file mode 100644
index 7bdd63da0..000000000
--- a/site/credits.pdf
+++ /dev/null
@@ -1,421 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 422 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gaua::K)m"&B4*cMETC?C]:Q64^,lI4?2@X2t_\4>%Ur9+k?,;9.87W0D3n8J<t*/nq4TO:2X,G7"u+lSM5OD'*aqZ!uij&$U9tj$tVU-]n_sHl0-:W$uU`e%ngWiRAt9*%,O66%W2XKjS$cK'Hrh=a[-g446%p60;Z)ec_YKLBd5hDc@5Y1-G1LAbgaaqa490Fosd/f^:3ufj.,@g-=]iaeekV?6g9AV<*X%$'#d6^/i-#JX0+0oF`lWX/_#V=q\M1=A.sg4bT0]e&%:lmp&FYPm9ahN%b)"Mq%sc(`e6.%MBEkU^ebSa#3t80=o+qOoClZQ(Fl1.W14,03Pe$+SIbSU]5'</(Xi.0L^,4CbCe5I'?&_#-tBs![JMGbBP(h:D,n*c[MWl9m=H1%pQ7AIkrqgq!W<8[I.)L~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-10 0 R
-12 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 559.666 166.676 547.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 9 0 R
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 541.466 146.0 529.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 11 0 R
-/H /I
->>
-endobj
-12 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 523.266 154.004 511.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 13 0 R
-/H /I
->>
-endobj
-14 0 obj
-<< /Length 2451 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gat=-?#uMo'RekG6)QN,j<4X4IDDVKe8Cd99l3ZjVX=Q[b.BLBhuXiFrUmi*,VH<1=\i@__EI(`FER#:35&J-3KkLmIc0$E/-9at+C5'JL_g:M-<TJq:j=p'n#r(rJ*"A@>`ZXIRr>cM<N2^?jo+T&>V(?8=o8Z43rXNS`.lKsK^`(anX=FV;m0$Sh;[&*WTGKJTabq4PB&nG%HT1<]HqfD`^fK]+DM"GC][A;AauDhV\=BF-6%+--+,-R<^Q`J-rq1^/aI!E7A77`*g/j,2T[+;*_3p]F4O:C]]NLjH]*W>a3p$E[tVeq&1,Q9`X>&AoU`^21U3M3(8Y,Y"8+d:rLd/?E>rprgkLDtPtOH9;iBRt,/sV1!"^kLNh#W?Xc;Z=^0N*TO_9#QGEfj)K%-/N_]VP#g)tHj?tS>b1CVc1X8#u7>Ig^0>aenmP)fY)!'l;.LN!;sR5V8_qK>q?BssHf[1`%[p=)^/[j['-n/*i8nB@j8C=+O1V+OAsFe;<&/X[k+:G!Fa`7,=6%UB(je=+0Jk]pJuk0$Ful&W0JQcI.WTFP?fhc@jIP'*(4IN(nFWUC'4$+ASc0$'Hb0).HOX.nYPOI'ZfjA4lGoAq.OB7pr*@;,&dS]W^Y".".TVojXN,X0'^8CSME]roVq1U@mrm=&7Ume#n129mnp^<[\n!"Ai<OV7^V6PJ*$4n5)>Ta(oU;!=fZ7KED][iPuL2sG4B2QRR;R8h]pal\kC5TJ`i!B1dgG;M/ZcccB^2R[RqCf=sJoXH_<T-PK\n,\&QIE;N:-%H:i6IS9GRTL>\a#TIr0[=g'YE<]#JSS-7VY96Wr.ok]i=r\uB18i+V7Ss'SGHVU[Qb5/Q5TWMK3h(]EQes3?1^5Fb@aD(So.oH1',$NU^Vd0*s7V-7,/:Z[3MHCgm<C("j-Qr=m,Sk0&?Vek)H6``t6VuK#7H5GQPbI[@p.[Pq#d3goh`ULZ"V]:Xb:Hp^fcB(!R<F73]PiP<4t\GcOq?o]khE6Y22'f]RU%Dng'BBRjX"CeQL1A4N6S>FI]5@aA$IPhpn0<eW`2/dlc)_DpfE&42Ji@s(+[R;P?Ri"n#F"'!O_VKp/mC^:W\HgRJ*)iCHjY0+n`Fo^;UV,L@R/P-0YPe`DIbReP7Ok>^:5L1ee7)3\(au1D0)OB\]4nLeh+trE:]>o[ep'HMp0S"6f*#u`m_=1)$r+/?0fr%8)ZF4M9-8$qiO8pl&$RTRX&;'t5i!`R=2hX%*)iE^Beb>'hN'B_]>]Q9K$mCB;OKPjEB#qBR8FH<ImcT#TBgL.Y1X%WTY<=K?+bCYbdm?3_Q,4o=AA(i]nk\S*G)?IJnPSJACaqk81+WAU$53"q"%@1-FJ`H<8#K`Kbreb;?jHe0.q[!7dA<KB7>am6Gc+o6UEhb-kk2j:)X;T.C0<o[$Osp`HG<L*)*aqOa"!_3Q@U:!nGBQoda#"s>8B"Mf2l]$XQn0D%X<)b'213CgRMXW+^tAD'KI>J5,Sk/MC7!*i8W@$XK*%*p=Z.(>r-Vcj#&EO>rcOd"WY'T"@sLig2Y'taK-,a-qM[rFHonKAtmbo1ejl28\D7UmR'edeKrfRJNN6G'FB5XBB=$3rGK9B(0DX,]nR`dgV$@`-q)"pJ?'%5m-chO3$21JDh@l!4?0Y>ck3^lHrB4+UOCPg#tMPmHhVcMDK0f<-5e+UXW]j#7rG@QS-%sbeW.jF15ga\^<`,1S+C=C-df;1RW])_L(N8X,+O2I;PjoBEdq"j[4Bb`o8s'nn'=NZ0ZN-f]T05Hk/tG(2[H&)qDr>NDb0!qqU^G<'Zp4:7+dW)^0sm#,\V;7V0cjr1<?65,n5neQ]uX,I?i]`03tf*jceD7Ai2le5*K]0;mM5Y"Cq`!ofr]a8\.SR$.PQBW:iuM@:=M@O5j8t`m*m[rHa9?iqa7'0q\7-8L)l"5hKBnL"'aVDO%.'DiEo(P<G2<^@]i$qlmL01\/2B4k5s50%$Q"KEcg-JXBIlL(H]XQic*j4!D2]JL2)q4`D]("P7bS1u/um*'d>p)f%/qYmj-Z?$AUlBL1%XlNB'tb</EI[Hn+K8[3Y8$In>d)?+Q^H,QmfH2%'N%_oPR?e$KQgk$dJLFe)cW2K6.Q%P8Zo1k"RAhX>59N?JtHa@mEZ0l[Inp$=F$kNpLK[)_>J<edl@\!bXq#RkbMC5sS!-'*2##SYi&$'OlZ.b%8Sra-l^V8":$KYrhDc&QEg/WH3R`D>=psS7?oce?FP[7&Pe_$&g8ck",p<+RDZPcD%]pJJI>,Kj.]@j3h?P5n:o%&3krIkL#pRsD#!?h]F0FGL\q2oJ"5:7u3j.f.!$/5=L,M8k5bmiXYO9t>D%($\s6U-#QdabpH>@gbM8BONu7"[aH:N\^fLQb6,C?YISJ#LRlDar#mfYU4Fk*_:IRVLV?eD)?r#-0;hW[7M/pHR5ZLdq~>
-endstream
-endobj
-15 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 14 0 R
-/Annots 16 0 R
->>
-endobj
-16 0 obj
-[
-17 0 R
-18 0 R
-19 0 R
-20 0 R
-21 0 R
-22 0 R
-23 0 R
-24 0 R
-25 0 R
-26 0 R
-27 0 R
-28 0 R
-29 0 R
-30 0 R
-31 0 R
-32 0 R
-]
-endobj
-17 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 607.266 184.98 595.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.frutch.org/)
-/S /URI >>
-/H /I
->>
-endobj
-18 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 594.066 173.676 582.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.nutch.org/blog/cutting.html)
-/S /URI >>
-/H /I
->>
-endobj
-19 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 580.866 192.336 568.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.sematext.com/)
-/S /URI >>
-/H /I
->>
-endobj
-20 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 528.066 201.0 516.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www-scf.usc.edu/~mattmann/)
-/S /URI >>
-/H /I
->>
-endobj
-21 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 514.866 161.004 502.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://people.apache.org/~siren)
-/S /URI >>
-/H /I
->>
-endobj
-22 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 152.328 451.332 268.62 439.332 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://research.yahoo.com/)
-/S /URI >>
-/H /I
->>
-endobj
-23 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 438.132 213.66 426.132 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.fenwick.com/)
-/S /URI >>
-/H /I
->>
-endobj
-24 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 192.312 424.932 289.968 412.932 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.media-style.com/)
-/S /URI >>
-/H /I
->>
-endobj
-25 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 182.976 411.732 268.944 399.732 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.archive.org/)
-/S /URI >>
-/H /I
->>
-endobj
-26 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 192.996 398.532 278.964 386.532 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.archive.org/)
-/S /URI >>
-/H /I
->>
-endobj
-27 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 155.652 385.332 248.316 373.332 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.digitalconsumer.org/)
-/S /URI >>
-/H /I
->>
-endobj
-28 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 208.992 358.932 289.632 346.932 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.indexventures.com/)
-/S /URI >>
-/H /I
->>
-endobj
-29 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 174.012 345.732 206.676 333.732 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.groxis.com/)
-/S /URI >>
-/H /I
->>
-endobj
-30 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 185.328 332.532 241.98 320.532 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://malachiarts.com/)
-/S /URI >>
-/H /I
->>
-endobj
-31 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 282.198 217.296 270.198 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://research.yahoo.com/)
-/S /URI >>
-/H /I
->>
-endobj
-32 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 268.998 208.632 256.998 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.archive.org/)
-/S /URI >>
-/H /I
->>
-endobj
-34 0 obj
-<<
- /Title (\376\377\0\61\0\40\0\103\0\157\0\155\0\155\0\151\0\164\0\164\0\145\0\162\0\163)
- /Parent 33 0 R
- /Next 35 0 R
- /A 9 0 R
->> endobj
-35 0 obj
-<<
- /Title (\376\377\0\62\0\40\0\106\0\162\0\151\0\145\0\156\0\144\0\163)
- /Parent 33 0 R
- /Prev 34 0 R
- /Next 36 0 R
- /A 11 0 R
->> endobj
-36 0 obj
-<<
- /Title (\376\377\0\63\0\40\0\123\0\160\0\157\0\156\0\163\0\157\0\162\0\163)
- /Parent 33 0 R
- /Prev 35 0 R
- /A 13 0 R
->> endobj
-37 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-38 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-39 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-40 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-41 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F7
-/BaseFont /Times-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 2
-/Kids [6 0 R 15 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- /Outlines 33 0 R
- /PageMode /UseOutlines
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 37 0 R /F5 38 0 R /F3 39 0 R /F2 40 0 R /F7 41 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-9 0 obj
-<<
-/S /GoTo
-/D [15 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-11 0 obj
-<<
-/S /GoTo
-/D [15 0 R /XYZ 85.0 476.666 null]
->>
-endobj
-13 0 obj
-<<
-/S /GoTo
-/D [15 0 R /XYZ 85.0 307.532 null]
->>
-endobj
-33 0 obj
-<<
- /First 34 0 R
- /Last 36 0 R
->> endobj
-xref
-0 42
-0000000000 65535 f
-0000007810 00000 n
-0000007875 00000 n
-0000007967 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000584 00000 n
-0000000704 00000 n
-0000000743 00000 n
-0000008090 00000 n
-0000000878 00000 n
-0000008153 00000 n
-0000001013 00000 n
-0000008219 00000 n
-0000001150 00000 n
-0000003694 00000 n
-0000003817 00000 n
-0000003949 00000 n
-0000004122 00000 n
-0000004312 00000 n
-0000004488 00000 n
-0000004671 00000 n
-0000004854 00000 n
-0000005033 00000 n
-0000005207 00000 n
-0000005388 00000 n
-0000005565 00000 n
-0000005742 00000 n
-0000005927 00000 n
-0000006110 00000 n
-0000006286 00000 n
-0000006462 00000 n
-0000006640 00000 n
-0000008285 00000 n
-0000006815 00000 n
-0000006966 00000 n
-0000007114 00000 n
-0000007254 00000 n
-0000007362 00000 n
-0000007472 00000 n
-0000007585 00000 n
-0000007701 00000 n
-trailer
-<<
-/Size 42
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-8336
-%%EOF
diff --git a/site/doap.rdf b/site/doap.rdf
deleted file mode 100644
index a4c8a1d39..000000000
--- a/site/doap.rdf
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet type="text/xsl"?>
-<rdf:RDF xml:lang="en"
- xmlns="http://usefulinc.com/ns/doap#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:asfext="http://projects.apache.org/ns/asfext#"
- xmlns:foaf="http://xmlns.com/foaf/0.1/">
-<!--
- =======================================================================
-
- Copyright (c) 2006 The Apache Software Foundation.
- All rights reserved.
-
- =======================================================================
--->
- <Project rdf:about="http://lucene.apache.org/nutch/">
- <created>2006-02-28</created>
- <license rdf:resource="http://usefulinc.com/doap/licenses/asl20" />
- <name>Apache Nutch</name>
- <homepage rdf:resource="http://lucene.apache.org/nutch/" />
- <asfext:pmc rdf:resource="http://lucene.apache.org" />
- <shortdesc>Nutch is the open-source search engine.</shortdesc>
- <description>Nutch is open source web-search software. It builds
- on Lucene Java and Hadoop, adding web-specifics, such as a
- crawler, a link-graph database, parsers for HTML and other
- document formats, etc.
- </description>
- <bug-database rdf:resource="http://issues.apache.org/jira/browse/NUTCH" />
- <mailing-list rdf:resource="http://lucene.apache.org/nutch/mailing_lists.html" />
- <download-page rdf:resource="http://www.apache.org/dyn/closer.cgi/lucene/nutch/" />
- <programming-language>Java</programming-language>
- <category rdf:resource="http://projects.apache.org/category/web-framework" />
- <wiki rdf:resource="http://wiki.apache.org/nutch/"/>
- <release>
- <Version>
- <branch>branch-1.0</branch>
- <name>nutch-1.0</name>
- <created>2009-03-23</created>
- <revision>1.0</revision>
- </Version>
- </release>
- <release>
- <Version>
- <branch>branch-0.9</branch>
- <name>nutch-0.9</name>
- <created>2007-04-01</created>
- <revision>0.9</revision>
- </Version>
- </release>
- <release>
- <Version>
- <branch>branch-0.8</branch>
- <name>nutch-0.8.1</name>
- <created>2006-09-24</created>
- <revision>0.8.1</revision>
- </Version>
- </release>
- <release>
- <Version>
- <branch>branch-0.8</branch>
- <name>nutch-0.8</name>
- <created>2006-06-25</created>
- <revision>0.8</revision>
- </Version>
- </release>
- <release>
- <Version>
- <branch>branch-0.7</branch>
- <name>nutch-0.7.2</name>
- <created>2006-03-31</created>
- <revision>0.7.2</revision>
- </Version>
- </release>
- <repository>
- <SVNRepository>
- <location rdf:resource="http://svn.apache.org/repos/asf/lucene/nutch/"/>
- <browse rdf:resource="http://svn.apache.org/viewcvs.cgi/lucene/nutch/"/>
- </SVNRepository>
- </repository>
- <maintainer>
- <foaf:Person>
- <foaf:name>Apache Nutch Team</foaf:name>
- <foaf:mbox rdf:resource="mailto:[email protected]"/>
- </foaf:Person>
- </maintainer>
- </Project>
-</rdf:RDF>
diff --git a/site/i18n.html b/site/i18n.html
deleted file mode 100644
index eb7d1616d..000000000
--- a/site/i18n.html
+++ /dev/null
@@ -1,429 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>i18n</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Project</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_selected_1.2', 'skin/')" id="menu_selected_1.2Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Documentation</div>
-<div id="menu_selected_1.2" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">i18n</div>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Resources</div>
-<div id="menu_1.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="i18n.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>i18n</h1>
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#Getting+Started">Getting Started</a>
-</li>
-<li>
-<a href="#Page+Header">Page Header</a>
-</li>
-<li>
-<a href="#Static+Page+Content">Static Page Content</a>
-</li>
-<li>
-<a href="#Dynamic+Page+Content">Dynamic Page Content</a>
-</li>
-<li>
-<a href="#Generating+Static+Pages">Generating Static Pages</a>
-</li>
-<li>
-<a href="#Testing+Dynamic+Pages">Testing Dynamic Pages</a>
-</li>
-</ul>
-</div>
-
-
-<p>The Nutch search pages are easy to internationalize.</p>
-
-
-<p>For each language, there are three kinds things which must be
-translated:</p>
-
-
-<ol>
-
-
-<li>
-<b>page header</b>: This is a list of anchors included at the top of
-every page.</li>
-
-
-<li>
-<b>static pages</b>: These include the "about" page, the "search"
-page and the "help" page.</li>
-
-
-<li>
-<b>dynamic page text</b>: These are strings used when constructing
-search result pages.</li>
-
-
-</ol>
-
-
-<p>Each of the above is described in more detail below.</p>
-
-
-<a name="N10028"></a><a name="Getting+Started"></a>
-<h2 class="h3">Getting Started</h2>
-<div class="section">
-<p>The things to translate are:</p>
-<ol>
-
-<li>the page header</li>
-
-<li>the "about" page (<tt>src/web/pages/<i>lang</i>/about.xml</tt>)</li>
-
-<li>the "search" page (<tt>src/web/pages/<i>lang</i>/search.xml</tt>)</li>
-
-<li>the "help" page (<tt>src/web/pages/<i>lang</i>/help.xml</tt>)</li>
-
-<li>text for search results (<tt>src/web/locale/org/nutch/jsp/search_<i>lang</i>.properties</tt>)</li>
-
-</ol>
-<p>If you'd like to provide a translation, simply post translations of
-these five files to <a href="mailto:[email protected]">[email protected]</a>
-as an attachment.</p>
-</div>
-
-
-<a name="N10062"></a><a name="Page+Header"></a>
-<h2 class="h3">Page Header</h2>
-<div class="section">
-<p>The Nutch page header is included at the top of every page.</p>
-<p>The header is filed as
-<tt>src/web/include/<i>language</i>/header.xml</tt> where
-<i>language</i> is the <a href="http://ftp.ics.uci.edu/pub/ietf/http/related/iso639.txt">IS0639</a>
-language code.</p>
-<p>The format of the header file is:</p>
-<pre>
- &lt;header-menu&gt;
- &lt;item&gt; ... &lt;/item&gt;
- &lt;item&gt; ... &lt;/item&gt;
- &lt;/header-menu&gt;
-</pre>
-<p>Each item typically includes an HTML anchor, one for each of the
-top-level pages in the translation.</p>
-<p>For example, the header file for an English translation is filed
-as <a href="http://svn.apache.org/repos/asf/lucene/nutch/trunk/src/web/include/en/header.xml"><tt>src/web/include/en/header.xml</tt></a>.</p>
-</div>
-
-
-<a name="N1008C"></a><a name="Static+Page+Content"></a>
-<h2 class="h3">Static Page Content</h2>
-<div class="section">
-<p>Static pages compose most of the Nutch website, and are also used
-for project documentation. These are HTML generated from XML files by
-XSLT. This process is used to include a standard header and footer,
-and optionally a menu of sub-pages.</p>
-<p>Static page content is filed as
-<tt>src/web/pages/<i>language</i>/<i>page</i>.xml</tt> where
-<i>language</i> is the IS0639 language code, as above, and <i>page</i>
-determines the name of the page generated:
-<tt>docs/<i>page</i>.html</tt>.</p>
-<p>The format of a static page xml file is:</p>
-<pre>
- &lt;page&gt;
- &lt;title&gt; ... &lt;/title&gt;
- &lt;menu&gt;
- &lt;item&gt; ... &lt;/item&gt;
- &lt;item&gt; ... &lt;/item&gt;
- &lt;/menu&gt;
- &lt;body&gt; ... &lt;/body&gt;
- &lt;/page&gt;
-</pre>
-<tt>&lt;menu&gt;</tt>
-<p>Note that if you use an encoding other than UTF-8 (the default for
-XML data) then you need to declare that. Also, if you use HTML
-entities in your data, you'll need to declare these too. Look at
-existing translations for examples of this.</p>
-<p>For example, the English language "about" page is filed
-as <a href="http://svn.apache.org/repos/asf/lucene/nutch/trunk/src/web/pages/en/about.xml"><tt>src/web/pages/en/about.xml</tt></a>.</p>
-</div>
-
-
-<a name="N100C1"></a><a name="Dynamic+Page+Content"></a>
-<h2 class="h3">Dynamic Page Content</h2>
-<div class="section">
-<p>Java Server Pages (JSP) is used to generate Nutch search results, and
-a few other dynamic pages (cached content, score explanations, etc.).</p>
-<p>These use Java's <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html">Locale</a>
-mechanism for internationalization. For each page/language pair,
-there is a Java property file containing the translated text of that
-page.</p>
-<p>These property files are filed as
-<tt>src/web/locale/org/nutch/jsp/<i>page</i>_<i>language</i>.xml</tt>
-where <i>page</i> is the name of the JSP page in <a href="http://svn.apache.org/repos/asf/lucene/nutch/trunk/src/web/jsp/"><tt>src/web/jsp/</tt></a>
-and <i>language</i> is the IS0639 language code, as above.</p>
-<p>For example, text for the English language search results page is filed
-as <a href="http://svn.apache.org/repos/asf/lucene/nutch/trunk/src/web/locale/org/nutch/jsp/search_en.properties"><tt>src/web/locale/org/nutch/jsp/search_en.properties</tt></a>.
- This contains something like:</p>
-<pre>
- title = search results
- search = Search
- hits = Hits &lt;b&gt;{0}-{1}&lt;/b&gt; (out of {2} total matching documents):
- cached = cached
- explain = explain
- anchors = anchors
- next = Next
-</pre>
-<p>Each entry corresponds to a text fragment on the search results
-page. The "hits" entry uses Java's <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html">MessageFormat</a>.</p>
-<p>Note that property files must use the ISO 8859-1 encoding with
-unicode escapes. If you author them in a different encoding, please
-use Java's <tt>native2ascii</tt> tool to convert them to this
-encoding.</p>
-</div>
-
-
-<a name="N10100"></a><a name="Generating+Static+Pages"></a>
-<h2 class="h3">Generating Static Pages</h2>
-<div class="section">
-<p>To generate the static pages you must have <a href="http://java.sun.com/j2se/downloads.html">Java</a>, <a href="http://ant.apache.org/">Ant</a> and Nutch installed. To
- install Nutch, either download and unpack the latest <a href="http://lucene.apache.org/nutch/release/nightly/">release</a>, or check it
- out from <a href="version_control.html">Subversion</a>.</p>
-<p>Then give the command:</p>
-<pre>
- ant generate-docs
-</pre>
-<i>This documentation needs more detail. Could someone
-please submit a list of the actual steps required here?</i>
-<p>Once this is working, try adding directories and files to make your
-own translation of the header and a few of the static pages.</p>
-</div>
-
-
-<a name="N10125"></a><a name="Testing+Dynamic+Pages"></a>
-<h2 class="h3">Testing Dynamic Pages</h2>
-<div class="section">
-<p>To test the dynamic pages you must also have <a href="http://jakarta.apache.org/tomcat/">Tomcat</a> installed.</p>
-<p>An index is also required. You can collect your own by working
-through the <a href="http://lucene.apache.org/nutch/tutorial.html">tutorial</a>.
-Once you have an index, follow the steps outlined at the end of the
-tutorial for searching.</p>
-<i>This documentation needs more detail. Could someone
-please submit a list of the actual steps required here?</i>
-</div>
-
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/i18n.pdf b/site/i18n.pdf
deleted file mode 100644
index 18f171d23..000000000
--- a/site/i18n.pdf
+++ /dev/null
@@ -1,325 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 541 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gb!$Db>NsH'Sc?E`EBVWA+%.\<a3V0:>)TSCdZsF(+M_C^:agq"PXgZVDTp_KQG90k<MM!G<KA"3Pl=R*k&PgLLKEZ^ucgPg,[80@PWII$dXG_$.:!06M+YpI3<ZK-U@G.&LOQ/."9pL+^@lQ?Oa<:I@b)N<iI^?HiaTAjs-8IKRt?7=8@[<9n.GTiNDoSBt[9.D9\K/F0-3F-nTQ?@?s5HNgLh@T`+59+^3@AIWid/0jZoXhlD!qo#l#3m.(\R6m,a`Y^Uc9gMF3&cWg7K(?;Fb/g,mKJ-Di$^l;Sbc,=rDE4p2aBtXCW&t&7"@V:WeG>""WqZ2j;OQa`/]Vd5ZH$o,K+#HE+:'GHJb'nO6"FQ&q5FLlYGJ#/#FP2_`_cbqkqRZ@Ek5TPp?0&\cB23_o&F:WK!&)r[&J^BX8A$<gABuaZk_)euI4h%bM?nc".3N.le09jXh*,1!=5$\5]jXH=W$&320p\pVX]0)km,GQkca#rg`ORc\aZe.,BrERO:=s1-)J/<QYuRLg:UNG>qDW7YM_b~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-10 0 R
-12 0 R
-14 0 R
-16 0 R
-18 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 559.666 182.996 547.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 9 0 R
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 541.466 170.972 529.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 11 0 R
-/H /I
->>
-endobj
-12 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 523.266 204.668 511.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 13 0 R
-/H /I
->>
-endobj
-14 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 505.066 221.324 493.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 15 0 R
-/H /I
->>
-endobj
-16 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 486.866 224.648 474.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 17 0 R
-/H /I
->>
-endobj
-18 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 468.666 223.988 456.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 19 0 R
-/H /I
->>
-endobj
-20 0 obj
-<< /Length 1768 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gau0Dhf%7-&:X@\+lm2@OAM[#X!i_)7FHACL(3Z?JRo[/M71sWU*if5ZG1iY9+$_8'rqj4*oaNJdruo&^,tW9Eadi/(3PID/_:BNg+92a^`Trs#JLQJQ\:B;/U,d<QcgtmZ>SG_rc%[;/$c94)j](-hPV=D-o8!Q<gGYiaq@s-/h4^&.MW,jd^&Y7OXo`NC\c-ZP=LHo@(PAUG)RT/BshXU`\i(nQ=1mS.^?)n1;=Q(hV_b!C4klnD1S=eCE&tK'm<fZ<E#cHj_t!'loY&1\/lL[8/1fL;=_"T3*B"Ippf0.mQcFN>Wm5Qd[\j+e/-;FJ^EH'.:TBo;=HGH<+T9?@h2R?[Q2OY&u"iS%sW#9aptM%el.<njiDF40Q?*ui5hV1))u@6UfKBG;N2sQY`fnO_R`9>]G26o\*L$4?%%Z4@t+$KSQf._0><XH+HD7:YiM?f8Zn*ZQLa2gh2Q,8kh))dk"I;)7aub7Zjk<Ja"=?VQ1544\!_aue%/G`VCfdN#`USO7#mG5>>5uS&o(spOWJHC+Qth$ZFX.HquoF%j#HOuM6n\9+I)e$*CF@'jVgn=91\&rWr@e@+.1DX\JJs3,a>(AgZ@E:n0Fk-_kQln8Jm2JIp@Fi>qiCL=f]L`Mg%g(,'<]q9\d^^p1*p9UA^g*=r*W.])X<@$tbE'+:G`8VOa,Hps)%WLOAiKfchW,a/3Jg2*b:TQVF%(O)/ALe's[(aZaSc:V62Vl7C-b"?r2Y`H$6;KR$%8N&\F41P(:"3'C)f##JFi)hApGmL2e"@jX_g:9b$AbQ-n.>*,2NE3/TR@2>f]KY$5I=u)T!)nV9^PPqoBpGDn%@j1`<mo_4Lf"=DG8)U?bpk1KjRC>C'>q1bNbZq1;J4"lL>'aAl0RKKGeeG`EM46?B,6HSO+s+iVD@c'mTNNQ[M2EHiWf$79gJ,s'5F$**.RqiL#Wj7r.>eEB2b9ZA+^ji#<T:(mHVj47j!oTsI/L,nj@:aZV^h%%1$H1FU;B2_kSt?2_LMbV+*_Yd2G9[AHi;:NRL\6LM._MA)FBi"\bQelqWWX:LV_j8r5n6UL'l^mLUH9"C4UlGG=!r;7Kdj(LPS\gAiu\n_EeW:@fdodQVPcYi\ek(9fSHFD:VEdimAgbgWnUa'LDVkF;%6B]6mfg[R2qr"T<"pIf7RB[f4KBea:^Q!HA@aoV#"U73k%b$W'bQ9mq=]<<(##YFil0)5M>ddSC+ErOgMib3#RS&j`KV\c^u4n[S6K@GDDb)8\o'C<S<^G=XhIf'gFN.B)t$A`WNSdXoLJhGtT*+<iEL^tCS^#fDWm3.s"=F]P1[5:bJF#tYcLC1'C"Z?GceAc+]p"E]>h*N*mN_B^1E4IA-&;oiNgBHgphUYNrc%QZ,W[,Y(dEUcXg!9tK$PA>Prp].[f+(^'O"8ui/jT#\u?We^LB1F+Pkn%=LZW;8$+_0]j&G<'Y5YJ:ZTcpBqWqnAnok8YR+Y!2,s*:Re^f_!6A?;2D)q+7aL_Q`&A;F37AMnd*J4?P.!<$Vk_AS]3G!'Qc"fnO2O70^4@T`3JZ_Y7&';fJF2qg.B^2pEDpc)[af-f&WXb_;m5O$$9BO'[email protected]!k._]V7YOXG:hh-dKQ-(OK3B_][S.*\&k$8.pWZFm1)heEP*^oZ`BRSu,gddNF&I&$/mMV4F[]I/dFfS#oL]kJ7V+Z<YEVQ.>WfcM72p5:ZQ%YJk"DU"qYO]S/.h8a1\.=XrJ,liu.)me).m6uhrC`R,E^~>
-endstream
-endobj
-21 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 20 0 R
->>
-endobj
-22 0 obj
-<< /Length 2043 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gat=,lYkN9&HD15_W[=55XOcg\]>,b?.1]F]+4@]!V9,A&oD]T85GuN=HNQ2U`SYqVOXG1;Wu>[md[pHh<F<9npW=hGN)BLo'aJ,mN?-\7?RL4#hAOG)[.XYQ=P;!q0hgW0q"Sf;qI3`Mq,a[:-%m;4)IcJ*f?Iq\gXG**F0"'BR2d(opVA1[WkNRP]A)V'D_r;l/rf+8Z"obQDu^2h2n\*\uhF_R&t0"e;3=saS!QB%4T-jqOR<rMN(m9Hb-^(f]1:Td+e0VdZO*o)cN>j'>)unMI.<</0"1S7Kb.Jb/dDo?=:8C&mpW71N-P47S54&p<%-K(Eot@1ui<#3clU(**N"t+`dGX$i&9f0+0>tl<t7DKA\EbWPAM/ef-;)GBZS7PREZlq+7L>RC`4%3Zfa7r0a3%LHco7_!5aGHr^eZ6^\9ZN#s.C5'-J"HeH-N_q7K$cDE+`h2U;Q=?W,_>gUI5DP'f58<nYd><t9e4$Z%X0QdgLPk<o/ap!=rL"N$u)gAsG6=#-uR-A8#A<'Nq#5F@K09$cum=-\4:D5<4bll/0$J.;b7q,O-It%2%[UOfSa$uf.&`"=%e7FJEi+m3E*3,.`\/[I7C%4o(nWW,smGe8J08Yu%$42ETlBeBI-cY/h4<L$$;t[@8"KE_,[rP((4.9\EF8c8p*X%8RdRk@M(F<ZnNYO%EOW]fk>\nIp\4N$oZE*'12'&8m/j(kieA?R@c=s[H<$Yek;G`8fA(:6OAWX-!F/u<k3^)N&)d(NEOQdb];/9D:JG/<"X=THt^DWKRlRR."rI3K4`")@4W,EY<a]SO5j'_/IkTXop\\Qgi86h>K)CDrA#P_\PFE.*cAgR)?b_?_"p6AJSo!K5^Lfm/c$0@=LOs[36l4"G6Odf3[b'NOE__"^7d!9"\Zn]Pa#+Est:-b9ujY6)Cm8fsa9ae1`L_MG%X`+e5%gDL+R)>^W84>u1,uF"c:GJrq"\C$=d]+/+7Og8K>Kq+^s(`YUrlddJ0EfNKZi+._@To@*/Q)o1=X;3\&:t%S[Xj?0^*TVc)s]gi&27ZB*C1n5\]Fgp\K,CCbd,m.?8ek^6l'6YSEpSM;kX_n5V.0ogDMZr1T&T1p.r)5f]IN&L4el:9554UiaA,>HO]a+)dJg0UFaR]/Q)e3V!o%PK3n>P.DXquaPE\?1E4sK*]UdMI&m_oi%iaK\J8k4s*h7_=fh2R?#h!>>H>hh_GCJUftma'=DZor]9ItFjopkn*p.-2Ium1`#@EWa'R&Q2`W:4rm=Bc7O4m7/%(p-.!7"m\Q8TEu"<0QD$YNPEn"#6_HhTfaq4MA-*m*->`AV/YkBlY`$\AbVgEPY%,NO"`bNUVGS^njGo3a/J"Apb3?g1p??/!bR\C=KR2C8+km]Bo`DKol>a5.a#:qtb!Yq>KhdJV^75<QW(;2E(!SaVO^,[F7'6,8a@k$-+da;(Aq!;0laSL%SY`lAT"prZ.Z-fq(b'<p"d\9]lEJ?8.hr:E;dq4Jm`-3"@P.f%*UB$.T'QKPm$N?98A*j&O5>mWmO;+COZ$V:uV:L.Z)E+$>P!r0*6<:Mh*:o/DPd*/EH^h'e(NR>COo3,r7ljNY5=I9(P1:gZ2q?\=mCCW=11-U/-F/Jf8CZ=;&V%hpQk>3r/;`<B>9Q@RB1rO0LK+jofF$m/1UZ7.\3s+%(g/B0aqhMUU2hF!dVV"TG,85na;`XB]INn:a'KfqLE@(U:IR%'VS/faX[=$H'#2$25H\8L,OT\O2"&WL6/VCT&(-fq0Z2d6Ui-XdBo@Eoook"0Y]7A8E,f=P&c>bb:<R%s3rA!:VeIk6m9@@2dQj[t*Q4\?TKoB.RKZX<p0C(-FjJj4Q3q.FD6jA,Xl.GZklcm%be4gd5P5;cG3l?eO*-N`n1N'-V[-Bs<>&U"52Rg<.+/<=7&s5+9npsuIdj!.)M&-C?pnI22+e$TsQ,rmmh"IalI!\rCo`c,DV&-^Hnf0%*P4>C;buU*@d"LnR\EV"bp6Ti,ZV4/+h6@_M?'D&?%I1,J7qtN>OETFZZ,5;g~>
-endstream
-endobj
-23 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 22 0 R
->>
-endobj
-24 0 obj
-<< /Length 946 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gau`R968Q9&AJ$Ckh+0W@G-t6E+.HeRGe2U^+d>g[5Y@g[Znoi+o`VZ's3r.3cJI^8[Ng1If&M"]#hUoRJ5o"ZE`;2hTD`[M<!7f7_BgMV#cR4#'00\nnp5OjW,^"YRB.<o7o]Ir@fuJjE@jOOfT^50<u5O-+O?e2&DbI#<9hi8B=f[#[+gO,i;2ehHF:l$VTkq6s&WK>tEF[8CBda8C55h<MB!79kS$k,eMVb+H8(?P&=G)'PLRC1nZX46rd/EEN?[^E+5jd:_Ff$ef\.`4B\Bh(l`/"D0Ol:a8t7SFk*2i[<CSe[-9tr3`.+I#.DS^%?Fek!C8;'_s7EDr!^Pn7&)bm+(W(kfgt6RiUK\-LIuGjTY5[?"AokVe]ENaPoHPM5WW`ZSZo83]OmBI2rXjHg8dt18aRdX+Cn[u@Qj*\5=r]O0_#mQ_9>.NU&]TGV*KQ>pDY?`d.XH*4*`>7d*b9P'#L@V+lT\%Go2Tm@d8tdd$b-CDt['cfYGPa^nh"?b.0+T+HE'kk=[pG9%.<#E>08mA)<er]Qad"3s%cX6kSjk*`9Df7O`9ia]+H3['u3aiOXbqSd[/CBKY7fQM=D[5>N[#deI'F-j3m2n6@*<\["J@o;kp)8&[76&ggMWDH!-8eoZ<`M&Ke@X7h5HI;)LV0*kpJ.\9Ojb'Ioq;S+_]%Lm+BYVUDJ!S>N*oDi,rB<,Zg'uN=r[NKZu>3b=DY)t,lC!,U#lG)-dLCJ`]'cb7R8jXFkY5RAa&Wi5HQoc?WPQ`d5=D7_9UQLG1&iZ3W75,imIR4]3obO/(]PfCf\[AXdj]6)_L1D%PhD4?`]@VQcTrTFKa@1ct0n4M$cnn9;NZKC'F1R5h8UIs`<->7MHX1J\`9+OZ1FE@?+6.PIMU1rrjB2D_en-:K$J_UU(.6B?1q9\#pOhi:q(:ePY#/?iIK<7a7S<~>
-endstream
-endobj
-25 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 24 0 R
->>
-endobj
-27 0 obj
-<<
- /Title (\376\377\0\61\0\40\0\107\0\145\0\164\0\164\0\151\0\156\0\147\0\40\0\123\0\164\0\141\0\162\0\164\0\145\0\144)
- /Parent 26 0 R
- /Next 28 0 R
- /A 9 0 R
->> endobj
-28 0 obj
-<<
- /Title (\376\377\0\62\0\40\0\120\0\141\0\147\0\145\0\40\0\110\0\145\0\141\0\144\0\145\0\162)
- /Parent 26 0 R
- /Prev 27 0 R
- /Next 29 0 R
- /A 11 0 R
->> endobj
-29 0 obj
-<<
- /Title (\376\377\0\63\0\40\0\123\0\164\0\141\0\164\0\151\0\143\0\40\0\120\0\141\0\147\0\145\0\40\0\103\0\157\0\156\0\164\0\145\0\156\0\164)
- /Parent 26 0 R
- /Prev 28 0 R
- /Next 30 0 R
- /A 13 0 R
->> endobj
-30 0 obj
-<<
- /Title (\376\377\0\64\0\40\0\104\0\171\0\156\0\141\0\155\0\151\0\143\0\40\0\120\0\141\0\147\0\145\0\40\0\103\0\157\0\156\0\164\0\145\0\156\0\164)
- /Parent 26 0 R
- /Prev 29 0 R
- /Next 31 0 R
- /A 15 0 R
->> endobj
-31 0 obj
-<<
- /Title (\376\377\0\65\0\40\0\107\0\145\0\156\0\145\0\162\0\141\0\164\0\151\0\156\0\147\0\40\0\123\0\164\0\141\0\164\0\151\0\143\0\40\0\120\0\141\0\147\0\145\0\163)
- /Parent 26 0 R
- /Prev 30 0 R
- /Next 32 0 R
- /A 17 0 R
->> endobj
-32 0 obj
-<<
- /Title (\376\377\0\66\0\40\0\124\0\145\0\163\0\164\0\151\0\156\0\147\0\40\0\104\0\171\0\156\0\141\0\155\0\151\0\143\0\40\0\120\0\141\0\147\0\145\0\163)
- /Parent 26 0 R
- /Prev 31 0 R
- /A 19 0 R
->> endobj
-33 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-34 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-35 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-36 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-37 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F7
-/BaseFont /Times-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 4
-/Kids [6 0 R 21 0 R 23 0 R 25 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- /Outlines 26 0 R
- /PageMode /UseOutlines
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 33 0 R /F5 34 0 R /F3 35 0 R /F2 36 0 R /F7 37 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-9 0 obj
-<<
-/S /GoTo
-/D [21 0 R /XYZ 85.0 555.8 null]
->>
-endobj
-11 0 obj
-<<
-/S /GoTo
-/D [21 0 R /XYZ 85.0 403.066 null]
->>
-endobj
-13 0 obj
-<<
-/S /GoTo
-/D [21 0 R /XYZ 85.0 212.832 null]
->>
-endobj
-15 0 obj
-<<
-/S /GoTo
-/D [23 0 R /XYZ 85.0 494.4 null]
->>
-endobj
-17 0 obj
-<<
-/S /GoTo
-/D [23 0 R /XYZ 85.0 189.966 null]
->>
-endobj
-19 0 obj
-<<
-/S /GoTo
-/D [25 0 R /XYZ 85.0 576.4 null]
->>
-endobj
-26 0 obj
-<<
- /First 27 0 R
- /Last 32 0 R
->> endobj
-xref
-0 38
-0000000000 65535 f
-0000008869 00000 n
-0000008948 00000 n
-0000009040 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000703 00000 n
-0000000823 00000 n
-0000000883 00000 n
-0000009163 00000 n
-0000001018 00000 n
-0000009226 00000 n
-0000001155 00000 n
-0000009292 00000 n
-0000001292 00000 n
-0000009358 00000 n
-0000001429 00000 n
-0000009422 00000 n
-0000001566 00000 n
-0000009488 00000 n
-0000001703 00000 n
-0000003564 00000 n
-0000003672 00000 n
-0000005808 00000 n
-0000005916 00000 n
-0000006954 00000 n
-0000009552 00000 n
-0000007062 00000 n
-0000007242 00000 n
-0000007413 00000 n
-0000007631 00000 n
-0000007855 00000 n
-0000008097 00000 n
-0000008313 00000 n
-0000008421 00000 n
-0000008531 00000 n
-0000008644 00000 n
-0000008760 00000 n
-trailer
-<<
-/Size 38
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-9603
-%%EOF
diff --git a/site/images/built-with-forrest-button.png b/site/images/built-with-forrest-button.png
deleted file mode 100644
index 4a787abe4..000000000
Binary files a/site/images/built-with-forrest-button.png and /dev/null differ
diff --git a/site/images/favicon.ico b/site/images/favicon.ico
deleted file mode 100644
index e07ca51d6..000000000
Binary files a/site/images/favicon.ico and /dev/null differ
diff --git a/site/images/instruction_arrow.png b/site/images/instruction_arrow.png
deleted file mode 100644
index 0fbc72452..000000000
Binary files a/site/images/instruction_arrow.png and /dev/null differ
diff --git a/site/images/lucene_green_150.gif b/site/images/lucene_green_150.gif
deleted file mode 100644
index 494801776..000000000
Binary files a/site/images/lucene_green_150.gif and /dev/null differ
diff --git a/site/images/nutch-logo.gif b/site/images/nutch-logo.gif
deleted file mode 100644
index a2115e1f7..000000000
Binary files a/site/images/nutch-logo.gif and /dev/null differ
diff --git a/site/index.html b/site/index.html
deleted file mode 100644
index 11ffd6190..000000000
--- a/site/index.html
+++ /dev/null
@@ -1,412 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Welcome to Nutch!</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Project</div>
-<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
-<div class="menupage">
-<div class="menupagetitle">News</div>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div>
-<div id="menu_1.2" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Resources</div>
-<div id="menu_1.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit">
-<hr>
-<a href="http://forrest.apache.org/"><img border="0" title="Built with Apache Forrest" alt="Built with Apache Forrest - logo" src="images/built-with-forrest-button.png" style="width: 88px;height: 31px;"></a>
-</div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="index.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Welcome to Nutch!</h1>
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#News">News</a>
-<ul class="minitoc">
-<li>
-<a href="#23+March+2009+-+Apache+Nutch+1.0+Released">23 March 2009 - Apache Nutch 1.0 Released</a>
-</li>
-<li>
-<a href="#09+February+2009+-+Lucene+at+ApacheCon+Europe+2009+in%0A%09%09%09Amsterdam">09 February 2009 - Lucene at ApacheCon Europe 2009 in
- Amsterdam</a>
-</li>
-<li>
-<a href="#2+April+2007%3A+Nutch+0.9+Released">2 April 2007: Nutch 0.9 Released</a>
-</li>
-<li>
-<a href="#24+September+2006%3A+Nutch+0.8.1+Released">24 September 2006: Nutch 0.8.1 Released</a>
-</li>
-<li>
-<a href="#25+July+2006%3A+Nutch+0.8+Released">25 July 2006: Nutch 0.8 Released</a>
-</li>
-<li>
-<a href="#31+March+2006%3A+Nutch+0.7.2+Released">31 March 2006: Nutch 0.7.2 Released</a>
-</li>
-<li>
-<a href="#1+October+2005%3A+Nutch+0.7.1+Released">1 October 2005: Nutch 0.7.1 Released</a>
-</li>
-<li>
-<a href="#17+August+2005%3A+Nutch+0.7+Released">17 August 2005: Nutch 0.7 Released</a>
-</li>
-<li>
-<a href="#June+2005%3A+Nutch+graduates+from+Incubator">June 2005: Nutch graduates from Incubator</a>
-</li>
-<li>
-<a href="#January+2005%3A+Nutch+Joins+Apache+Incubator">January 2005: Nutch Joins Apache Incubator</a>
-</li>
-<li>
-<a href="#September+2004%3A+Creative+Commons+launches+Nutch-based+Search">September 2004: Creative Commons launches Nutch-based Search</a>
-</li>
-<li>
-<a href="#September+2004%3A+Oregon+State+University+switches+to+Nutch">September 2004: Oregon State University switches to Nutch</a>
-</li>
-</ul>
-</li>
-</ul>
-</div>
-
-
-<a name="N1000D"></a><a name="News"></a>
-<h2 class="h3">News</h2>
-<div class="section">
-<a name="N10013"></a><a name="23+March+2009+-+Apache+Nutch+1.0+Released"></a>
-<h3 class="h4">23 March 2009 - Apache Nutch 1.0 Released</h3>
-<p>The 1.0 release of Nutch is now available. This release includes several major feature improvements
- such as new indexing framework, new scoring framework, Apache Solr integration just to mention a few.
- See <a href="http://www.apache.org/dist/lucene/nutch/CHANGES-1.0.txt">
- list of changes</a> made in this version. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
-<a name="N10025"></a><a name="09+February+2009+-+Lucene+at+ApacheCon+Europe+2009+in%0A%09%09%09Amsterdam"></a>
-<h3 class="h4">09 February 2009 - Lucene at ApacheCon Europe 2009 in
- Amsterdam</h3>
-<p>
-
-<a href="http://www.eu.apachecon.com/c/aceu2009/" title="ApacheCon EU 2009">
- <img alt="ApacheCon EU 2009 Logo" class="float-right" src="http://www.eu.apachecon.com/page_attachments/0000/0115/125x125_basic.gif">
- </a>
-
- Lucene will be extremely well represented at
- <a href="http://www.eu.apachecon.com/c/aceu2009/">ApacheCon EU 2009</a>
- in Amsterdam, Netherlands this March 23-27, 2009:
- </p>
-<ul>
-
-<li>
-
-<a href="http://eu.apachecon.com/c/aceu2009/sessions/197">Lucene Boot Camp</a>
- - A two day training session, March 23 &amp; 24th</li>
-
-<li>
-<a href="http://eu.apachecon.com/c/aceu2009/sessions/201">Solr Boot Camp</a> - A one day training session, March 24th</li>
-
-<li>
-<a href="http://eu.apachecon.com/c/aceu2009/sessions/136">Introducing Apache Mahout</a> - Grant Ingersoll. March 25th @ 10:30</li>
-
-<li>
-<a href="http://eu.apachecon.com/c/aceu2009/sessions/137">Lucene/Solr Case Studies</a> - Erik Hatcher. March 25th @ 11:30</li>
-
-<li>
-<a href="http://eu.apachecon.com/c/aceu2009/sessions/138">Advanced Indexing Techniques with Apache Lucene</a> - Michael Busch. March 25th @ 14:00</li>
-
-<li>
-<a href="http://eu.apachecon.com/c/aceu2009/sessions/251">Apache Solr - A Case Study</a> - Uri Boness. March 26th @ 17:30</li>
-
-<li>
-<a href="http://eu.apachecon.com/c/aceu2009/sessions/250">Best of breed - httpd, forrest, solr and droids</a> - Thorsten Scherler. March 27th @ 17:30</li>
-
-<li>
-<a href="http://eu.apachecon.com/c/aceu2009/sessions/165">Apache Droids - an intelligent standalone robot framework</a> - Thorsten Scherler. March 26th @ 15:00</li>
-
-
-</ul>
-<a name="N10071"></a><a name="2+April+2007%3A+Nutch+0.9+Released"></a>
-<h3 class="h4">2 April 2007: Nutch 0.9 Released</h3>
-<p>The 0.9 release of Nutch is now available. This is the second release of Nutch
- based entirely on the underlying Hadoop platform. This release includes several critical
- bug fixes, as well as key speedups described in more detail at
- <a href="http://blog.foofactory.fi/2007/03/twice-speed-half-size.html">Sami Siren's blog</a>.
- See <a href="http://www.apache.org/dist/lucene/nutch/CHANGES-0.9.txt">
- list of changes</a> made in this version. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
-<a name="N10087"></a><a name="24+September+2006%3A+Nutch+0.8.1+Released"></a>
-<h3 class="h4">24 September 2006: Nutch 0.8.1 Released</h3>
-<p>The 0.8.1 release of Nutch is now available. This is a maintenance release to 0.8 branch fixing many serous bugs found in version 0.8.
- See <a href="http://www.apache.org/dist/lucene/nutch/CHANGES-0.8.1.txt">
- list of changes</a> made in this version. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
-<a name="N10099"></a><a name="25+July+2006%3A+Nutch+0.8+Released"></a>
-<h3 class="h4">25 July 2006: Nutch 0.8 Released</h3>
-<p>The 0.8 release of Nutch is now available. This is the first release of Nutch based on
- hadoop architecure. See <a href="http://svn.apache.org/viewvc/lucene/nutch/tags/release-0.8/CHANGES.txt?view=markup">
- CHANGES.txt</a> for list of changes made in this version. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
-<a name="N100AB"></a><a name="31+March+2006%3A+Nutch+0.7.2+Released"></a>
-<h3 class="h4">31 March 2006: Nutch 0.7.2 Released</h3>
-<p>The 0.7.2 release of Nutch is now available. This is a bug fix release for 0.7 branch. See
- <a href="http://svn.apache.org/viewcvs.cgi/lucene/nutch/branches/branch-0.7/CHANGES.txt?rev=390158">
- CHANGES.txt</a> for details. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
-<a name="N100BD"></a><a name="1+October+2005%3A+Nutch+0.7.1+Released"></a>
-<h3 class="h4">1 October 2005: Nutch 0.7.1 Released</h3>
-<p>The 0.7.1 release of Nutch is now available. This is a bug fix release. See
- <a href="http://svn.apache.org/viewcvs.cgi/lucene/nutch/branches/branch-0.7/CHANGES.txt?rev=292986">
- CHANGES.txt</a> for details. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
-<a name="N100CF"></a><a name="17+August+2005%3A+Nutch+0.7+Released"></a>
-<h3 class="h4">17 August 2005: Nutch 0.7 Released</h3>
-<p>This is the first Nutch release as an Apache Lucene sub-project. See
- <a href="http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/CHANGES.txt?rev=233150">
- CHANGES.txt</a> for details. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
-<a name="N100E1"></a><a name="June+2005%3A+Nutch+graduates+from+Incubator"></a>
-<h3 class="h4">June 2005: Nutch graduates from Incubator</h3>
-<p>Nutch has now graduated from the Apache incubator, and is now
- a Subproject of Lucene.</p>
-<a name="N100EB"></a><a name="January+2005%3A+Nutch+Joins+Apache+Incubator"></a>
-<h3 class="h4">January 2005: Nutch Joins Apache Incubator</h3>
-<p>Nutch is a two-year-old open source project, previously
- hosted at Sourceforge and backed by its own non-profit
- organization. The non-profit was founded in order to assign
- copyright, so that we could retain the right to change the
- license. We have now determined that the Apache license is the
- appropriate license for Nutch and no longer require the
- overhead of an independent non-profit organization. Nutch's
- board of directors and its developers were both polled and
- supported the move to the Apache foundation.</p>
-<a name="N100F5"></a><a name="September+2004%3A+Creative+Commons+launches+Nutch-based+Search"></a>
-<h3 class="h4">September 2004: Creative Commons launches Nutch-based Search</h3>
-<p>Creative Commons unveiled a beta version of its search
- engine, which scours the web for text, images, audio, and video
- free to re-use on certain terms a search refinement offered by
- no other company or organization.</p>
-<p>See the <a href="http://creativecommons.org/press-releases/entry/5064">Creative
- Commons Press Release</a> for more details.</p>
-<a name="N10106"></a><a name="September+2004%3A+Oregon+State+University+switches+to+Nutch"></a>
-<h3 class="h4">September 2004: Oregon State University switches to Nutch</h3>
-<p>Oregon State University is converting its searching
- infrastructure from Googletm to the open source project
- Nutch. The effort to replace the Googletm will realize
- significant cost savings for Oregon State University, while
- promoting both the Nutch Search Engine and transparency in
- search engine use and management.</p>
-<p>For more details see the announcement by OSU's <a href="http://osuosl.org/news_folder/nutch">Open Source
- Lab</a>.</p>
-</div>
-
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<div id="logos"></div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/index.pdf b/site/index.pdf
deleted file mode 100644
index 2aa4553d3..000000000
--- a/site/index.pdf
+++ /dev/null
@@ -1,909 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 1006 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gaua>9lldX&;KZQ($a%(7$Ro7UUS1*bgb)gdtUU.D%@K,+#AFP+d0s^Y65/83sji5,fL"pYZf<KTO"\FPKCj<%l#.>PcQ4Mracapee<psq,%j\B7Wj_(ITZ#d')\0O_:s2-g6eKOa/t;dbS9\3no$A6%;]d2k`T,+%#G8iuuIm$efhs]#^@SgqK6"Q+P@QWC<ee/fmNIm)PlSfmoT%5A]@WkfjUMS)M`k9&,j(c#!1T?UhUMh-N:6Z<lK*3;5PZ*eiW\l-.%mc_#KCo[d&R)eUom@V;7CgTt1SD8=b<^:,mI-I2B=EfjC3q)Wap>Y8Z;-Q%PlE_JMNC`!WNL[$P36Ii'H+$o'_SV\!+8bF7;R4R0hMd"5nGU`%rGb,Y8(2B6Q]e$;#s+"bk+[6HUe.M6U#sj%FQ)SW7V]u'2iX-hgI]F4S4:i,I!Q5\WTEF0a!s/DFGIh\1:5`R)e/jmJO%NrHpC4[#i4dg+?teg7UBl[VW0e*j!<.p=.J#U85D$baXprNX,5ru54p.'.(^:'>4n*<\<n^k(+_L2Y`(iV?A"np4@692R7Q:eYqE$jlR?iV2_Y\&[D3f9#iqNcrKS)#u%E!_q+fM1/\utZ;0]"*YCn=%:4:NqN5n/eYBgD]D?&Go`f.((WW>:bGZr42Kf&nfh(TE_c[@l1!h@](j$Xuq!.Hs85=VP8Z4>!0^*Bc7AEa&SXLMbbGZ=o,L.=pUg7r^6M2X"$8S(*/p)"@H(l2qYT,uVFi"_q\U-mZ`nVfc]u<!W1n(N%I-D7cpp",ND:,C%`,&*l/;[k!cO^CtJVK)rmdYE`5-Y4>&OXDm<_d]cU!<eIeZh/2gKO7j!k\$X..Pd\'*4Nn\J"*0Mtr\d9gk/^%aLdP,<ROJMS*%?G>PAcY+HN[n#3n"28d-'<i8iaq3^enpJ`<2?mgtf$uHDB<4o/G^Z=a!kh<jDb(<L4W+I3Vhi/lgiOV6%k:=]2QD?s'!^URA^q[]"kj'hdnhrr]Vc1dq~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-10 0 R
-12 0 R
-14 0 R
-16 0 R
-18 0 R
-20 0 R
-22 0 R
-24 0 R
-26 0 R
-28 0 R
-30 0 R
-32 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 559.666 137.324 547.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 9 0 R
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 541.466 340.112 529.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 11 0 R
-/H /I
->>
-endobj
-12 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 523.266 461.432 511.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 13 0 R
-/H /I
->>
-endobj
-14 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 505.066 284.816 493.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 15 0 R
-/H /I
->>
-endobj
-16 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 486.866 325.808 474.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 17 0 R
-/H /I
->>
-endobj
-18 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 468.666 285.488 456.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 19 0 R
-/H /I
->>
-endobj
-20 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 450.466 305.804 438.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 21 0 R
-/H /I
->>
-endobj
-22 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 432.266 307.136 420.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 23 0 R
-/H /I
->>
-endobj
-24 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 414.066 300.152 402.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 25 0 R
-/H /I
->>
-endobj
-26 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 395.866 332.456 383.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 27 0 R
-/H /I
->>
-endobj
-28 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 377.666 344.788 365.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 29 0 R
-/H /I
->>
-endobj
-30 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 359.466 450.448 347.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 31 0 R
-/H /I
->>
-endobj
-32 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 341.266 418.804 329.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 33 0 R
-/H /I
->>
-endobj
-34 0 obj
-<< /Length 3402 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-GauHO9lo+"&\[L30UH=Z8u;oFi.k+5]XHErnQ)sD<Xq\2e-r/3H8qE@3?%ePVninJ!>$)?RnEK3K[K6OJ;rt$#i49A^&F)t,S$U-mboW&*j8*G_*8Rn&[Wi=$OKIX].3U-G9m)MGX]/Zs6aN>DSH_]'AWP.p&=CEGHd6r+0Pl!(5H%U"EE>n'dk9f4:`>BggC$?l=T*f"/jF7BUG[M`.o3ZRt#o?R`u?@<tscfe#W<-gLIMA$)IFI@65)ko><4j08`eHh4oj8<.mu@8tn#gL;X0*D\%]f,`G;U%-\8&dHI'NIVu)+S@ZmerdC`ko0`%IPl'Hh0@7Afm;R9-VEA\gVl`3i>4El,@QueN`G]lT5<amt4#LK;-[i(1(=HouAT_hS-W,^fLXAnB,R#6G3+H)qn[1JA,2/om`49d">WYX5:#0']0KnF(hD^?;8U))OOW6FPfG%Uo+(i^R:2MpSFZ#U@(pVZ"^lrt3n)dXVltuoTnB8l1MP`4(3!C<2S1Y8NJ7`N:BVnu,!B;2tK6(unGi38k49fOK1C>&F^6HL$=UbjKL"Yt$=qHES'sL6;`,5jW<gb/>EZ$EC2.7dCo+Tdgb_1dDR&A&;Xg9J)]%IgR7kqtO*)'KTO1;-8<G]'sLqH;`Z`kERn0`'I$f@+b(Hn4NIRlW0$5ANBKpWCg".L]4qM?@XJH<tHCV3Go+QAqgOTWqU%$17>@n11?i"Y#`j\rU\BSLImp`T!o;pftsOYHcXg5#j"b+^[Za#gr<hk-A6-sX:WNP;OK:,L_"Ei'W_6d/QUUj9,>Q_?VImhmIFs$\pWH,)0NJno5'X4Nsn')YR584Y:cS=[[:XI0/SQ[9GBn'V/kY?_7HI#k/p/9'cA*#m9lm#sFD:S;4nAmla5(jL`W#*p;]%A$MKZGscr#T=;$:!:HZO(?Q6bVhk$6=b)WZcilP'J!*-q>IKLXTkjP9)V.96u#!*Z5d)F<LG&5K8WqA3$todGB!Xg0*N`Co3P(.p9Ws*9^I\T[WR9lZN+O>BR6ea_`'&k&B?hfBaA^(i;>O1g_C45aeCsTn:(?BeAR:kWl:Dk]^hB*ieRi)Y.4n+q$fNe+Rptd+VGG4ae:KZ5Ua%_'^<<1CY--UJUsgS6Cst'0RtVu,(6o5XB(`5[I9"<\DXY,lM1Gpou3C*jEtT>hJEW7!kY<X%pIN:MH4?TCQGgI^]07]j)0(gASE3Koe&nDO:AAnIRR,8>$gEu^s8j76A;bbDQj.+,CY*RrZENjO8IJmKUAg#aV:`I3NN64WDYsG%?[(j=TW^e?(k;e,..o9-!<E`U;"e\>N;7QLE1PtB+b]BGdV0ND_f<UW-Vu<**Zb5R3_$p\S(qakaHgEg@U#>`$h0Ub"2FcCl$#[TWfYk+&2s8=BQime$a@D=/I38Wl.PA"!e'NU_HsL?PKOlOk.jtY!-u$!B!VA<7Dl_kJsGZTR-GJm$4$JhX<h@kOB$Fr=p?D6uQ1Ld3g.Em-B'TRL1>9LAE/.3=;R)4rIL7p1n$^1e:K$G0+^#hAIN8@@kGULtO4);^D3F^T1U?CB.!Wm\d?6\,enKR,p!$<Mi=SD0O^"MjnY-`^Gm",JSW`P[ERN+,^Vp@e151,V,CJ64i=\SW[Sf?^hHCn0H:YbKHDRZE$%`mImM=D"JB:/Z\,p;FBm(?piuZ"GJ]>]/DUdS/<VPV"g-7'm'RN*F.$45Fi8"9o(&%'=pO#Cl/qaM9YHbrdGK^9="XP$(7F4L0u>2ll2dSbF4\FdX3ZI^:+UYFl;4\dS$ui`i)8?g'eXnCG)YfVV$fTWRHNdA>u3FL.G$p"G5MLO-iY(?>ZmDSIm2rKLNROR/1'*G(i0d/iT\OZ[503d^ItA4@kZ]mmH(ndH1-,*j^;'6=Hn6ME$WOofT[q0Ra$a?hNPU5,f[t/$L0p'-^$Fo5l@u]PF*4ft&c!!A&H>Oe9eQ2+JG#KdiX<c''U*2AXJ6;eojkk>#i.9l).P):hJt\hLC->uD-]Wo$-gH#/;lJ=thr1'V#`W[o%Eff;\T"'6+T09H^Z%=jhJHiM5$4"HOoh],)!o`@sSqR%bLKS"VcgNl1ci[UeQ25O9B5@`"gH]OXZfKV0XW0S6S,#G:_3B+hN:!I44V]jR9DkDb\'1/9r1?sU]:I@TMXOd2Ac%M?MgeVHJE"bR01IJR!=mKUU[GEjZ?(i1X6cek>/O_H/,(l0rC*uZUef?S):`5(FQc4tP6jKA^5/cfG3_)goF4YQTmBs9Xere"7kMoa)ANIbS2K2Nr1<"P]lDB+Ik#?/I=$pZjdFf)A#luK#S`7a*.rO1Rh?4$4aM6&"CD^$!/]q+-SIDdSio"!J3i]h%5^Y-V>l^Ue1[6iimfE(:Yf(BWQeTIilVQLqCCSSHam5hk"SrOL/,/aan+JsD6TKuLcT$!?N).JA;n4rt]J(_<eGKl(WB<WW;SN9GGs"H)d89DD+KY,Nlhpk!@ls\Sd#s@`a_V5p6);DYrM!V0MY&r>]n%ZZ`ZdX.I5ViY&Fp32,4kRuWQGoH/R0C8:"ZKG.cr%_+^u+:ZZX_XRj,!*ZIOD25)P!aQBHeP)3a5XY\>45%tRBZ'tuc!,11646+#:rcB#I^4:m[s:M<$2"opCW\u9m47@K_BhYC$m7$_)GT?Du19F-I?aVqp]9p&\'Rr9_`jRJ&-YKrQrJYc9Xb2s?TpR[*!itKIu-$aGN5lr+2/2;Og'jih58p&EIUF:QN]F>2cr>E(H8J[(,8tUHg<?;aJKIknfe`d$/[oc;j@L/]D`MPh8?`*"8QoB0Fl-P\iJ)/5\Xs1X7nnC#IK1!lIYQZ-GVL<:ZZ.RY#EIL+>M[lcAl@4+gGLMd^\\Tll-[[SUr$knB\JJVieZX'0M`1rRmD,UHIhCo)EdNJag?FF_5U`SA`tOAL"]]\t5?*QD^jbab4=1Sjjfu5+)FHcHN2Eh#<R7`6`[VBRRbOPd>p3'TW;:G1*_+nSlfM"F`JN>u%c)aX((#G8pku1N14Xo^-I^"G!U0K_rh<M`YL,C6,-gn>qJdrn.nnH:e]hcnB-Es'dMKfjae&1nB+2`H\JMA(84N#W[*?.!:AMI-SICWQkLkh$.VUY&N=D#<&?o5qA'[u:;It`m]'i#,OA6!beG[gDk_2RG82%#&J&sQ^/*2"N(_Z'e'__D%bfF'P9bZ'_.ca8O=LR6Z[)0k3k8Vf*aMJd,kr?f&Lm&s8Z3)omrVn>?S%@n*SB=3SKMI#rTH<tUpa:LBO(5-h2/C@T8g+NjQ\E;o<%&;VJ\8eB1)<,,QDL@,^DDql4%1A:dC>_V1Rc<g]+-GD6lsEQKoTYm=!,17jl<MY6'BBr%//;CbYM%]-1fU\mY?SnY<I^(g\RU*(Cb-T:d_\Zs2$!KAj\0j*d[5i4c<>t:LY9gF8'%\nNn)~>
-endstream
-endobj
-35 0 obj
-<</Type /XObject
-/Subtype /Image
-/Name /Im1
-/Length 10275
-/Width 125
-/Height 125
-/BitsPerComponent 8
-/ColorSpace /DeviceRGB
-/Filter [ /ASCII85Decode /FlateDecode ]
->>
-stream
-Gb"/lMj%,jS]Cbhh(n8s",m^Bfj,!fMH$TX+b5*AJ1-nhiT1PH>YqC.0iiu.)18Z?!YU.n.dm/K,bgGi;Q^NGh3]$6d0uJoKWH$^fTh\Hm"2pCmLSpD;tkJ0oF*l=+EQhtXjcI)Hg^?MJ'W35G5o:]qmi$Y<t3YCY2:(H]jG4Je"?X&kg>FqC9LZ'cG4nikg@74l/_uf"0hNJ)1XkKIf#Vl]Q`R9Dr7C7f]UJMFi!n:c#<FThBo5Fd^JKh.!bW8hlGe-HXD$3Fht_a6Q-n=q_K^]fs>;==iXaBV+0*Es7)-mVX]Vo37@4@@VRHu*\q&HrjfVap4km3#sO5)gdJ^f0RHiKGsu$,Osr9*rhWi5#RqguZ8X22^!mkl-&\s<[Ln#\amVFlS[AFeY<UT[esW&>GK]-[gaFb^^eV6mI+Z!IR[ZM=nFu+;4d\j:mZc4-l3R9rG<a&G/FB";hp.jBkarsX/8MHdH>A*1aX;7OG>)A;;`8gS^HF@W9=so+>Mjbu9e,E^HcG1!/Sa,;aMUN.A7p8hrEjF![e8eED<N`b\E^L#YN?.<onT_1B&WZuN8^cr'sPICP6:3Q=3gd2*6'Z[jruSf4cg"6b_)p-jI(T#B<$)iDm';hU^?(l*K*PeR>9I_o>W*.UC.s:!#GdeM)BG_%"jKQMHXEN6>0jeg3`S\Tfqr*ELAQUCtt[06un$PH,dgq*ik$IInCHBlaAc^58gHD!43U7d759mc'1Sqj26WZqm%0,GRKS^ku/q(Qn],PL(*ph$T@'!54RgC@<Bj`csgWj;(l.`KGAbojrAcg-YQaAH=Z<u\HSN(in5ICMG'iOH!S;dMg+'62V.:BSE4ofo$WHnnurpMSi--/#D_R&.#$Uf\/)$2%4qQaHN*Z[&MI\o5Q'K$%YFqQ[Eufk.(f%$lr6AY`)$ogd_j:8!k$6;%t`tEk_o!F?BY,tFcDbe>S5#/#7pA;R[IO:rp.<0Vm+X,nA$B(*5tm%K"N^E7faKgZ:#4]V$Ce"LL'd!SZEN36ND=SRBT@pPnrlrOXnUUTOo7IKWnrgncT)RrKn`@?Dq=bVI;t>\cVb2+eC6#lEMK]7)BFLo&MORO'TUT-E6g[d&B*YR8+->1Sb(-rBpg#(P9jegUOLu+tb`NV'e&3h$J38p+;amV$#XH31rU9@Ec>h^^6tRpADTR($1EbVI,e0n-XMs4RX$G<JOlZJoH)6)RLqC_+\HQ@F)Ph1n+E'GHHoI,`Q4`+'TQ9PMiP+!EtcM$[]lXJoI^k#2U=3S$]3^/>:F)A<>XtpI\(oCCs@ZRnQ';J0ol2Q;cFYKi(5Nn*e<^YT(&NWiRC6$@?*Z=^W-t+=cfi]U\e+J^Q1;C"-+]PRS`kYffj&MmDNH!eU^Aos?_j$e%G*HEH=An19fGf%<7^-gV_MW#^&[dP>kMHB_H8R-TX;$[Y@L$Cu?9/O6_//fJFhW#]Bn6HM4p=(WM0!?B(X(>+UT14`fHkT['DLbKj(-&#)=P@*?sLCV^m"n:Pl_@BUX&[82>YtSTP81@IDWQS@HdTDW`HSUK-LB=Z1;oWZ_VF#'5J\CE`-m4IsPJr7(<`DX]rDXI?Ed0<_:B=`8`@6<u:=ol*bF10o-oI5UDP,Me4,B^F/8I)4:8(L)U1jJ(K_4uZd+!-Q$R8I@7toZ)LHOV.e:=3il>IT>".,$*o;i8BeS#shTd1dN=Xg/FXeHOq*=qKf:e!r7RP3Mm#o%PV*0kaQ:%@XJ*m7Efki!/QJkgEXn]hes!BqET6R:[6bRTGR].E<O.uc$,^r>]NOF(t('$0E2_2YRq1'7p:Kjbh+/boql?6Es@FQ3Zt,W1!(lbXOm"5)EW<d/C14p&N[5hHZGaOX.dG8V!%=@=eRce]$+UQVJ^"F2C(k6kO"(i!02Zs,e"=;j6pQ2+O_:_I9h&l0OMaFE&n(/!EgVJ$f(;"-3!6]TX:FK5\ZK#B,m23l#\+'&r^6l]O4Ye+E_Hsnhc"-TCo7-U\b2#K4ocQ*&;NHUS-pidf8XN.^@#4)Ggb;''E^Q\cOqk_dMG0Di#WpGr@JW_YgD[uD43Ak50HM!s^B70p1)eYpf$hc._4C78X^=DQ;X6"O'>DQR/m/6S*>Lq,)ZC9g^LRoUu9F'p0mcBp=CuF[NeXN1UH>hs:Q[\FMgT!u<jnS=(^RO3<Zhn(f.aDA4HnBQaJ&@Y>*l-'kgb_qQ\GIuPBjjfHif7lXbAM[na_/B__`([ND1IKsg:m7(9<=.2!\\<l5`ThESb1^NohcWgmWulrS/&_A2sf2on,&LXjLJ?WOM1t(p[;l"4YFMRn\>c#J56\R=suNiLC7lV587am-*[@@Da,Y7:dR6/12Mb/qSg)8dq6h@)qKObSGeM@^!!gBWC0G9@:q1LhqsRin<$K#qd4i2$CqG2l]%n-6jSo-3n)n8oE,eZb)s"A.1U'#m4=@*BO$fM8=[A)c'D?'\\$!7OgKa9b.GFd2*ICs"$c`Em8Tjc:8&0'0=,E][ITs(<f*3T_k+U`+6g.\k>rc!U\=gE+@X:`U[O^>Cp:(8m<D#/Kk18$L/N)'5e93gd82'(N24>,.cdF[OT?e&Vk&8E5iH&%s$DQRS-Ai_/9Im4Sdh,?d)4t1DVYEI&QBO8W?Hq#_TiPiaEUeFHI_XS8]JOWT;>s!G0Vjq.Y+Upl!Q%-R/tO@5Q$a&F&qdG0nW.*<=IHZ1'on^4=7Z=juW`IE1edGbN5lWAY0.c\X(N5k.P)`bj,Mj$"CK!4Z*pU<3T!8@o#GKKfp/,f-m+r+.&lu6[^]qPV)A.p;&KmIOpJ>R:.Kd_h*h@fE9et8>5ZB!g4)>$9Sn19OtRU+"P8c4b+R"\.KBpN#LP@>EN6WJK<:!_3e\MSW;=#g8SFP8Rh'qOAQA''g"ZlV)C;+]@%=^5qA;5=!h`4rK8HI$*"3LW,peu_%G&&NF5!XUsal@Y[im"'ZTm%D-'&%nl",*&<"Dnnb=Q;g@k0?5<f`^:*F,kRAp"D3spp90JX-4cj=O.?SdYo$CqNkZ/-UnXq\1h1+Y+86R8*+D3`2@47"E;(@GK8G&1k8*/2p3#beW'6C@%)=P"H!iX/^?/)qTWS`+.Ib!N!Qid,:eT@"->$A[q6;Bc]nDC!EJQFau:;[[p[9&N_Vp-QkLd?E"[^+3A*eTAL9@*bjoW=XXlBS;"593>SSm7]5W$lBACOgtn[g.YJ<3ZtVk5o.AcPjD*.fe+">b#b9;>8[a`gt.flJR'(K$"Z5L5^^-D'R'8m<,`Bs5W-im?;<3uZAKn0!r&F$I%LQLh+2/!N`]R6Jcdr`EUJA:Eq+]%c>l#7bG)jqZS)#>^Xpn'l`3/DWE1>Y?5p^7.\MR/!u)qY"a6#`4&3X=YVhY6fU7DA)@C#pk.i`j-i;$nF.qY:bE<=B!<oq:D>PJ6UXqaFBAlCm21s<E4sUcWW,<8pkm8WV!(`*1j"+":@[U=bfO61-EOO;!\;IV(KtP#$N`VW@1+M[F>s^-TL(jL$Dnt5eK[dQ^$hj;E.sp<#D5Rm1mi=I=jf=#2hKf"cfCls_N2Ga`op)ZU(Ao2mr&A'92uuYnp4ES\::ti,SCt5`!Ir;T9fF_D>C5,,GMd`hZ0T\**q"[<dXDTs,pRKIq<&2/G&DHl5oA52hS*UPQWJ-BD/G9A3cR3p[>"/0/=lU/CRrVEMJ`*#?[t@hb2fimGs;/B@@r4[IArc0_]P&So]!Sj9BX$8kI`mB:><PNZS*u&]lW]p5'#Fus7UfKD!'@h(?m(oeQqGTQVR2of3uouE$>7^J^5o^"7=dJAmR?EnMd%f`F!'/nW0g@9Y5,u-'u>cc"rDIT6]\I(XDm1bfeUdAh5L+9jKSj"N1-l$e>WTlLOn_O&P9uP!LiV)ElNX8HBp>T>%uF?e?+!AHR+!&2WIm7uW#qc(U?UcbJD?iD\<g)ZSC,ks$1EQ,\A*B>BO_7ZMibDi]&/C`_=piBjmOG/0[%1G22"C3SkhDlG%5,lV^f0J?b'od?U%f%uF7!YJ7]3Cg76Ldo%#p7r]<(]IXfB9kK*$KM^+RIh#BLOh7o!9XTV`mWcr!foC8"n:NREROu=%+M"%0(8Oa2X&[hHeaWc*&i%7]L4pDbVK8!SrF\.SY/,SqGl)O[bpu\5uXq%q!0#o2>Qr3(VG%E`,@P])RO3T@>#)C?aO5KnrJB9Lc1;Bb.k@jq;8es&!$PIB7IM)>p:E-aN$C-NG"dD^R\&e0HSHSJ)fgZNt/`>GekB)#CKVre?k..Ib)H3n.2.Cb_IBME9Mj7i*U"bWFts]8aE9L7/4UuL1ui,0C#1ZV$FV3[ReSZ=G#W2j+rHN=6b=NnZMQP6Y:gZnAJmj8%m8ofq-2$?Z!Fe^ek+n?Q=+>MT-73%%f-sNjVOToC4?o>Tc,d(Tp&2J4=p8oI,g1_H%B9A@MS%IQ6irqnF=%a4mIUQU(?)`H_oB$1_qca!::C]mK6"^o%VdFq)$?UR:Lf)S^ajKsmtMcFHd@WJgjpn4,S0^WJdX:Fq/[E!j>[08P<W;AJBrm/CQ!<h0L9YpYq/[mfhV(Fh&1q=N,P2,"kE3"!GC*)u"9`Z\F3"57Dh'i@I/W38'b6:E?A*)hp*_h*oT-=Z7_b1`It::W.l@Ogl>3VcUP5c(*]SX?5YYTGuP&@C,ShQ^r35s&K`aCAP4/[>-N0K+BN"><5$2IA7N#5E\EWHIorcRATgN'EUu(0iY/'Q#=jJ-l"(3q,T6a8WhshBfOK)9=qu(B`.n(Igeb)b%OFi<s$Zr.=Tp/_u,O%8M9IResk1B@DlHm$65=K"UkgG*ZCEB_7rp<2;\Vd)05gd6g.V,Ph'j/SlFi*ofW,m*LAbYmnQ2?[=[IA"LNU=B%cRO[8tN(JiHd@;:`fd08<VpiAh2Y.J4$>egoe#U0:m"TH(+7!P-(]<L2f`DolJS"1u;n8J2%48Vt/;7&G[$^'V;6Z3+a/"7<)1X_l;^E530;pY@lnWsF3*uYujIqcJ2i<OjK%[I@A(M[&[n4?kaj?fct2[!TWHXV6M!Z7UmJ/>Eo?>tc+B2sia)/R'PDS_?A&b*5/RfIa$k(aNC]=0s2rgY8Khq1m2&3RuD)ZPNRS$4J;L48+(+]i/dOS4M+[6MW[f4f%*F6sJQ;ks9t>qd7m1,EU]'Y-JO;kPcJ@4EaWbf^8M$cYEB@giqkoa&bA#FQG^':5^,los_*j]$06:=.)EFN=@7_>gAI)j'[W()7d9KPWt@2Q'qOPR)/a0jr]HJ)hTVj%#[!IoQMW-Nq##kY(u-GC2gFi<$)s.kr5k>F9i!*@8oaqm<oG:-iq($cG7lJo3o=L$l`BOOoa_n0=PV'$50%60=*EIYU&n4!Wh!:jT:&9>t'uq8=m"5GA`e;L3ns:"YpNE't;R?i-&'?PS)!a?R]0Z?)$D,21%'+GSqn'qo>(rYI[Sqlj9VJ.^uKJWODaPh`OuK[:G#(&5ZPg0i2POGZ(13)R3hf5TV1`=4f`\a82coF($U>b)]EfF+OJN3TsE*@]Dg7XQEH=<:kJD1eE7B8p[jF)YFhN.TO\\:=o?Ro'aldt!oOK"qQ:[email protected]]HK\m`atec]E)T4So@QOM,R2&B?l<hZ!`k3[XUF9.hmPEA+JQVYO2>ds@++b`DV9n^]/kp:R,:!O*/U9k3^m,nU]%+UK)#]OR1Le>`LOd]E&kc70sag4!lU*-M$5a+7tqUi)[J7N#"J*EFtrtIiQnB'C401u2@=UA<<h28FE7"0T%2B7&_HQt!<U>2$g+t8E@ZoR;g<g5j,)UCi+RC$a[em-TE<V7NO)F^,TIT($co83)@jRe_BEN$*_[.')[32Hi+<'`1aZ\g;,RPN;Q*K4@6CaOUXBeFWgN,'\_!Q+0#tREVuNmr$QGJOQ^>uE6=[9"bmq/ufF_!364X^-jT-,A(>P=@&,m.B/SSPX/cZZ;Ip"DFK&?]f!$bm&^-JODQjBSaK6\la`fcf&><%=iFHjXAA1#<+B8V'!OtEEn<j;TTP?@%gf(j"X9/#^c*AtPpd2VPr&FH\n.=T)fDOSFs#Q[#P#0Tk\3Dt8\^p"AsNlEkDj&9t$<*V\%!?d#<=^.\#J-?p^:Hojh=FD/Z<G4`K+N_ER*]O==)usCK%UY=nGZ`HmZMDI&`S$I1?U-*T(o@j(koc9C^@m-FpJucGd<i&E@<6TESqT<%/.:KjHX[:%a]!CO.iR,S\#V?I>9cqZV^h`*%Z4L>KgTk]SBj@1U/<[2JdYU!"H6`#.KITmTA$hk-p#qB<M9X74%bAqKa"!p7R8<BMg(i/USJS\fT\O@f?@U9HMnAG>"E/IaE*ICZ>Z6)l<@\M?@\(<mTMZ<XniRj/b5Ap@+XP]'1f29Mh6!=B2P`3/*]Sq?bdSBJ&'YV+7fZ\MuQ!iD-F_PUEn-`"%RT58MAjP"?RfBKc$T]h48imaG-nF`^^&2:#&>cn5!o8qU!^CDd7>i<S2#1]]\_;q@`M/&D1IpZ%U1\4*U0i^\D1Cg/9M`Yn/Ep!"CnSKb;;s%\?d-GglH'T-LAp4r<E>8k&%K;b@tEOcNqDr:<2+;3iGu<J+6[k!V;85H"e\21kBB*d.ht0AmhLLcQ9LUG6i\Vl1Dk*go3eme_2NfA:\Omr)TWY_P[C+#f1Zqb+^!diH=<2'"VWoPT;B=_XXT`%p>H@uX6C5W^[47]Q"\NL2c*`F+N,'k=(l\:'AEnq*M(h&O=1;2`bjf3AC22dA-CjJd>SSVF)lq#'<PcoCrq9<>?_ZfBr-p"-7BO+7,5SW>lArbl%?F@e](33.HoELW!qngc(+n>.@Tr).q5;"A_6,9@6igqIH?9+G,pkTKA^#c*TG/fS+>r$VW6s4rd_;dkQCBPXe^$4W#18uaGI^Om+e?48lc8jC+#:1;32qlbHi?RpX/^6XP'\-"fpHb[>c9>HC;&.B@^(`5+s'819bE9.M.?h;*oh5+ru+2o+Z;1XrPIOD(_d"p<V0'FkAjC0!cRYm/_RMY"T3FYJMe.KN;PS%;@6QM:<C'kp]7Yh:aE9?AUcA*GF<(0G;kk&<.9jiuZ^^/RII+Z!>]G'HsC]=O/i01Q6-h0F0#T!1N!F0kbiq25RCtpj*N:%nM4)kt1UN:XL6(U__a)`3e(g;I/<X#]rTanRCg[Ke#$N.;8`<W2+AtU]`iI^D]?n`]7X>'`U5/IdJ<#T^D?'#ln#ZGg(^n)tsIe\9Fd$DqGnAVJe(aE?t_DG\c!2&IS*s(poS&^,_hoSc1`84iikihXTSFnTH\tD'XU,t8Tfc43h%mk9qp^t9$EW=4ElLS"*]KhW7-4$rFdm.`daAD,3%-Chb]Q`Sd#n)*o&;tG=CH^g"d=OAo<dq;eTLu6CRng0i2ZYQc,C\,/K.NBV<W3;0j*;YmE>)b/81<SD/%Q6s\_fN\/L?k6M+!S^,j<9/$>`*fkUFRAYV\'&N:F<eI^e]e.7]C<`EM9$LlbICR"DP>d1326m\(u[/'J]S\)7X_JrWZU%SSH@>5A<V:mQis$e,m9Z6A$e@M2@fCN's$k\FQ/Vgt*`pbn4Q`#HS]fsi2s@=C=HY>Y;W_](g#JE'Hf$t!Frm(c^HZm^jiqOo\:pcTbM*fkVmc6BDE4TF2\TDf=c3B+*I$*W0GZS;Jh!;CmG#*f)d[#[B:q82!6mgII^1FkQnaP]JaDeD91*B0I6)s@n,i5(%N;EatQm6C;)"^sV-aoLf,;?gOtQSJPf^Qdc04eG"k/_tgqY52rVZdJs.$-)+VG0[>S-FUK%N?64@-%3%OJ8O9C\UNcsHcG/YrrP>8`"d.4DDDS:8)!Kb">aE_l*:%f.=%k1h+sIn5(C^;,7W`iCE.i7imOg6-Z?;4(O"dd+MH_2o<rSl$Da<t>k*mL+N>l1SXtoOmPL/$h%Bm?q82F.[C7r`,Ai`S,fV+ROB0g;jKi>uil;Q)A8V<%s2bY\RI&A:`&AKb.lDfBr0ieq(Nl[>6qK45^=ZBKMb)>&[T7]]#h[BHOJ[</5_F!-T;8\9fU9qqAkMXG^?d0jJVZaf.a</*QH_kO:B$<7NCcKkjKN7IX0Q.7Fqarg178nd;r\anjjWt:GNb,K4%puaEYIlIOf*5c"_pKR62GM+hSse$_g)R#B0!r*])8hTnOG>eVsKE4!^I@d0@`tE17$7ZJMo5_-:(5##eQK9;`hm5GTq3d"mjkuXQAq[k9:bq0%8CIH2Wi-87'D]'cqoX_kp4t9Vm:Eq=V,0hUPdbQ!],Bhp3>km'$Ha8),VeRgEMRC^@iTec%`mNc3_*0kI[6iMIh'@AP17kY&[email protected]/YQG\,V3s/OG@V`b8'lVdD4b/i1WtUXMrnDF4A6o?h4dq_6eE7/g=f_aeDl,Y[Jd9Q&'.H$Kpfmp!27/**lCYPC+XM`"f"]^GH!I:?78sbYVY47BhDeur4<Io#jG,lYo"=PaRBJg&0GLP<b;WQS1;t&cIl1.nqJbqH42l_#BORZP+_kJ5QHsP+G!-16d3%uf&_s!,GSpUbXU+Dh\64[k!r>e\.M-7.7dm.Rj-oiKjs=dO]YB[HXu@jFJeLURlmWG!]f;Ud.-B=&pjgEAGBBq0(\@C;>%9[]0iYM`aCi022YQ$?T>PmFlBS.m.sQG%-[Kl'H,O`CEsu>'k)CqHb);c"BA@SHmHV;klUIQ#I*6I+;c*hIiX/'b62`1=4LpZ">sp&!**<2g"VpS[$G5Q!ILLS0g[#lNI5drlq/ot*b<'c@S^cbfNgp0"fb@ZqZ(e5$A-3Ub5NM(BgH?/Fr8>&qXl6p(@nD(+tcg2eaiUd'R!b'H\tZ"'R'*1U^;jj90f&!*FJ%Q]L3;(';oGQeH`=Jh[nCl!2ig)Dlu?W-rpJ6XH&@/pI`bE1tkK4B!rCa1To;l,s6l%WUNoRfE.kQCG^j-:^:T%8c:7"lrc+bS:SB#kqCtiGtXj!93cUX_[_B3?RBS[P&'+59fq[A44%-lNuEu+nhlCE0EpB;bCd2:p-L4hCZs"8>fbTA\/B5E!?1)%<@qfL00PZC_d;Pcs1JO]$;]/1[_7uY'X?LYq!HW%'FY/m;0RMYK^;QsoB4*qceJ>njC*O]h^\f:%r)=BJ_HH5!;6HG:RsNHqoJp:]HsW=0=>`SYbM_b]Of>'F4o'JRd@h>mlr7/:Qm,mBrgtX/Dg!Rb=@VB<-PH,l!R;N\K!VMe-&R\#J2oU`F0!^2cc%qb5YY+C@36]!f1]=i,N;XUm[aaBuL8\J*WMhmb[eRHAT1<Sp5Q7@I7Q#50FB.[k>9E;CSlSUj_Y$[@UhWZfsWal^>g3k>Vkb677!??=BDgi=^GrbKP7agK&0#2Wgf%B-a]p.:nb%.L**g-ZO\hV6gh2cM3W_]#2hkL!E@NO[q3IA@-Gj;rUcF<JN;*Spk<hdM=;?aepRE>oh,4oWPc7>>$D:>l'U8-7Dt<3KG@)N9LVY0`AT`aRc80460s2rh^t4XOj=@)#]ia2<47d37SC[i&/?@CPfu$WFLo5<fC"4K.tkiWZ"+%!`BL<d(F\\IDQ/Nb?&Td_cR_l8XiB:'Q_pL-#l!i8lJH($264&N"X!]0F/R@Iu:HTr/(VuE]2A3aShDM^Df5*/cip]4X46*m3\l<YX^<RPGs8P8KDU)&@Oog#_("\&h.4UXejKF+FD=H!abqdbV+7r/ft,@,W/PB7nQ.aDW7Q&fd8=f.G6+\>G+Y%"_%6V5,tW[]*d2!Q?,MF,*OjkF=,3e-Wf,4%oG0e**'_NN\t2T=B+Hc6=`R7l38%k6m4!kbJPs%^`g!c8qRH1!qm2ToG4F:<c(e2K^%t0p4[=Ppaff3-!<m_Si\&m,FN8hr,hUc*>kh>d1,Ckm&%Qk(DnuAdRmE"o1X0udqb8'4eJCliZ/-pFBr;`di;&\92/@]U.9<?Kefk;.mna%\nVY#"8;$U)8i^O5K%2B2_A39fNgJVS6JCi=Wc5V@5id9h_R-Dh,JCF891V2F'=]bA7lC&!:?7:FX"W(GVCp_T@T);C$6?!>#E.h0L5_14<rCg0s0*NI4V]AJeIZBRn;B:p+YMY-0sM8J1Po'`rbs2#@aTs;GoNai>SkJKKZP3D5J$soor4R]@%a';b^GnG2kbQ13F&aN9)eUZ/>G2V"qD].foa`:-WL7`o.F<92@&)Om/.aTJLDrfd-G,p'B_'PYLHua*P,V=M"r&ieQls5rI\$qZDAg9CTg6(s`ImiFp"V!p6f:hU6,OSHnk.<[S_:'cPR-3/E7p0<C)r7jHK`eU6@gWQq-TP]81Ib.%RCK*CLOXa4O_/u^\a]0lYMX7ZUHrD]g"YReNulI5je#@Kc=.^:):&(EeGrs)).RjJ~>
-endstream
-endobj
-36 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 34 0 R
-/Annots 37 0 R
->>
-endobj
-37 0 obj
-[
-38 0 R
-39 0 R
-40 0 R
-41 0 R
-42 0 R
-43 0 R
-44 0 R
-45 0 R
-46 0 R
-47 0 R
-48 0 R
-49 0 R
-50 0 R
-51 0 R
-52 0 R
-]
-endobj
-38 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 272.652 573.213 341.976 561.213 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.apache.org/dist/lucene/nutch/CHANGES-1.0.txt)
-/S /URI >>
-/H /I
->>
-endobj
-39 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 136.32 560.013 156.972 548.013 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/nutch/release/)
-/S /URI >>
-/H /I
->>
-endobj
-40 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 252.5 381.36 377.5 256.36 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.eu.apachecon.com/c/aceu2009/)
-/S /URI >>
-/H /I
->>
-endobj
-41 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 308.94 381.36 411.588 369.36 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.eu.apachecon.com/c/aceu2009/)
-/S /URI >>
-/H /I
->>
-endobj
-42 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 350.96 201.324 338.96 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://eu.apachecon.com/c/aceu2009/sessions/197)
-/S /URI >>
-/H /I
->>
-endobj
-43 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 337.76 186.012 325.76 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://eu.apachecon.com/c/aceu2009/sessions/201)
-/S /URI >>
-/H /I
->>
-endobj
-44 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 324.56 243.972 312.56 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://eu.apachecon.com/c/aceu2009/sessions/136)
-/S /URI >>
-/H /I
->>
-endobj
-45 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 311.36 231.324 299.36 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://eu.apachecon.com/c/aceu2009/sessions/137)
-/S /URI >>
-/H /I
->>
-endobj
-46 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 298.16 362.928 286.16 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://eu.apachecon.com/c/aceu2009/sessions/138)
-/S /URI >>
-/H /I
->>
-endobj
-47 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 271.76 243.648 259.76 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://eu.apachecon.com/c/aceu2009/sessions/251)
-/S /URI >>
-/H /I
->>
-endobj
-48 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 258.56 321.3 246.56 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://eu.apachecon.com/c/aceu2009/sessions/250)
-/S /URI >>
-/H /I
->>
-endobj
-49 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 245.36 391.608 233.36 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://eu.apachecon.com/c/aceu2009/sessions/165)
-/S /URI >>
-/H /I
->>
-endobj
-50 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 287.628 152.507 371.796 140.507 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://blog.foofactory.fi/2007/03/twice-speed-half-size.html)
-/S /URI >>
-/H /I
->>
-endobj
-51 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 398.124 152.507 467.448 140.507 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.apache.org/dist/lucene/nutch/CHANGES-0.9.txt)
-/S /URI >>
-/H /I
->>
-endobj
-52 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 246.624 139.307 267.276 127.307 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/nutch/release/)
-/S /URI >>
-/H /I
->>
-endobj
-53 0 obj
-<< /Length 2113 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gb!#]>Edeu'RnB30Mf&3?")Q:iN;LSKcMSgbtK40#:34[6Xlmt^"MN!F*s*uS@'$.%$^!ma3mTCrd?iU^7*C)b\*P[eD%db]34J6h[>#9rYMm<^6'rn1o-_nhI?3%m+$LWc.gU?*.BhRchqOM&-&S0mhMA2P^2l6pZjV-"F9FkYY*>"-G&Y-IE;)1Te6,Kmg%`n_tQU6gic&W7"fa$%sk-RVH;*WhnAjQO:PTZ=G4s-&X&gMK(LIl?0Id((m1!4k0LM_e,W\lcqTo#W9m1-IAc5[%Fi'`G&";2-qa(_?B2d#pUO?sRd3qL97=gUh"8hZ"q(f#[nZ5crqeG/cMr%XOJEhs21=g\RC8tXjt2H")Qc_rY)j`>pO05^QC,$$>$MsaB=0YCqs_n#ER%,u+tsX-!ClK?/gA0#BP2K0aHE6@o^;!42nSIsC]3Uq+BNbYQB,`Cd/dDs4g4O8Lm&8j+t.*D-+(\#4-?dZW=>?NQWgC$B@T*Z+Sl.mcU]$N1">SYFtU6Rh<:pp(/oqVAKqsBhlE"`Y*ckWM5G`JR*e:?/E<BY\s!$q*Be'r+H?Sj7Skm'!/Z<G<FD1I#`GF#AkM0-;NP0gD=p/I3r*G@Bbk.^mX#Adc"-1n=(:lgh=kck6U8@V]N<I_PS%?/\<_<7&1!..@G:[SUmkk(eqktmicE=He7!,oU?^U8Pqe'1!p5^M/hG-t[n3`hL"2C>Op3X?)Zq6I&Kh3k<_sD6;*-S5Am6_*Ph4g+I/iWZ*Q]DoU!eX*enWQt[6[<2c*fu:CFQ#?F8cb#N2A)H"p7Vq.Pc.^09H;H9$3>SKT\"K94^r)R[]]Z?RGt**he6^4Bd)o&k!Fr^^hD2"=QSVoeSgujY`SB^qhO'5t!mV\^[kc(IUr*"VH8'+U;/DB>BjN`h;k<'_-.^Xr[qcM:7c,'!U]S84FeZ%9-WK#_u?tbtP+J7YDnu$h&@3dm,fPd$C7Z/"K'&ZE*IRp%7@Y4C\KS1RA`33kEJs:($Q#"DXKT[.Z9)R"2N34/di](^Oh?/TYuZnWE">G0Rur:hU]?k\@1bUDLpd"De%,MpFhn9gXpi:FPG,Kb$<Z35)LE4(p"=e5I^t7IE9s,kGe'BLdcNV^E(;il[F!c+aQ;-5[%k":F+V;oO=lS=k]fZ06i`X2d8*-QXkQ#V@Z=&isFZgEK'+qQe`f\?WOLX=I[Y?Go/_YD!_S&4@R$=FEr2H"-K2A1O0de/u@dW$N5V6a>,i)J@%Kk$ZFUHC7P2%>BI$hDij_GQ`6.(tqP"Znmn2j+O)0SB$R:03FJTZt0Y&9NIJWGG&B7`)SKr<AtRmJHf>,!Ao&c7F88@6N>QP-:X]=/T<//#Kk&d<M=HgQ*7=CGGFWUA[,'WS!0c6@1gk%`#O(?-#<p7=NF&J28/=4<Eh>(\2\h:A+oWCFpaGO3V*<iC,K6DrBh$fW)tn')EoNa/7)(Zq3VMukpCu2`u.ijU$Ugh,i4t8c,RGgO@$IUpagS;//(&nKa`j/o>)-$SFQF&gcT=_Dp/^KQk(*t>@n5#h`dNC^VDZ%4u#K\?TPVBl]m/jl+*i?!jQS68E(G#q'Y%4GT>]ck/TkLLQ`^gBT=OES?uhaFb2-^DH*)&V=HDYfqEgaFo(U-8"O%H?/a'B57jkH9/^JJdMs<FZJ"6)AnK+o)@(pUO7Oq5l;;&B"jX"tl+)#/a5gJT*k&D(+W/nA9)r&,-L`8Vm8i';,)NN3LP<26,fP?#].unq"2Tcna=\<h3>9\cFb$8/C]_!:`1)nTisD*!V4+-/m0pqVikU$n&j$jpF0Ft3.h''J<\il[&<j%EH)NoWl:Rs7[V'Wg=)NGGs/oao*AM11I_]gCAg:aJ_/H1=oaY(,Y<H\@LkWqUs!Uc/]X/Z%0Y:VO6a4G/3#mn%qc/;+lj^*_>h3Q6U^GR':sG-=]Eh]f;n<Fs*20HJ&3fC8dd/JE@7]B3?qt>rXJ5Yn^WY<[KMVQ.KWa9fH]'H>IdQ?j%]Y:j/IEHa5H@Lc2+P)R^HO0@94B&LYjj61,]Os?#k$-BH1udT\>YQ,Pp,s_8_T0HkGiFL&8")h@Tec\bW7s<Me:i*kdK5h]5CI0cHo[+g>;-1klUT<e'sro~>
-endstream
-endobj
-54 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 53 0 R
-/Annots 55 0 R
->>
-endobj
-55 0 obj
-[
-56 0 R
-57 0 R
-58 0 R
-59 0 R
-60 0 R
-61 0 R
-62 0 R
-63 0 R
-64 0 R
-65 0 R
-]
-endobj
-56 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 333.648 617.547 402.972 605.547 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.apache.org/dist/lucene/nutch/CHANGES-0.8.1.txt)
-/S /URI >>
-/H /I
->>
-endobj
-57 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 183.636 604.347 204.288 592.347 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/nutch/release/)
-/S /URI >>
-/H /I
->>
-endobj
-58 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 169.632 539.894 241.968 527.894 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://svn.apache.org/viewvc/lucene/nutch/tags/release-0.8/CHANGES.txt?view=markup)
-/S /URI >>
-/H /I
->>
-endobj
-59 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 136.32 526.694 156.972 514.694 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/nutch/release/)
-/S /URI >>
-/H /I
->>
-endobj
-60 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 90.0 462.241 162.336 450.241 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://svn.apache.org/viewcvs.cgi/lucene/nutch/branches/branch-0.7/CHANGES.txt?rev=390158)
-/S /URI >>
-/H /I
->>
-endobj
-61 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 334.956 462.241 355.608 450.241 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/nutch/release/)
-/S /URI >>
-/H /I
->>
-endobj
-62 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 444.924 410.988 517.26 398.988 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://svn.apache.org/viewcvs.cgi/lucene/nutch/branches/branch-0.7/CHANGES.txt?rev=292986)
-/S /URI >>
-/H /I
->>
-endobj
-63 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 242.628 397.788 263.28 385.788 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/nutch/release/)
-/S /URI >>
-/H /I
->>
-endobj
-64 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 419.58 346.535 491.916 334.535 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/CHANGES.txt?rev=233150)
-/S /URI >>
-/H /I
->>
-endobj
-65 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 242.628 333.335 263.28 321.335 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/nutch/release/)
-/S /URI >>
-/H /I
->>
-endobj
-66 0 obj
-<< /Length 1363 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gat=+9on$e&A@sBYbrg5QPCt7X1+tI/l38<1j755gB0$+1(/qZ8_TZYYOC,pa%2L:[oi"66[<;#)pQUe^0<2GY87-h(b+G<BorQU+E8C=?P+;C5B%Cb/;T-_AA.bTnSYc0r\5QIKP.>p&Y/b#pgN7M.mf[Z:0'7JishcBdC0\I'^Eq@mC]INappp(#fI7+q3+h,l[qMO9jK]t%0r0RRs_9`afg&`D]dQYW=@-!D8(EkrZ\D8k9u&sbs^!BN)Q1*(e02K1W(q/c=mut1V5`am`e&^$KI;ea0kKZ3[j<9@toW5(d;_rK"@7OB.HnqUV7ZW?FCb:GBpO(aPUnJj;53FN2!Ro`Q#!3N.r?gY<I;t9@pIK%NWXh7Q8sXM#BVX<.jaEKqN\_`2\U+6dK^[Eb2r6keJ]Q]@dfm94_*(V5fgN\B]f6p_Bo<kDBg^0kFW&%"d1u4]+`49tcbQ'g9&$F"*+J!c?C'3h%E-2!_Fu8(BW6[@s)9531`;=YQGo/E>Y-dKFr5_P!N2OnL.;$"t5'jFo/2%GlEcP4\!o-j[Z9iq&QcGp%1FDJ-Zh0la,ukJ;u"7>N")mtq^$,<-'U)Z,mR]UeFF6oYW!?p(so3oIgh!WHJl]*``p)0/1DG-6`7'*ef*Al,p_i:a;ZmRL8+l+2Vbl^qh&NJkMWi9mcfM]-mDlVCTb)[!/kj,jlb%AKq*'`O^=jk6XH09;rr*eF)soP*iA1pHC:qm"#rc#cjQX1Apt#n8Z;kt679OZRY2K$K1YoZZiT5h6Du+:oRZ[4-%Za8!1oXE<=eF2,caW3AuZ=AMXi<m'%cKc/!)ZVtIZ^VObRF@7/5;N@8j[eX.hISstR\lUkF.\O?M4;Ou@Q-?/\o/_pK>ufN]<r*2EE4Rm;d(.*+OZ*bQ:*-(&DN;'E'$<;]UOfrP9om9,)V;'.`\2ZJMKFPtgUu!.;J3a/h'=?$4[UV4d,Zc%Dl%G8BpHe[6^h`(:%'UrP2rJhqh61&gb+V-4Y)gBjtuIE4FVG%?prUM6Q4FhrGlpI=<hG(b>7#%gXdUpW/(Hj4&'cj_C2-&ir-t^6JMf3jIV-H]#Zm'ED2hX:3md%SVG3&9p59tL`UC$MU4!1\Xpi'$%5JoDC<%)+XS?8.#/)s_:uRG]YDP\N1LJ5d8pR\iWPY/75!R.FGc1`r"sAFl??7EL%*T"$/D_IR!4Ig2bu7*c+$s==\W"[J4-kU&l9Vi[A<#nKM<%HO?$!%!Z][b"n2NsBTu77"tXHfMk_^s7"iW;kc-1o#Y[;>rRGZWC3@'M%7ZL%LZ)#MZ,$M+N<cLien=$`S]n@PC^U1d/NS01\_D3Bj5019QI!Q"[mRTEar]&e%^l0MNCRWn~>
-endstream
-endobj
-67 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 66 0 R
-/Annots 68 0 R
->>
-endobj
-68 0 obj
-[
-69 0 R
-70 0 R
-]
-endobj
-69 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 127.992 583.147 289.644 571.147 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://creativecommons.org/press-releases/entry/5064)
-/S /URI >>
-/H /I
->>
-endobj
-70 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 329.46 471.094 413.436 459.094 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://osuosl.org/news_folder/nutch)
-/S /URI >>
-/H /I
->>
-endobj
-72 0 obj
-<<
- /Title (\376\377\0\61\0\40\0\116\0\145\0\167\0\163)
- /Parent 71 0 R
- /First 73 0 R
- /Last 84 0 R
- /Count -12
- /A 9 0 R
->> endobj
-73 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\61\0\40\0\62\0\63\0\40\0\115\0\141\0\162\0\143\0\150\0\40\0\62\0\60\0\60\0\71\0\40\0\55\0\40\0\101\0\160\0\141\0\143\0\150\0\145\0\40\0\116\0\165\0\164\0\143\0\150\0\40\0\61\0\56\0\60\0\40\0\122\0\145\0\154\0\145\0\141\0\163\0\145\0\144)
- /Parent 72 0 R
- /Next 74 0 R
- /A 11 0 R
->> endobj
-74 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\62\0\40\0\60\0\71\0\40\0\106\0\145\0\142\0\162\0\165\0\141\0\162\0\171\0\40\0\62\0\60\0\60\0\71\0\40\0\55\0\40\0\114\0\165\0\143\0\145\0\156\0\145\0\40\0\141\0\164\0\40\0\101\0\160\0\141\0\143\0\150\0\145\0\103\0\157\0\156\0\40\0\105\0\165\0\162\0\157\0\160\0\145\0\40\0\62\0\60\0\60\0\71\0\40\0\151\0\156\0\40\0\101\0\155\0\163\0\164\0\145\0\162\0\144\0\141\0\155)
- /Parent 72 0 R
- /Prev 73 0 R
- /Next 75 0 R
- /A 13 0 R
->> endobj
-75 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\63\0\40\0\62\0\40\0\101\0\160\0\162\0\151\0\154\0\40\0\62\0\60\0\60\0\67\0\72\0\40\0\116\0\165\0\164\0\143\0\150\0\40\0\60\0\56\0\71\0\40\0\122\0\145\0\154\0\145\0\141\0\163\0\145\0\144)
- /Parent 72 0 R
- /Prev 74 0 R
- /Next 76 0 R
- /A 15 0 R
->> endobj
-76 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\64\0\40\0\62\0\64\0\40\0\123\0\145\0\160\0\164\0\145\0\155\0\142\0\145\0\162\0\40\0\62\0\60\0\60\0\66\0\72\0\40\0\116\0\165\0\164\0\143\0\150\0\40\0\60\0\56\0\70\0\56\0\61\0\40\0\122\0\145\0\154\0\145\0\141\0\163\0\145\0\144)
- /Parent 72 0 R
- /Prev 75 0 R
- /Next 77 0 R
- /A 17 0 R
->> endobj
-77 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\65\0\40\0\62\0\65\0\40\0\112\0\165\0\154\0\171\0\40\0\62\0\60\0\60\0\66\0\72\0\40\0\116\0\165\0\164\0\143\0\150\0\40\0\60\0\56\0\70\0\40\0\122\0\145\0\154\0\145\0\141\0\163\0\145\0\144)
- /Parent 72 0 R
- /Prev 76 0 R
- /Next 78 0 R
- /A 19 0 R
->> endobj
-78 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\66\0\40\0\63\0\61\0\40\0\115\0\141\0\162\0\143\0\150\0\40\0\62\0\60\0\60\0\66\0\72\0\40\0\116\0\165\0\164\0\143\0\150\0\40\0\60\0\56\0\67\0\56\0\62\0\40\0\122\0\145\0\154\0\145\0\141\0\163\0\145\0\144)
- /Parent 72 0 R
- /Prev 77 0 R
- /Next 79 0 R
- /A 21 0 R
->> endobj
-79 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\67\0\40\0\61\0\40\0\117\0\143\0\164\0\157\0\142\0\145\0\162\0\40\0\62\0\60\0\60\0\65\0\72\0\40\0\116\0\165\0\164\0\143\0\150\0\40\0\60\0\56\0\67\0\56\0\61\0\40\0\122\0\145\0\154\0\145\0\141\0\163\0\145\0\144)
- /Parent 72 0 R
- /Prev 78 0 R
- /Next 80 0 R
- /A 23 0 R
->> endobj
-80 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\70\0\40\0\61\0\67\0\40\0\101\0\165\0\147\0\165\0\163\0\164\0\40\0\62\0\60\0\60\0\65\0\72\0\40\0\116\0\165\0\164\0\143\0\150\0\40\0\60\0\56\0\67\0\40\0\122\0\145\0\154\0\145\0\141\0\163\0\145\0\144)
- /Parent 72 0 R
- /Prev 79 0 R
- /Next 81 0 R
- /A 25 0 R
->> endobj
-81 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\71\0\40\0\112\0\165\0\156\0\145\0\40\0\62\0\60\0\60\0\65\0\72\0\40\0\116\0\165\0\164\0\143\0\150\0\40\0\147\0\162\0\141\0\144\0\165\0\141\0\164\0\145\0\163\0\40\0\146\0\162\0\157\0\155\0\40\0\111\0\156\0\143\0\165\0\142\0\141\0\164\0\157\0\162)
- /Parent 72 0 R
- /Prev 80 0 R
- /Next 82 0 R
- /A 27 0 R
->> endobj
-82 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\61\0\60\0\40\0\112\0\141\0\156\0\165\0\141\0\162\0\171\0\40\0\62\0\60\0\60\0\65\0\72\0\40\0\116\0\165\0\164\0\143\0\150\0\40\0\112\0\157\0\151\0\156\0\163\0\40\0\101\0\160\0\141\0\143\0\150\0\145\0\40\0\111\0\156\0\143\0\165\0\142\0\141\0\164\0\157\0\162)
- /Parent 72 0 R
- /Prev 81 0 R
- /Next 83 0 R
- /A 29 0 R
->> endobj
-83 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\61\0\61\0\40\0\123\0\145\0\160\0\164\0\145\0\155\0\142\0\145\0\162\0\40\0\62\0\60\0\60\0\64\0\72\0\40\0\103\0\162\0\145\0\141\0\164\0\151\0\166\0\145\0\40\0\103\0\157\0\155\0\155\0\157\0\156\0\163\0\40\0\154\0\141\0\165\0\156\0\143\0\150\0\145\0\163\0\40\0\116\0\165\0\164\0\143\0\150\0\55\0\142\0\141\0\163\0\145\0\144\0\40\0\123\0\145\0\141\0\162\0\143\0\150)
- /Parent 72 0 R
- /Prev 82 0 R
- /Next 84 0 R
- /A 31 0 R
->> endobj
-84 0 obj
-<<
- /Title (\376\377\0\61\0\56\0\61\0\62\0\40\0\123\0\145\0\160\0\164\0\145\0\155\0\142\0\145\0\162\0\40\0\62\0\60\0\60\0\64\0\72\0\40\0\117\0\162\0\145\0\147\0\157\0\156\0\40\0\123\0\164\0\141\0\164\0\145\0\40\0\125\0\156\0\151\0\166\0\145\0\162\0\163\0\151\0\164\0\171\0\40\0\163\0\167\0\151\0\164\0\143\0\150\0\145\0\163\0\40\0\164\0\157\0\40\0\116\0\165\0\164\0\143\0\150)
- /Parent 72 0 R
- /Prev 83 0 R
- /A 33 0 R
->> endobj
-85 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-86 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-87 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-88 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-89 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F7
-/BaseFont /Times-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 4
-/Kids [6 0 R 36 0 R 54 0 R 67 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- /Outlines 71 0 R
- /PageMode /UseOutlines
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 85 0 R /F5 86 0 R /F3 87 0 R /F2 88 0 R /F7 89 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] /XObject <</Im1 35 0 R
- >>
->>
-endobj
-9 0 obj
-<<
-/S /GoTo
-/D [36 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-11 0 obj
-<<
-/S /GoTo
-/D [36 0 R /XYZ 85.0 627.866 null]
->>
-endobj
-13 0 obj
-<<
-/S /GoTo
-/D [36 0 R /XYZ 85.0 537.013 null]
->>
-endobj
-15 0 obj
-<<
-/S /GoTo
-/D [36 0 R /XYZ 85.0 207.16 null]
->>
-endobj
-17 0 obj
-<<
-/S /GoTo
-/D [54 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-19 0 obj
-<<
-/S /GoTo
-/D [54 0 R /XYZ 85.0 581.347 null]
->>
-endobj
-21 0 obj
-<<
-/S /GoTo
-/D [54 0 R /XYZ 85.0 503.694 null]
->>
-endobj
-23 0 obj
-<<
-/S /GoTo
-/D [54 0 R /XYZ 85.0 439.241 null]
->>
-endobj
-25 0 obj
-<<
-/S /GoTo
-/D [54 0 R /XYZ 85.0 374.788 null]
->>
-endobj
-27 0 obj
-<<
-/S /GoTo
-/D [54 0 R /XYZ 85.0 310.335 null]
->>
-endobj
-29 0 obj
-<<
-/S /GoTo
-/D [54 0 R /XYZ 85.0 259.082 null]
->>
-endobj
-31 0 obj
-<<
-/S /GoTo
-/D [67 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-33 0 obj
-<<
-/S /GoTo
-/D [67 0 R /XYZ 85.0 560.147 null]
->>
-endobj
-71 0 obj
-<<
- /First 72 0 R
- /Last 72 0 R
->> endobj
-xref
-0 90
-0000000000 65535 f
-0000031882 00000 n
-0000031961 00000 n
-0000032053 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000001169 00000 n
-0000001289 00000 n
-0000001398 00000 n
-0000032204 00000 n
-0000001533 00000 n
-0000032267 00000 n
-0000001670 00000 n
-0000032333 00000 n
-0000001807 00000 n
-0000032399 00000 n
-0000001944 00000 n
-0000032464 00000 n
-0000002081 00000 n
-0000032528 00000 n
-0000002218 00000 n
-0000032594 00000 n
-0000002355 00000 n
-0000032660 00000 n
-0000002492 00000 n
-0000032726 00000 n
-0000002629 00000 n
-0000032792 00000 n
-0000002766 00000 n
-0000032858 00000 n
-0000002903 00000 n
-0000032924 00000 n
-0000003040 00000 n
-0000032988 00000 n
-0000003177 00000 n
-0000006672 00000 n
-0000017148 00000 n
-0000017271 00000 n
-0000017396 00000 n
-0000017605 00000 n
-0000017797 00000 n
-0000017984 00000 n
-0000018174 00000 n
-0000018371 00000 n
-0000018568 00000 n
-0000018765 00000 n
-0000018962 00000 n
-0000019159 00000 n
-0000019356 00000 n
-0000019551 00000 n
-0000019748 00000 n
-0000019962 00000 n
-0000020171 00000 n
-0000020364 00000 n
-0000022570 00000 n
-0000022693 00000 n
-0000022783 00000 n
-0000022994 00000 n
-0000023187 00000 n
-0000023423 00000 n
-0000023615 00000 n
-0000023855 00000 n
-0000024048 00000 n
-0000024290 00000 n
-0000024482 00000 n
-0000024710 00000 n
-0000024902 00000 n
-0000026358 00000 n
-0000026481 00000 n
-0000026515 00000 n
-0000026721 00000 n
-0000033054 00000 n
-0000026909 00000 n
-0000027051 00000 n
-0000027382 00000 n
-0000027855 00000 n
-0000028149 00000 n
-0000028482 00000 n
-0000028775 00000 n
-0000029084 00000 n
-0000029400 00000 n
-0000029705 00000 n
-0000030057 00000 n
-0000030420 00000 n
-0000030889 00000 n
-0000031326 00000 n
-0000031434 00000 n
-0000031544 00000 n
-0000031657 00000 n
-0000031773 00000 n
-trailer
-<<
-/Size 90
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-33105
-%%EOF
diff --git a/site/issue_tracking.html b/site/issue_tracking.html
deleted file mode 100644
index 0b89b170c..000000000
--- a/site/issue_tracking.html
+++ /dev/null
@@ -1,240 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Nutch Issue Tracking</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Project</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div>
-<div id="menu_1.2" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_selected_1.3', 'skin/')" id="menu_selected_1.3Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Resources</div>
-<div id="menu_selected_1.3" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">Issue Tracking</div>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="issue_tracking.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Nutch Issue Tracking</h1>
-
-<p>
- Nutch issues (bugs, as well as enhancement requests) are tracked in
- Apache JIRA <a href="http://issues.apache.org/jira/browse/Nutch">here</a>.
- If you aren't sure whether something is a bug, post a question on the
- Nutch user <a href="mailing_lists.html">mailing list</a>.
- </p>
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/issue_tracking.pdf b/site/issue_tracking.pdf
deleted file mode 100644
index 0989a6478..000000000
--- a/site/issue_tracking.pdf
+++ /dev/null
@@ -1,118 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 620 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gasam9lJc?%)(t.n?rJ`<(WBlkL^8;OWFk2orZo`EtmAr5>ltfkeEa#3t^Lb_iR5R;[email protected];?kO?0`.1J"tANHb`BZaqL$D`kD'V6n@El0]-LUt<tU*4[+Ma&YFQOgEUl2pdO"gEkg?%Ri*o*hJ5eg"I3rTgb(^\BKl!<n?2X!:p;T+%'KkZT\/s$t(0?>FFk&KbUYcK'f5?p'WR9#Tli;?e\uFK\mLU``])9'`^7-JJ*g&B:%LCAk5\-gln:V\/VpYuWJmsUlTfdZ/?o1g`*8uVL+SX84]1Lu*Ps[iZA_K%)<5h`qHut^dAiKT9ku%do%c%Q&5O/6"QKejPY3dr>a%U]S&JVB@iu+Y:66\711hn3h%s?W4]f$.]f8+m'm][2-"mT=HfQC?@\==L)I?07W(.JC!gZ8/`=jAFO]J@b?\,#X4o.mbYp[>tk+hTf<&#o4$No3suP_o5gE_H>n2*,0?X7UG2PROV1=[3&mEZgoMTqKf;+"Q6OKo)FnPu%T]Tc./b](-T;4DNRj8pmZM+&/>=SU4#<6?-WE`dIF(AE_E\TB0b$eGJYnIFY**?2)l%[bF2IgA#]I`_a99[PgeNY'4RO5KDG+l2~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-9 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 485.232 585.8 505.884 573.8 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://issues.apache.org/jira/browse/Nutch)
-/S /URI >>
-/H /I
->>
-endobj
-9 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 464.112 572.6 518.46 560.6 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailing_lists.html)
-/S /URI >>
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-11 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-12 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-13 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 1
-/Kids [6 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 10 0 R /F5 11 0 R /F3 12 0 R /F2 13 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-xref
-0 14
-0000000000 65535 f
-0000001737 00000 n
-0000001795 00000 n
-0000001845 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000782 00000 n
-0000000902 00000 n
-0000000933 00000 n
-0000001124 00000 n
-0000001290 00000 n
-0000001398 00000 n
-0000001508 00000 n
-0000001621 00000 n
-trailer
-<<
-/Size 14
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-1957
-%%EOF
diff --git a/site/linkmap.html b/site/linkmap.html
deleted file mode 100644
index 5c35af689..000000000
--- a/site/linkmap.html
+++ /dev/null
@@ -1,425 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Site Linkmap Table of Contents</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Project</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div>
-<div id="menu_1.2" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Resources</div>
-<div id="menu_1.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="linkmap.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Site Linkmap Table of Contents</h1>
-<p>
- This is a map of the complete site and its structure.
- </p>
-<ul>
-<li>
-<a>Nutch</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>site</em>
-</li>
-<ul>
-
-
-<ul>
-<li>
-<a>Project</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>project</em>
-</li>
-<ul>
-
-<ul>
-<li>
-<a href="index.html">News</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>news</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="about.html">About</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>about</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="credits.html">Credits</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>credits</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>store</em>
-</li>
-</ul>
-
-</ul>
-</ul>
-
-
-<ul>
-<li>
-<a>Documentation</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>docs</em>
-</li>
-<ul>
-
-<ul>
-<li>
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>faq</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="http://wiki.apache.org/nutch/">Wiki</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>wiki</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="tutorial.html">Tutorial (0.7.2)</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>tutorial</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="tutorial8.html">Tutorial (0.8.x)</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>tutorial8</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="bot.html">Robot </a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>webmasters</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="i18n.html">i18n</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>i18n</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>apidocs</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>apidocs</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>apidocs</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="apidocs/index.html">API Docs (0.7.2)</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>apidocs</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>apidocs</em>
-</li>
-</ul>
-
-</ul>
-</ul>
-
-
-<ul>
-<li>
-<a>Resources</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>resources</em>
-</li>
-<ul>
-
-<ul>
-<li>
-<a href="release/">Download</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>download</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="nightly.html">Nightly builds</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>nightly</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="mailing_lists.html">Mailing Lists</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>contact</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="issue_tracking.html">Issue Tracking</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>issues</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="version_control.html">Version Control</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>vcs</em>
-</li>
-</ul>
-
-</ul>
-</ul>
-
-
-
-<ul>
-<li>
-<a>Related Projects</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>projects</em>
-</li>
-<ul>
-
-<ul>
-<li>
-<a href="http://lucene.apache.org/java/">Lucene Java</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>lucene</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>hadoop</em>
-</li>
-</ul>
-
-<ul>
-<li>
-<a href="http://incubator.apache.org/solr/">Solr</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>solr</em>
-</li>
-</ul>
-
-</ul>
-</ul>
-
-
-
-
-</ul>
-</ul>
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/linkmap.pdf b/site/linkmap.pdf
deleted file mode 100644
index b00c5fb11..000000000
--- a/site/linkmap.pdf
+++ /dev/null
@@ -1,111 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 1091 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gatn'?#Q2d'Sc)J/%A8+lIj0!E7p:PlI8i45ha149a"#)8oP,L=o\F/1pNUs,pI-$()uAJO6uPm4unZNT<<PP'*,^Z0nJ`,A-0HB$1abc7:+X?0`lpP!\[`&hkuOGbYGfLbQINMHBX]AX*Ca.U3Ku]n&7UX?\hTlV6!J*+("S..8pc9?J1L:S-&se0,H53\d^s[2cK<.erO_PIA<.qTB.iWNC9l!74+"c3]C8_R2S]GOK)mB,dOC)Y[^05FrGrdG[m@S9Ks@FK'fpA"p*D;p9p+*;X%*3l2H)1Z\ul\`P]n)4q?q8r=IcnR'd>*!=URF;hY"Phc8Z;QH6=-54h,X10\5$NToS7D$S&FYCl.!gXN!lr-"rn*P^qB%M:u8!XI-+>VtL(a_1M0j$)<"&IEjPQ9Ct#.SKY,*lk((c]mlMM.@QHLl2k9KmR(fc)WbSUML^(d>6<@<mXaFV5T-4Se10\qFcr-/%&Ht1)K'Il"a3>gHql1%[ajDd"-@_G!A12i-t/ar%^qJR5=$@jj3ab3+heW(N+cD&%FFUUIMA6*Z$lNAlAsp^pB6PQokM110[fIFG=1+i3^>8@0?#^5JW_n>M*>NQ@r"/4G^O][l7&PX`XVk@`RA:o2T&=X;WubQRWKJ*!P@SME+KpY8t@g3(/Fmq]ND\ek:>B)."sM!q;T=%D(kZV&li3K6@tL,,]?C7"ugH*naFU(n"m3HNoRmZ]Xg)#Ar`J%'@f#Q\bp>O5$VAd&-fYcouG1lpKtlIp1"Soa'oGGK6LJDub'*LgriC2LNS\d8W[qrr.O:F\T5#.NNV=7Su^IG.SHXZ4M":rn9`O3O:Qj?-j`McCD&Km?^bTn@Zl$FSlhn$6[3oA@^5-ihY@DUp"cEjQ2Tf]ZKIaDRs(Q\:iLlM5jY;"0*'2c8M#3Y3WYR9$F5kPNO!6,UZM+[h\L8@[iCMUWH/1^j"<WJfJapO\Qkt9YDqI(6eX;H!C'E<Is)1n..3#e>W7ARp_2$TarR?FY:W/[;&c<=7e:BO`"S5RIN_]deFa=C`Om8qb\p*-E`<!/('SqGMNJCa,32B3pkX7B6@8Rc;L<jrYHu;lm)~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
->>
-endobj
-7 0 obj
-<< /Length 541 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gat=hbANh8&4Q>@74mn\/)<WYQaRVZZFk-3-l^oug+tmQ"OdMC7/?^:$m$N,Z8AecK"C\Up#@Mp52AcfKFG//_I/[email protected]?o<LZrcTje)/(O.od,a.>0_7=+He(JqPe[nYr$lou4TkLHfa+Ru/ilCrZ*1e:bNNVR1qW=06'U9;0ci(.5QH47rS5]laC(rIchgFi1^D\6`X74RkS,-Yf@5&u^2(al`o;IFiEe?3$HM>#CKc`j(h;4\rW?epI*8BSgrWe8->%BFF?ed,ao(:>+BIuq![_:`l<8+(7Tj!,^3glu'5uDj#?[%*M%=pf"/eLKb-j@jojCAcIMd=d`S^qJ^U:?Z(in')=-b7GakL72_H4mY6a;;mFoJoQnGDFVTST1N(9+YCX$qWeI@@_d?Y1cgus2U?90-2RH!fcUsn(hU@:STg.lYh@,SJH6n(J'B`8MD>HbR[V'U&8-^2VY+X1[X6F8b+#K`mbQ2><`7WV-Au?79DKu>W'[ZK\'\pRWuO(W%?8MT_#<VZ*/S`pF@4qpCFAK,>/~>
-endstream
-endobj
-8 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 7 0 R
->>
-endobj
-9 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-10 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-11 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-12 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-13 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F6
-/BaseFont /Times-Italic
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 2
-/Kids [6 0 R 8 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 9 0 R /F5 10 0 R /F3 11 0 R /F2 12 0 R /F6 13 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-xref
-0 14
-0000000000 65535 f
-0000002655 00000 n
-0000002719 00000 n
-0000002769 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000001254 00000 n
-0000001360 00000 n
-0000001992 00000 n
-0000002098 00000 n
-0000002205 00000 n
-0000002315 00000 n
-0000002428 00000 n
-0000002544 00000 n
-trailer
-<<
-/Size 14
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-2891
-%%EOF
diff --git a/site/mailing_lists.html b/site/mailing_lists.html
deleted file mode 100644
index ab647119a..000000000
--- a/site/mailing_lists.html
+++ /dev/null
@@ -1,380 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Nutch Mailing Lists</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Project</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div>
-<div id="menu_1.2" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_selected_1.3', 'skin/')" id="menu_selected_1.3Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Resources</div>
-<div id="menu_selected_1.3" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">Mailing Lists</div>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="mailing_lists.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Nutch Mailing Lists</h1>
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#Users">Users</a>
-</li>
-<li>
-<a href="#Developers">Developers</a>
-</li>
-<li>
-<a href="#Commits">Commits</a>
-</li>
-<li>
-<a href="#Agents">Agents</a>
-</li>
-</ul>
-</div>
-
-
-<a name="N1000D"></a><a name="Users"></a>
-<h2 class="h3">Users</h2>
-<div class="section">
-<p>If you use Nutch, please subscribe to the Nutch user mailing list.</p>
-<p>
- The Nutch user mailing list is :
- <a href="mailto:[email protected]">[email protected]</a>.
- </p>
-<ul>
-
-<li>
-<a href="mailto:[email protected]">Subscribe to List</a>
-</li>
-
-<li>
-<a href="mailto:[email protected]">Unsubscribe from List</a>
-</li>
-
-<li>
-<a href="http://www.mail-archive.com/nutch-user%40lucene.apache.org/">Search List Archive</a>
-</li>
-
-<li>
-<a href="http://lucene.apache.org/mail/nutch-user/">View List Archive</a>
-</li>
-
-</ul>
-<div class="note">
-<div class="label">Note</div>
-<div class="content">In order to post to the list, it is necessary to first subscribe to it.</div>
-</div>
-</div>
-
-
-<a name="N10038"></a><a name="Developers"></a>
-<h2 class="h3">Developers</h2>
-<div class="section">
-<p>If you'd like to contribute to Nutch, please subscribe to the
- Nutch developer mailing list.</p>
-<p>
- The Nutch developer mailing list is :
- <a href="mailto:[email protected]">[email protected]</a>.
- </p>
-<ul>
-
-<li>
-<a href="mailto:[email protected]">Subscribe to List</a>
-</li>
-
-<li>
-<a href="mailto:[email protected]">Unsubscribe from List</a>
-</li>
-
-<li>
-<a href="http://www.mail-archive.com/nutch-dev%40lucene.apache.org/">Search List Archive</a>
-</li>
-
-<li>
-<a href="http://lucene.apache.org/mail/nutch-dev/">View List Archive</a>
-</li>
-
-</ul>
-<div class="note">
-<div class="label">Note</div>
-<div class="content">In order to post to the list, it is necessary to first subscribe to it.</div>
-</div>
-</div>
-
-
-<a name="N10063"></a><a name="Commits"></a>
-<h2 class="h3">Commits</h2>
-<div class="section">
-<p>If you'd like to see changes made in Nutch's <a href="version_control.html">version control system</a>
- then subscribe to the Nutch commit mailing list.</p>
-<ul>
-
-<li>
-<a href="mailto:[email protected]">Subscribe to List</a>
-</li>
-
-<li>
-<a href="mailto:[email protected]">Unsubscribe from List</a>
-</li>
-
-<li>
-<a href="http://www.mail-archive.com/nutch-commits%40lucene.apache.org/">Search List Archive</a>
-</li>
-
-<li>
-<a href="http://lucene.apache.org/mail/nutch-commits/">View List Archive</a>
-</li>
-
-</ul>
-</div>
-
-
-<a name="N10088"></a><a name="Agents"></a>
-<h2 class="h3">Agents</h2>
-<div class="section">
-<p>If you use Nutch to perform extensive crawls of sites that
- you do not control, please subscribe to the Nutch agent mailing
- list. This is where we encourage webmasters to post questions
- about the Nutch crawler.</p>
-<p>
- The Nutch agent mailing list is :
- <a href="mailto:[email protected]">[email protected]</a>.
- </p>
-<ul>
-
-<li>
-<a href="mailto:[email protected]">Subscribe to List</a>
-</li>
-
-<li>
-<a href="mailto:[email protected]">Unsubscribe from List</a>
-</li>
-
-<li>
-<a href="http://www.mail-archive.com/nutch-agent%40lucene.apache.org/">Search List Archive</a>
-</li>
-
-<li>
-<a href="http://lucene.apache.org/mail/nutch-agent/">View List Archive</a>
-</li>
-
-</ul>
-</div>
-
-
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/mailing_lists.pdf b/site/mailing_lists.pdf
deleted file mode 100644
index 1e8cf527d..000000000
--- a/site/mailing_lists.pdf
+++ /dev/null
@@ -1,524 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 457 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gb!$C4)]a*'SUa[`?!(I><aj$8_XYR>H'*CdLMKYJj^^bP,ePr]G*G1aHi7qme-+T5$OOGkhIdN0S'AD`$*qeFpOlR"k#RKK!+8CK&#r@gqq3^ff/G5"uf6Om?IJfAU.=PVX]o$9g+,)#Tm8l"`uRcEKj'>jkeo47UN^o$tM<YQAPEtbG*C<jX5VB;a3lVB.,292>C$Qc-Fi;Ea/KKl`0XH\&7NmQG#HJ@0gi*1caa?7M[mVDQ3*t60I@t+5h>ZcM2p<&Mo\C7LD?(CoQmGm5Aa_%Qm'V&e*.D-.F..clY9d,djbGVo);PIHZeT&EfDY&3A]so(;`CM*`LSoI3%e8Z4HkcE";8&rRb@LnN(YOB,ad.5C<;"<?Onc?I$'Q>RTS;BJS1;_^U$;hZ0-MYSl^mJ<qYR\-Oa3m2PNXJ7*m$ac5]\LIBgCTH$'j;de1%Jh/PJKc3~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-10 0 R
-12 0 R
-14 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 559.666 137.324 547.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 9 0 R
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 541.466 164.648 529.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 11 0 R
-/H /I
->>
-endobj
-12 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 523.266 154.016 511.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 13 0 R
-/H /I
->>
-endobj
-14 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 505.066 143.996 493.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 15 0 R
-/H /I
->>
-endobj
-16 0 obj
-<< /Length 2445 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gb!la9lo&I&;KZM'tbi\W=e-Zm&<S1AD1`RD<(9:p7U'FXJmJV,]205^'bPrQBXX$9R:G0*Li.6h\Y2`fLPMubLOeF3h_/$alUbs9f=MjV!sElGm\%RE'h*-0)*KVcRF.%>VKm3T7<r#Wd^*.R9]`qqX/Cs2h[UGGH3?T$^)s(M"](0<+I8L8Q@%.<kk_B)bl_senGWe(aVLmEo5c!\Yo#T?ej7e^Nb7c>hskjYO?YR)S]V9J#]]Pm3aa?Pj%krENXjfjfeCDm;@:'pjq80DMVSMi?Zj90KY-7ccbd\[^H/6CV9/-E:W>,AAnZt8nEk'F->g!TCCEm^"an_aeVZQP7QJTY`[H_l2A4&GR=]9qSJWuAp8`)*"'!c>@62%UoZK*#d,+qZj(E1?G<86n%-^[;6kQ?+,n=WoOs]$Dl+d9PG;"gc8%=t1d,)S-`617EO.R*oES_QVtGgs`^)NIi&F"\8t\!l[g4>E^%R$6Xf:=/2MXji7Al>!7gXq=LBLaT3:$^Q2Z#aXo>e:sO7*%q:*Wb67!&m:N$u/cH'Z!lKf&kYRC2q^:sW.X:pO<^.1`>BGF0KhKMrUZJ=!_QoR:_YEZ[%t9P\bBUs<r]4\WYiS=F;3Zk)duU[(/p_P6>rSk.7(9gIf3jouUP!D"`M(DQ2Xm+&#QLMB;M:Wab,i1gF4_#l<A$$r@pTXTeZp:+-.BoS.Ce2^8HLC%)*8ZpUVd6>nrI0D.4I41hi!9T\==+OcAXF]&E0UFRSYcnI"g9i'<D2ZGroME_eX%DjA"DX/$QF,I2!ss:CI@rM[<<L.Gh5N9.F6_6n-?,%?SC'OI)]dL[P9M3)s59eiJ$sR_`%\da$p"UA@()Wl"\jdNj]()8#q5]^d5Nf-g-ek!#c2:rbc`iYg8Ib:\(u;oHDJfq2Sj7%g33CBfbD>!OQ;!kS[b<#]MAs2KsY1A6:0QN]oH\N7'>H6[<%I9E:cIJ%.9Xti)=jH4QtJgej??]RnO]^nGIBiEU[gf=^C'B*+QikM0nb85a[iXZ,eiM^E8?6U9<+ue*3)UgBt"+&BqTQrO"#`_/:_::n4"06PT93nPJSp].&sX&k\1ho2/6_8k>gSZJ;d%]OlWsAp./q)OU8I'6sI?7)*NH0MD1:YS>AH2%P5B.VDX%FD'``&2YaKD!]nHUtt@JJLD(O8aotG&d6f`+QudEL053)n8N-O_p+eN,,J,+$GiAS=a'KHk\d?j)N07#6oJm+"GA1WKstHI0bOsIcS?XVZE+i1FVNc=E8G@PMS-q1!='>W>nK3BM!e?m^ks(6<Y7eaGF%:J&D=;7(:4[j6^5H>>VO,6&-o'W#SB_oBrMXgq@jDPkM>j*aDH$!BLR/n<G:'W7330!aMOqWFkuL"0rTmKn7`+N=@=Shecf!2EH0nqJet\VS<aKoUJKj1ESbOSMVOd(NSLm$nMS_><?Z1#,7A8geGF\B!Z\JZRar"C,>)Af0:62WNruj'oSB?LBrMY.U(m%;T68nD,.Cnb+Z[oM2N@*%KH)<u(Ekeo6^+g0#WWV_NKBYt5Hi]U6qHKP.7-?I&F/Cu/j_0![a&aZfa,^EV["FC+!DoQ3+6^E*$OC4EkgKi@=D`*l:koO+*0sd6]XnA4_F%:kclbe$Wjh'_ks@eB3h:![tbQj4f\\^+ZG/oX92Bd2;iB`je!1ja."$)Tdu`=c11lhHs7XY_BYIs]DkP3+/KeXm+[_iBbjIk)t$(UiKhg5?-)L`[o(>HeW*ShUD*ce7AX.?iB@qnY+P!VfUkQ3C"&f#_ddtJIY?Efq"UTaG[t!Mh/5<Ms/Yk8M>VlI#gA7*7(`DF[cq3/HL5l%*PK%HAPE\f]q;n3`<%hRO\M;N!Ad>VaYoMq%*SgsZbVNQ/B#PT*<g[qT(hM:Z.E)7@T4!Y?P.5]l@(#g\@I`U'gZt([kiRQfru#,Zk3@OPeqHX0Z=lr#Gr_r),'4.W=Uc\'FpMnh=dP`D0/dR?p24Ri..!H">.F#ObHd9lFPk#@Xo=Xi6r0&^l2/nXpq6F"7s<H">F=73@tsIAtQp@o=WgA'Y-@/Qt[&b96<nTgmu:l@GT#1RP=%*@2f6k=C4egLO^8=YZr,@0a?ckgB_3,;VAEV#aeHrqrH)8m6d#jECES!]q:/-WT`=EC@beLMShiK:Z5SOM#LU&*S9COY!#dTnb7J5_CDRTZJ,2,ih*)-eEtc_VQ3lbmLTVf8@753(_N4kFVA_9NDpF"K6t2<,sLjqP[/V?:atlp#aH(FGbV25Ccie^MHZL?J0iNko$(T-Au]gg.3!Uq!3ET8G9\tp:P6KLN]fq[jr$tQFN_&!nFLs)%+H,_KDTloWY"r#@QoP;cP<+ZJD&:%eXQ-tWS26-gNCs,d>,t9;Lc[6<;A'ANELJqWr7[o?[jJBR`BQ)7c'I*L[0'bj?uhsDW`ZVm2B7HF\t:9f>OlK^\;[\@/~>
-endstream
-endobj
-17 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 16 0 R
-/Annots 18 0 R
->>
-endobj
-18 0 obj
-[
-19 0 R
-20 0 R
-21 0 R
-22 0 R
-23 0 R
-24 0 R
-25 0 R
-26 0 R
-27 0 R
-28 0 R
-29 0 R
-30 0 R
-31 0 R
-32 0 R
-33 0 R
-]
-endobj
-19 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 241.668 608.466 390.0 596.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-20 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 591.266 189.336 579.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-21 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 578.066 215.988 566.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-22 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 564.866 203.976 552.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.mail-archive.com/nutch-user%40lucene.apache.org/)
-/S /URI >>
-/H /I
->>
-endobj
-23 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 551.666 197.316 539.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/mail/nutch-user/)
-/S /URI >>
-/H /I
->>
-endobj
-24 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 268.992 428.522 414.66 416.522 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-25 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 411.322 189.336 399.322 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-26 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 398.122 215.988 386.122 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-27 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 384.922 203.976 372.922 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.mail-archive.com/nutch-dev%40lucene.apache.org/)
-/S /URI >>
-/H /I
->>
-endobj
-28 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 371.722 197.316 359.722 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/mail/nutch-dev/)
-/S /URI >>
-/H /I
->>
-endobj
-29 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 303.948 269.778 412.608 257.778 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (version_control.html)
-/S /URI >>
-/H /I
->>
-endobj
-30 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 239.378 189.336 227.378 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-31 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 226.178 215.988 214.178 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-32 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 212.978 203.976 200.978 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.mail-archive.com/nutch-commits%40lucene.apache.org/)
-/S /URI >>
-/H /I
->>
-endobj
-33 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 199.778 197.316 187.778 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/mail/nutch-commits/)
-/S /URI >>
-/H /I
->>
-endobj
-34 0 obj
-<< /Length 1025 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-GatU2?#Q2d'Rf.Gpp#1ECE*2fT%6YPV.lF-L$`I+"%f$d.=i7*U]()CHl-?WMD@VW\;#@U\MqRkhF6:VaF!V7fW"=l(F"Y8@nch*<*s!B*5DR8'!/cbhHf3ugf&`[\eApD<+R6G_4])L">U[AkQlWC'rQ2Zacj,["0P3!G#`/*p"m:Mj]$-k>o<$@>'AjZ:(Bk,lP9t%;8OrEp.<Y#p@W\aF,T0s?-@>RST;\[hd.DbU6KpX0)6qHPc?qjqWO12LG3DbIQklJ9X<0bLtC=Z>ZUYIO3\'!_bh='+DGPas(pS;^YUl]PppH_nGNB4,iFb=Td4T5P_:7e&?-r*nGsa\-jOChWbp2FjuZsckV0(n;Q]l.')_0:g;m71paP(d--Ypc,K@/p95?i#]t1bp`gQe>+U"cXT)MFiSL>*qTq8,i#Xq`;VA/kpR$Bt"rOjm5\Ai"a="UH)=5BGbQf(\T&Ro(b&43l<9K,/&L+n4Ke=L3a!QMN.Y_n73H(k=mPFs$d#^r<sd+Y;h[!kWk#.<8@32`_5csQ2H_5^G9mUR`!=h2`gRU*:`J#(&!So@6d50q@gla$[*#11D,)T(o`SSF#<k1O`HXTPZ(pcR(<JiaMHe+nTT>*E^#?0hn>5ePkegoh39<FDK$8;UK[ckVGo]K91McLm#XcL:7:"oc/d+b];N0V\8i0F_I?RT)q`e`*9NqnSYXc;P/qVuo>I%n"VXW&:Q?g0<+^j@(]l"Om'Olj<>AWGD-k^lXqK$U)=F2d#uOjEZX=@FP-jSpq$^>R:!TWXe2@#c#qG>&*4?i;hI_\QPr;Q^e0*meg/:RT)q^lNdQFRX3!__6FM*$0sE(GB'eQ8ANd=DUpRY\eRZK(V>"A`eZuWRo*DSVL$VG[KaRMLn4Th^'``dIr32,6fhMe@+;[o$Glm['r(_YOAR.MGt2f_ofda!RjYgr2&L@N5%Sqq]8.TJ\u6K2leo4?fXc<mD9I!j>:]I$.=I0J=:D==_k@Gfm_Xim+nHNG#eS+T"'9lZ*W~>
-endstream
-endobj
-35 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 34 0 R
-/Annots 36 0 R
->>
-endobj
-36 0 obj
-[
-37 0 R
-38 0 R
-39 0 R
-40 0 R
-41 0 R
-]
-endobj
-37 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 247.668 626.4 402.0 614.4 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-38 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 609.2 189.336 597.2 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-39 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 596.0 215.988 584.0 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (mailto:[email protected])
-/S /URI >>
-/H /I
->>
-endobj
-40 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 582.8 203.976 570.8 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.mail-archive.com/nutch-agent%40lucene.apache.org/)
-/S /URI >>
-/H /I
->>
-endobj
-41 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 569.6 197.316 557.6 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/mail/nutch-agent/)
-/S /URI >>
-/H /I
->>
-endobj
-43 0 obj
-<<
- /Title (\376\377\0\61\0\40\0\125\0\163\0\145\0\162\0\163)
- /Parent 42 0 R
- /Next 44 0 R
- /A 9 0 R
->> endobj
-44 0 obj
-<<
- /Title (\376\377\0\62\0\40\0\104\0\145\0\166\0\145\0\154\0\157\0\160\0\145\0\162\0\163)
- /Parent 42 0 R
- /Prev 43 0 R
- /Next 45 0 R
- /A 11 0 R
->> endobj
-45 0 obj
-<<
- /Title (\376\377\0\63\0\40\0\103\0\157\0\155\0\155\0\151\0\164\0\163)
- /Parent 42 0 R
- /Prev 44 0 R
- /Next 46 0 R
- /A 13 0 R
->> endobj
-46 0 obj
-<<
- /Title (\376\377\0\64\0\40\0\101\0\147\0\145\0\156\0\164\0\163)
- /Parent 42 0 R
- /Prev 45 0 R
- /A 15 0 R
->> endobj
-47 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-48 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-49 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-50 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-51 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F7
-/BaseFont /Times-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 3
-/Kids [6 0 R 17 0 R 35 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- /Outlines 42 0 R
- /PageMode /UseOutlines
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 47 0 R /F5 48 0 R /F3 49 0 R /F2 50 0 R /F7 51 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-9 0 obj
-<<
-/S /GoTo
-/D [17 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-11 0 obj
-<<
-/S /GoTo
-/D [17 0 R /XYZ 85.0 479.056 null]
->>
-endobj
-13 0 obj
-<<
-/S /GoTo
-/D [17 0 R /XYZ 85.0 299.112 null]
->>
-endobj
-15 0 obj
-<<
-/S /GoTo
-/D [17 0 R /XYZ 85.0 174.778 null]
->>
-endobj
-42 0 obj
-<<
- /First 43 0 R
- /Last 46 0 R
->> endobj
-xref
-0 52
-0000000000 65535 f
-0000010460 00000 n
-0000010532 00000 n
-0000010624 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000619 00000 n
-0000000739 00000 n
-0000000785 00000 n
-0000010747 00000 n
-0000000920 00000 n
-0000010810 00000 n
-0000001057 00000 n
-0000010876 00000 n
-0000001194 00000 n
-0000010942 00000 n
-0000001331 00000 n
-0000003869 00000 n
-0000003992 00000 n
-0000004117 00000 n
-0000004304 00000 n
-0000004501 00000 n
-0000004700 00000 n
-0000004911 00000 n
-0000005104 00000 n
-0000005291 00000 n
-0000005487 00000 n
-0000005685 00000 n
-0000005895 00000 n
-0000006087 00000 n
-0000006261 00000 n
-0000006461 00000 n
-0000006663 00000 n
-0000006877 00000 n
-0000007073 00000 n
-0000008191 00000 n
-0000008314 00000 n
-0000008369 00000 n
-0000008553 00000 n
-0000008747 00000 n
-0000008943 00000 n
-0000009151 00000 n
-0000011008 00000 n
-0000009341 00000 n
-0000009462 00000 n
-0000009628 00000 n
-0000009776 00000 n
-0000009904 00000 n
-0000010012 00000 n
-0000010122 00000 n
-0000010235 00000 n
-0000010351 00000 n
-trailer
-<<
-/Size 52
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-11059
-%%EOF
diff --git a/site/nightly.html b/site/nightly.html
deleted file mode 100644
index 3f434fb8d..000000000
--- a/site/nightly.html
+++ /dev/null
@@ -1,254 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Nightly builds</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Project</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div>
-<div id="menu_1.2" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_selected_1.3', 'skin/')" id="menu_selected_1.3Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Resources</div>
-<div id="menu_selected_1.3" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">Nightly builds</div>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="nightly.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Nightly builds</h1>
-
-<p>
- Nightly binary builds contains the latest code available. Nightly
- binary builds are provided for testing only. They might or might not
- be functional.
- </p>
-
-<p>
- You can track the progress of 1.1-dev version from a <a href="http://issues.apache.org/jira/browse/NUTCH?report=com.atlassian.jira.plugin.system.project:roadmap-panel">jira report</a>
-
-</p>
-
-<p>
- To report bugs see <a href="issue_tracking.html">issue tracking</a>
-
-</p>
-
-<p>
-
-<a href="http://people.apache.org/builds/lucene/nutch/nightly/">Nutch nightly builds</a> (1.1-dev)
- </p>
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/nightly.pdf b/site/nightly.pdf
deleted file mode 100644
index 039269fa7..000000000
--- a/site/nightly.pdf
+++ /dev/null
@@ -1,131 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 798 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gat%abAs(+'Sc?EKpM6QMBjH"bGJ3^VMia,@FM3^^d_^8N*HD/q!BU"#;C$V?C5dZrVrdjgN-acD/I3N-7F[%;Z@agJeEtc@X]$eFjAqKgQ%&@'DhOo2,0*BG28f]k'Eop@:,j6<,Bo3$GI?;JLG<q-5saDYs\:Q6]ab^bsMs#::#ul.PJ[r#FY-2`uka_=d6.;"Br]9QtG;@PBb=M2aOBni`W<T)TeqIoQ6f;a1S$XX>E1#N+nlB$'f.)^_@b7!'&M^TW_[=aqY3U!&LeK6^ar:bj\>)DI_7]r_O?.?^Lq3*?K[5']'NJdBWap;XsNV0n##AAP?@)/dr75eER0OgeiM-X?T_nMS=R0QH^H:gWTYeSRm=IaEAEoR5\Y37'J%DoS-\RDq9!VO4FUUjufYoC&^fuWp@m(FqsaWQP*a[iH$P4^+M.e%RU9!Q=m&;Nd#J:"`#ubY(7MWg(,.sFok^GOE.0!e>(YT#g=t\oSa'CGYcip%D\8F7CD8<Z`$%#]:MXrD^N7_Cn%V.KcY@R#uI,9h]1@>Zq]Aeml+>&#uTttgFQO#=g`"rMmPb:Pus<,j4ZQ<A;u^[]PFm9Qjk_^_SN\Jr0t)93l0)<qsu`89Y5K>n%1.tr4.LD@E3d,E&Vk?4F*d]d@ia@A1,'7rS=m99W+8b92:>%?%I6AJd>riBo1gbj(Z\1HiKgdbiJo[$+%AeJUACUp;ZHo3a[#ZV71C.NX7a9N"BW\K(]7`K+I/7!94k1QZ(\aeRl7ib+l1i"u$m[ARj)3(Ef#te/'"]EU&#S'=lJ#~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-9 0 R
-10 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 346.932 551.4 394.584 539.4 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://issues.apache.org/jira/browse/NUTCH?report=com.atlassian.jira.plugin.system.project:roadmap-panel)
-/S /URI >>
-/H /I
->>
-endobj
-9 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 181.98 530.2 248.304 518.2 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (issue_tracking.html)
-/S /URI >>
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 90.0 509.0 188.676 497.0 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://people.apache.org/builds/lucene/nutch/nightly/)
-/S /URI >>
-/H /I
->>
-endobj
-11 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-12 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-13 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-14 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 1
-/Kids [6 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 11 0 R /F5 12 0 R /F3 13 0 R /F2 14 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-xref
-0 15
-0000000000 65535 f
-0000002185 00000 n
-0000002243 00000 n
-0000002293 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000960 00000 n
-0000001080 00000 n
-0000001118 00000 n
-0000001371 00000 n
-0000001538 00000 n
-0000001738 00000 n
-0000001846 00000 n
-0000001956 00000 n
-0000002069 00000 n
-trailer
-<<
-/Size 15
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-2405
-%%EOF
diff --git a/site/skin/CommonMessages_de.xml b/site/skin/CommonMessages_de.xml
deleted file mode 100644
index bc461196e..000000000
--- a/site/skin/CommonMessages_de.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- 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.
--->
-<catalogue>
- <message key="Font size:">Schriftgr�sse:</message>
- <message key="Last Published:">Zuletzt ver�ffentlicht:</message>
- <message key="Search">Suche:</message>
- <message key="Search the site with">Suche auf der Seite mit</message>
-</catalogue>
diff --git a/site/skin/CommonMessages_en_US.xml b/site/skin/CommonMessages_en_US.xml
deleted file mode 100644
index 88dfe1431..000000000
--- a/site/skin/CommonMessages_en_US.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- 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.
--->
-<catalogue>
- <message key="Font size:">Font size:</message>
- <message key="Last Published:">Last Published:</message>
- <message key="Search">Search</message>
- <message key="Search the site with">Search site with</message>
-</catalogue>
diff --git a/site/skin/CommonMessages_es.xml b/site/skin/CommonMessages_es.xml
deleted file mode 100644
index 63be6712b..000000000
--- a/site/skin/CommonMessages_es.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- 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.
--->
-<catalogue>
- <message key="Font size:">Tama�o del texto:</message>
- <message key="Last Published:">Fecha de publicaci�n:</message>
- <message key="Search">Buscar</message>
- <message key="Search the site with">Buscar en</message>
-</catalogue>
diff --git a/site/skin/CommonMessages_fr.xml b/site/skin/CommonMessages_fr.xml
deleted file mode 100644
index 622569a4f..000000000
--- a/site/skin/CommonMessages_fr.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- 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.
--->
-<catalogue>
- <message key="Font size:">Taille :</message>
- <message key="Last Published:">Derni�re publication :</message>
- <message key="Search">Rechercher</message>
- <message key="Search the site with">Rechercher sur le site avec</message>
-</catalogue>
diff --git a/site/skin/basic.css b/site/skin/basic.css
deleted file mode 100644
index eb24c326c..000000000
--- a/site/skin/basic.css
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
-* 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.
-*/
-/**
- * General
- */
-
-img { border: 0; }
-
-#content table {
- border: 0;
- width: 100%;
-}
-/*Hack to get IE to render the table at 100%*/
-* html #content table { margin-left: -3px; }
-
-#content th,
-#content td {
- margin: 0;
- padding: 0;
- vertical-align: top;
-}
-
-.clearboth {
- clear: both;
-}
-
-.note, .warning, .fixme {
- border: solid black 1px;
- margin: 1em 3em;
-}
-
-.note .label {
- background: #369;
- color: white;
- font-weight: bold;
- padding: 5px 10px;
-}
-.note .content {
- background: #F0F0FF;
- color: black;
- line-height: 120%;
- font-size: 90%;
- padding: 5px 10px;
-}
-.warning .label {
- background: #C00;
- color: white;
- font-weight: bold;
- padding: 5px 10px;
-}
-.warning .content {
- background: #FFF0F0;
- color: black;
- line-height: 120%;
- font-size: 90%;
- padding: 5px 10px;
-}
-.fixme .label {
- background: #C6C600;
- color: black;
- font-weight: bold;
- padding: 5px 10px;
-}
-.fixme .content {
- padding: 5px 10px;
-}
-
-/**
- * Typography
- */
-
-body {
- font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif;
- font-size: 100%;
-}
-
-#content {
- font-family: Georgia, Palatino, Times, serif;
- font-size: 95%;
-}
-#tabs {
- font-size: 70%;
-}
-#menu {
- font-size: 80%;
-}
-#footer {
- font-size: 70%;
-}
-
-h1, h2, h3, h4, h5, h6 {
- font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
- font-weight: bold;
- margin-top: 1em;
- margin-bottom: .5em;
-}
-
-h1 {
- margin-top: 0;
- margin-bottom: 1em;
- font-size: 1.4em;
-}
-#content h1 {
- font-size: 160%;
- margin-bottom: .5em;
-}
-#menu h1 {
- margin: 0;
- padding: 10px;
- background: #336699;
- color: white;
-}
-h2 { font-size: 120%; }
-h3 { font-size: 100%; }
-h4 { font-size: 90%; }
-h5 { font-size: 80%; }
-h6 { font-size: 75%; }
-
-p {
- line-height: 120%;
- text-align: left;
- margin-top: .5em;
- margin-bottom: 1em;
-}
-
-#content li,
-#content th,
-#content td,
-#content li ul,
-#content li ol{
- margin-top: .5em;
- margin-bottom: .5em;
-}
-
-
-#content li li,
-#minitoc-area li{
- margin-top: 0em;
- margin-bottom: 0em;
-}
-
-#content .attribution {
- text-align: right;
- font-style: italic;
- font-size: 85%;
- margin-top: 1em;
-}
-
-.codefrag {
- font-family: "Courier New", Courier, monospace;
- font-size: 110%;
-}
\ No newline at end of file
diff --git a/site/skin/breadcrumbs-optimized.js b/site/skin/breadcrumbs-optimized.js
deleted file mode 100644
index 507612af8..000000000
--- a/site/skin/breadcrumbs-optimized.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
-* 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.
-*/
-var PREPREND_CRUMBS=new Array();
-var link1="@skinconfig.trail.link1.name@";
-var link2="@skinconfig.trail.link2.name@";
-var link3="@skinconfig.trail.link3.name@";
-if(!(link1=="")&&!link1.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link1, @skinconfig.trail.link1.href@ ) ); }
-if(!(link2=="")&&!link2.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link2, @skinconfig.trail.link2.href@ ) ); }
-if(!(link3=="")&&!link3.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link3, @skinconfig.trail.link3.href@ ) ); }
-var DISPLAY_SEPARATOR=" &gt; ";
-var DISPLAY_PREPREND=" &gt; ";
-var DISPLAY_POSTPREND=":";
-var CSS_CLASS_CRUMB="breadcrumb";
-var CSS_CLASS_TRAIL="breadcrumbTrail";
-var CSS_CLASS_SEPARATOR="crumbSeparator";
-var FILE_EXTENSIONS=new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
-var PATH_SEPARATOR="/";
-
-function sc(s) {
- var l=s.toLowerCase();
- return l.substr(0,1).toUpperCase()+l.substr(1);
-}
-function getdirs() {
- var t=document.location.pathname.split(PATH_SEPARATOR);
- var lc=t[t.length-1];
- for(var i=0;i < FILE_EXTENSIONS.length;i++)
- {
- if(lc.indexOf(FILE_EXTENSIONS[i]))
- return t.slice(1,t.length-1); }
- return t.slice(1,t.length);
-}
-function getcrumbs( d )
-{
- var pre = "/";
- var post = "/";
- var c = new Array();
- if( d != null )
- {
- for(var i=0;i < d.length;i++) {
- pre+=d[i]+postfix;
- c.push(new Array(d[i],pre)); }
- }
- if(PREPREND_CRUMBS.length > 0 )
- return PREPREND_CRUMBS.concat( c );
- return c;
-}
-function gettrail( c )
-{
- var h=DISPLAY_PREPREND;
- for(var i=0;i < c.length;i++)
- {
- h+='<a href="'+c[i][1]+'" >'+sc(c[i][0])+'</a>';
- if(i!=(c.length-1))
- h+=DISPLAY_SEPARATOR; }
- return h+DISPLAY_POSTPREND;
-}
-
-function gettrailXHTML( c )
-{
- var h='<span class="'+CSS_CLASS_TRAIL+'">'+DISPLAY_PREPREND;
- for(var i=0;i < c.length;i++)
- {
- h+='<a href="'+c[i][1]+'" class="'+CSS_CLASS_CRUMB+'">'+sc(c[i][0])+'</a>';
- if(i!=(c.length-1))
- h+='<span class="'+CSS_CLASS_SEPARATOR+'">'+DISPLAY_SEPARATOR+'</span>'; }
- return h+DISPLAY_POSTPREND+'</span>';
-}
-
-if(document.location.href.toLowerCase().indexOf("http://")==-1)
- document.write(gettrail(getcrumbs()));
-else
- document.write(gettrail(getcrumbs(getdirs())));
-
diff --git a/site/skin/breadcrumbs.js b/site/skin/breadcrumbs.js
deleted file mode 100644
index aea80ec04..000000000
--- a/site/skin/breadcrumbs.js
+++ /dev/null
@@ -1,237 +0,0 @@
-/*
-* 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.
-*/
-/**
- * This script, when included in a html file, builds a neat breadcrumb trail
- * based on its url. That is, if it doesn't contains bugs (I'm relatively
- * sure it does).
- *
- * Typical usage:
- * <script type="text/javascript" language="JavaScript" src="breadcrumbs.js"></script>
- */
-
-/**
- * IE 5 on Mac doesn't know Array.push.
- *
- * Implement it - courtesy to fritz.
- */
-var abc = new Array();
-if (!abc.push) {
- Array.prototype.push = function(what){this[this.length]=what}
-}
-
-/* ========================================================================
- CONSTANTS
- ======================================================================== */
-
-/**
- * Two-dimensional array containing extra crumbs to place at the front of
- * the trail. Specify first the name of the crumb, then the URI that belongs
- * to it. You'll need to modify this for every domain or subdomain where
- * you use this script (you can leave it as an empty array if you wish)
- */
-var PREPREND_CRUMBS = new Array();
-
-var link1 = "@skinconfig.trail.link1.name@";
-var link2 = "@skinconfig.trail.link2.name@";
-var link3 = "@skinconfig.trail.link3.name@";
-
-var href1 = "@skinconfig.trail.link1.href@";
-var href2 = "@skinconfig.trail.link2.href@";
-var href3 = "@skinconfig.trail.link3.href@";
-
- if(!(link1=="")&&!link1.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link1, href1 ) );
- }
- if(!(link2=="")&&!link2.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link2, href2 ) );
- }
- if(!(link3=="")&&!link3.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link3, href3 ) );
- }
-
-/**
- * String to include between crumbs:
- */
-var DISPLAY_SEPARATOR = " &gt; ";
-/**
- * String to include at the beginning of the trail
- */
-var DISPLAY_PREPREND = " &gt; ";
-/**
- * String to include at the end of the trail
- */
-var DISPLAY_POSTPREND = "";
-
-/**
- * CSS Class to use for a single crumb:
- */
-var CSS_CLASS_CRUMB = "breadcrumb";
-
-/**
- * CSS Class to use for the complete trail:
- */
-var CSS_CLASS_TRAIL = "breadcrumbTrail";
-
-/**
- * CSS Class to use for crumb separator:
- */
-var CSS_CLASS_SEPARATOR = "crumbSeparator";
-
-/**
- * Array of strings containing common file extensions. We use this to
- * determine what part of the url to ignore (if it contains one of the
- * string specified here, we ignore it).
- */
-var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
-
-/**
- * String that separates parts of the breadcrumb trail from each other.
- * When this is no longer a slash, I'm sure I'll be old and grey.
- */
-var PATH_SEPARATOR = "/";
-
-/* ========================================================================
- UTILITY FUNCTIONS
- ======================================================================== */
-/**
- * Capitalize first letter of the provided string and return the modified
- * string.
- */
-function sentenceCase( string )
-{ return string;
- //var lower = string.toLowerCase();
- //return lower.substr(0,1).toUpperCase() + lower.substr(1);
-}
-
-/**
- * Returns an array containing the names of all the directories in the
- * current document URL
- */
-function getDirectoriesInURL()
-{
- var trail = document.location.pathname.split( PATH_SEPARATOR );
-
- // check whether last section is a file or a directory
- var lastcrumb = trail[trail.length-1];
- for( var i = 0; i < FILE_EXTENSIONS.length; i++ )
- {
- if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) )
- {
- // it is, remove it and send results
- return trail.slice( 1, trail.length-1 );
- }
- }
-
- // it's not; send the trail unmodified
- return trail.slice( 1, trail.length );
-}
-
-/* ========================================================================
- BREADCRUMB FUNCTIONALITY
- ======================================================================== */
-/**
- * Return a two-dimensional array describing the breadcrumbs based on the
- * array of directories passed in.
- */
-function getBreadcrumbs( dirs )
-{
- var prefix = "/";
- var postfix = "/";
-
- // the array we will return
- var crumbs = new Array();
-
- if( dirs != null )
- {
- for( var i = 0; i < dirs.length; i++ )
- {
- prefix += dirs[i] + postfix;
- crumbs.push( new Array( dirs[i], prefix ) );
- }
- }
-
- // preprend the PREPREND_CRUMBS
- if(PREPREND_CRUMBS.length > 0 )
- {
- return PREPREND_CRUMBS.concat( crumbs );
- }
-
- return crumbs;
-}
-
-/**
- * Return a string containing a simple text breadcrumb trail based on the
- * two-dimensional array passed in.
- */
-function getCrumbTrail( crumbs )
-{
- var xhtml = DISPLAY_PREPREND;
-
- for( var i = 0; i < crumbs.length; i++ )
- {
- xhtml += '<a href="' + crumbs[i][1] + '" >';
- xhtml += unescape( crumbs[i][0] ) + '</a>';
- if( i != (crumbs.length-1) )
- {
- xhtml += DISPLAY_SEPARATOR;
- }
- }
-
- xhtml += DISPLAY_POSTPREND;
-
- return xhtml;
-}
-
-/**
- * Return a string containing an XHTML breadcrumb trail based on the
- * two-dimensional array passed in.
- */
-function getCrumbTrailXHTML( crumbs )
-{
- var xhtml = '<span class="' + CSS_CLASS_TRAIL + '">';
- xhtml += DISPLAY_PREPREND;
-
- for( var i = 0; i < crumbs.length; i++ )
- {
- xhtml += '<a href="' + crumbs[i][1] + '" class="' + CSS_CLASS_CRUMB + '">';
- xhtml += unescape( crumbs[i][0] ) + '</a>';
- if( i != (crumbs.length-1) )
- {
- xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + DISPLAY_SEPARATOR + '</span>';
- }
- }
-
- xhtml += DISPLAY_POSTPREND;
- xhtml += '</span>';
-
- return xhtml;
-}
-
-/* ========================================================================
- PRINT BREADCRUMB TRAIL
- ======================================================================== */
-
-// check if we're local; if so, only print the PREPREND_CRUMBS
-if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 )
-{
- document.write( getCrumbTrail( getBreadcrumbs() ) );
-}
-else
-{
- document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) );
-}
-
diff --git a/site/skin/fontsize.js b/site/skin/fontsize.js
deleted file mode 100644
index 11722bfc5..000000000
--- a/site/skin/fontsize.js
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
-* 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.
-*/
-function init()
-{ //embedded in the doc
- //ndeSetTextSize();
-}
-
-function checkBrowser(){
- if (!document.getElementsByTagName){
- return true;
- }
- else{
- return false;
- }
-}
-
-
-function ndeSetTextSize(chgsize,rs)
-{
- var startSize;
- var newSize;
-
- if (!checkBrowser)
- {
- return;
- }
-
- startSize = parseInt(ndeGetDocTextSize());
-
- if (!startSize)
- {
- startSize = 16;
- }
-
- switch (chgsize)
- {
- case 'incr':
- newSize = startSize + 2;
- break;
-
- case 'decr':
- newSize = startSize - 2;
- break;
-
- case 'reset':
- if (rs) {newSize = rs;} else {newSize = 16;}
- break;
-
- default:
- try{
- newSize = parseInt(ndeReadCookie("nde-textsize"));
- }
- catch(e){
- alert(e);
- }
-
- if (!newSize || newSize == 'NaN')
- {
- newSize = startSize;
- }
- break;
-
- }
-
- if (newSize < 10)
- {
- newSize = 10;
- }
-
- newSize += 'px';
-
- document.getElementsByTagName('html')[0].style.fontSize = newSize;
- document.getElementsByTagName('body')[0].style.fontSize = newSize;
-
- ndeCreateCookie("nde-textsize", newSize, 365);
-}
-
-function ndeGetDocTextSize()
-{
- if (!checkBrowser)
- {
- return 0;
- }
-
- var size = 0;
- var body = document.getElementsByTagName('body')[0];
-
- if (body.style && body.style.fontSize)
- {
- size = body.style.fontSize;
- }
- else if (typeof(getComputedStyle) != 'undefined')
- {
- size = getComputedStyle(body,'').getPropertyValue('font-size');
- }
- else if (body.currentStyle)
- {
- size = body.currentStyle.fontSize;
- }
-
- //fix IE bug
- if( isNaN(size)){
- if(size.substring(size.length-1)=="%"){
- return
- }
-
- }
-
- return size;
-
-}
-
-
-
-function ndeCreateCookie(name,value,days)
-{
- var cookie = name + "=" + value + ";";
-
- if (days)
- {
- var date = new Date();
- date.setTime(date.getTime()+(days*24*60*60*1000));
- cookie += " expires=" + date.toGMTString() + ";";
- }
- cookie += " path=/";
-
- document.cookie = cookie;
-
-}
-
-function ndeReadCookie(name)
-{
- var nameEQ = name + "=";
- var ca = document.cookie.split(';');
-
-
- for(var i = 0; i < ca.length; i++)
- {
- var c = ca[i];
- while (c.charAt(0) == ' ')
- {
- c = c.substring(1, c.length);
- }
-
- ctest = c.substring(0,name.length);
-
- if(ctest == name){
- return c.substring(nameEQ.length,c.length);
- }
- }
- return null;
-}
diff --git a/site/skin/forrest.css.xslt b/site/skin/forrest.css.xslt
deleted file mode 100644
index 7fce39121..000000000
--- a/site/skin/forrest.css.xslt
+++ /dev/null
@@ -1,86 +0,0 @@
-<?xml version="1.0"?>
-<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <!-- This is not used by Forrest but makes it possible to debug the
- stylesheet in standalone editors -->
- <xsl:output method = "text" omit-xml-declaration="yes" />
-
-<!--
- If the skin doesn't override this, at least aural styles
- and extra-css are present
--->
- <xsl:template match="skinconfig">
-
- <xsl:call-template name="aural"/>
- <xsl:call-template name="a-external"/>
- <xsl:apply-templates/>
- <xsl:call-template name="add-extra-css"/>
- </xsl:template>
-
- <xsl:template match="colors">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template name="aural">
-
-/* ==================== aural ============================ */
-
-@media aural {
- h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
- h1 { pitch: x-low; pitch-range: 90 }
- h2 { pitch: x-low; pitch-range: 80 }
- h3 { pitch: low; pitch-range: 70 }
- h4 { pitch: medium; pitch-range: 60 }
- h5 { pitch: medium; pitch-range: 50 }
- h6 { pitch: medium; pitch-range: 40 }
- li, dt, dd { pitch: medium; richness: 60 }
- dt { stress: 80 }
- pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
- em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
- strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
- dfn { pitch: high; pitch-range: 60; stress: 60 }
- s, strike { richness: 0 }
- i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
- b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
- u { richness: 0 }
-
- :link { voice-family: harry, male }
- :visited { voice-family: betty, female }
- :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
-}
- </xsl:template>
-
- <xsl:template name="a-external">
-a.external {
- padding: 0 20px 0px 0px;
- display:inline;
- background-repeat: no-repeat;
- background-position: center right;
- background-image: url(images/external-link.gif);
-}
- </xsl:template>
-
- <xsl:template name="add-extra-css">
- <xsl:text>/* extra-css */</xsl:text>
- <xsl:value-of select="extra-css"/>
- </xsl:template>
-
- <xsl:template match="*"></xsl:template>
- <xsl:template match="text()"></xsl:template>
-
-</xsl:stylesheet>
diff --git a/site/skin/getBlank.js b/site/skin/getBlank.js
deleted file mode 100644
index d9978c0b3..000000000
--- a/site/skin/getBlank.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-* 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.
-*/
-/**
- * getBlank script - when included in a html file and called from a form text field, will set the value of this field to ""
- * if the text value is still the standard value.
- * getPrompt script - when included in a html file and called from a form text field, will set the value of this field to the prompt
- * if the text value is empty.
- *
- * Typical usage:
- * <script type="text/javascript" language="JavaScript" src="getBlank.js"></script>
- * <input type="text" id="query" value="Search the site:" onFocus="getBlank (this, 'Search the site:');" onBlur="getBlank (this, 'Search the site:');"/>
- */
-<!--
-function getBlank (form, stdValue){
-if (form.value == stdValue){
- form.value = '';
- }
-return true;
-}
-function getPrompt (form, stdValue){
-if (form.value == ''){
- form.value = stdValue;
- }
-return true;
-}
-//-->
diff --git a/site/skin/getMenu.js b/site/skin/getMenu.js
deleted file mode 100644
index b17aad618..000000000
--- a/site/skin/getMenu.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-* 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.
-*/
-/**
- * This script, when included in a html file, can be used to make collapsible menus
- *
- * Typical usage:
- * <script type="text/javascript" language="JavaScript" src="menu.js"></script>
- */
-
-if (document.getElementById){
- document.write('<style type="text/css">.menuitemgroup{display: none;}</style>')
-}
-
-
-function SwitchMenu(obj, thePath)
-{
-var open = 'url("'+thePath + 'images/chapter_open.gif")';
-var close = 'url("'+thePath + 'images/chapter.gif")';
- if(document.getElementById) {
- var el = document.getElementById(obj);
- var title = document.getElementById(obj+'Title');
-
- if(el.style.display != "block"){
- title.style.backgroundImage = open;
- el.style.display = "block";
- }else{
- title.style.backgroundImage = close;
- el.style.display = "none";
- }
- }// end - if(document.getElementById)
-}//end - function SwitchMenu(obj)
diff --git a/site/skin/images/README.txt b/site/skin/images/README.txt
deleted file mode 100644
index e0932f4a4..000000000
--- a/site/skin/images/README.txt
+++ /dev/null
@@ -1 +0,0 @@
-The images in this directory are used if the current skin lacks them.
diff --git a/site/skin/images/add.jpg b/site/skin/images/add.jpg
deleted file mode 100644
index 06831eeb3..000000000
Binary files a/site/skin/images/add.jpg and /dev/null differ
diff --git a/site/skin/images/built-with-forrest-button.png b/site/skin/images/built-with-forrest-button.png
deleted file mode 100644
index 4a787abe4..000000000
Binary files a/site/skin/images/built-with-forrest-button.png and /dev/null differ
diff --git a/site/skin/images/chapter.gif b/site/skin/images/chapter.gif
deleted file mode 100644
index d3d8245d0..000000000
Binary files a/site/skin/images/chapter.gif and /dev/null differ
diff --git a/site/skin/images/chapter_open.gif b/site/skin/images/chapter_open.gif
deleted file mode 100644
index eecce18b5..000000000
Binary files a/site/skin/images/chapter_open.gif and /dev/null differ
diff --git a/site/skin/images/corner-imports.svg.xslt b/site/skin/images/corner-imports.svg.xslt
deleted file mode 100644
index 3c335b487..000000000
--- a/site/skin/images/corner-imports.svg.xslt
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0"?>
-<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:param name="orientation-tb"/>
- <xsl:param name="orientation-lr"/>
- <xsl:param name="size"/>
- <xsl:param name="bg-color-name"/>
- <xsl:param name="stroke-color-name"/>
- <xsl:param name="fg-color-name"/>
-
- <!-- if not all colors are present, don't even try to render the corners -->
- <xsl:variable name="isize"><xsl:choose>
- <xsl:when test="$bg-color-name and $stroke-color-name and $fg-color-name"><xsl:value-of select="$size"/></xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose></xsl:variable>
- <xsl:variable name="smallersize" select="number($isize)-1"/>
- <xsl:variable name="biggersize" select="number($isize)+1"/>
- <xsl:variable name="bg"><xsl:if test="skinconfig/colors/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if></xsl:variable>
- <xsl:variable name="fill"><xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if></xsl:variable>
- <xsl:variable name="stroke"><xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@name=$fg-color-name]/@value"/>;</xsl:if></xsl:variable>
-
- <xsl:template match="skinconfig">
-
-
-
-<svg width="{$isize}" height="{$isize}">
- <!-- background-->
- <rect x="-1" y="-1" width="{$biggersize}" height="{$biggersize}" style="{$bg}stroke-width:0"/>
-<!-- 0,0 0,-4 4,0 4,-4-->
-
- <xsl:variable name="flip-tb-scale">
- <xsl:choose>
- <xsl:when test="$orientation-tb='t'">1</xsl:when>
- <xsl:otherwise>-1</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="flip-lr-scale">
- <xsl:choose>
- <xsl:when test="$orientation-lr='l'">1</xsl:when>
- <xsl:otherwise>-1</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="flip-tb-translate">
- <xsl:choose>
- <xsl:when test="$orientation-tb='t'">0</xsl:when>
- <xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="flip-lr-translate">
- <xsl:choose>
- <xsl:when test="$orientation-lr='l'">0</xsl:when>
- <xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <!-- flip transform -->
- <g transform="scale({$flip-lr-scale},{$flip-tb-scale}) translate({$flip-lr-translate}, {$flip-tb-translate})">
- <xsl:call-template name="figure" />
- </g>
-</svg>
-</xsl:template>
-
-
- <xsl:template name="figure">
- <!-- Just change shape here -->
- <g transform="translate(0.5 0.5)">
- <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
- style="{$fill}{$stroke}stroke-width:1"/>
- </g>
- <!-- end -->
- </xsl:template>
-
-
- <xsl:template match="*"></xsl:template>
- <xsl:template match="text()"></xsl:template>
-
-</xsl:stylesheet>
diff --git a/site/skin/images/current.gif b/site/skin/images/current.gif
deleted file mode 100644
index fd82c0820..000000000
Binary files a/site/skin/images/current.gif and /dev/null differ
diff --git a/site/skin/images/dc.svg.xslt b/site/skin/images/dc.svg.xslt
deleted file mode 100644
index fb8cfb0da..000000000
--- a/site/skin/images/dc.svg.xslt
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:import href="corner-imports.svg.xslt" />
-
- <!-- Diagonal 45 degrees corner -->
- <xsl:template name="figure">
- <xsl:variable name="biggersize" select="number($size)+number($size)"/>
- <g transform="translate(0 0.5)">
- <polygon points="0,{$size} {$size},0 {$biggersize},0 {$biggersize},{$biggersize} 0,{$biggersize}"
- style="{$fill}{$stroke}stroke-width:1"/>
- </g>
- </xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/site/skin/images/error.png b/site/skin/images/error.png
deleted file mode 100644
index b4fe06e37..000000000
Binary files a/site/skin/images/error.png and /dev/null differ
diff --git a/site/skin/images/external-link.gif b/site/skin/images/external-link.gif
deleted file mode 100644
index ff2f7b2a0..000000000
Binary files a/site/skin/images/external-link.gif and /dev/null differ
diff --git a/site/skin/images/fix.jpg b/site/skin/images/fix.jpg
deleted file mode 100644
index 1d6820b43..000000000
Binary files a/site/skin/images/fix.jpg and /dev/null differ
diff --git a/site/skin/images/forrest-credit-logo.png b/site/skin/images/forrest-credit-logo.png
deleted file mode 100644
index 8a63e4203..000000000
Binary files a/site/skin/images/forrest-credit-logo.png and /dev/null differ
diff --git a/site/skin/images/hack.jpg b/site/skin/images/hack.jpg
deleted file mode 100644
index f38d50fe4..000000000
Binary files a/site/skin/images/hack.jpg and /dev/null differ
diff --git a/site/skin/images/header_white_line.gif b/site/skin/images/header_white_line.gif
deleted file mode 100644
index 369cae8dc..000000000
Binary files a/site/skin/images/header_white_line.gif and /dev/null differ
diff --git a/site/skin/images/info.png b/site/skin/images/info.png
deleted file mode 100644
index 2e53447e8..000000000
Binary files a/site/skin/images/info.png and /dev/null differ
diff --git a/site/skin/images/instruction_arrow.png b/site/skin/images/instruction_arrow.png
deleted file mode 100644
index 0fbc72452..000000000
Binary files a/site/skin/images/instruction_arrow.png and /dev/null differ
diff --git a/site/skin/images/label.gif b/site/skin/images/label.gif
deleted file mode 100644
index c83a3893c..000000000
Binary files a/site/skin/images/label.gif and /dev/null differ
diff --git a/site/skin/images/page.gif b/site/skin/images/page.gif
deleted file mode 100644
index a144d3295..000000000
Binary files a/site/skin/images/page.gif and /dev/null differ
diff --git a/site/skin/images/pdfdoc.gif b/site/skin/images/pdfdoc.gif
deleted file mode 100644
index ec13eb52f..000000000
Binary files a/site/skin/images/pdfdoc.gif and /dev/null differ
diff --git a/site/skin/images/poddoc.png b/site/skin/images/poddoc.png
deleted file mode 100644
index a393df737..000000000
Binary files a/site/skin/images/poddoc.png and /dev/null differ
diff --git a/site/skin/images/poddoc.svg.xslt b/site/skin/images/poddoc.svg.xslt
deleted file mode 100644
index 160d3da2d..000000000
--- a/site/skin/images/poddoc.svg.xslt
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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.
--->
-<svg width="20pt" height="20pt"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <defs
- id="defs550">
- <linearGradient id="gray2white">
- <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
- <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
- </linearGradient>
- <linearGradient id="pageshade" xlink:href="#gray2white"
- x1="0.95" y1="0.95"
- x2="0.40" y2="0.20"
- gradientUnits="objectBoundingBox" spreadMethod="pad" />
- <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
- </defs>
-
- <g transform="scale(0.08)">
- <g transform="translate(40, 0)">
- <rect width="230" height="300" x="0" y="0"
- style="fill:url(#pageshade);fill-rule:evenodd;
- stroke:#000000;stroke-width:1.25;"/>
-
- <g transform="translate(15, 60)">
- <use xlink:href="#hr" x="0" y="0"/>
- <use xlink:href="#hr" x="0" y="60"/>
- <use xlink:href="#hr" x="0" y="120"/>
- <use xlink:href="#hr" x="0" y="180"/>
- </g>
- </g>
-
- <g transform="translate(0,70),scale(1.1,1.6)">
- <rect width="200" height="100" x="0" y="0"
- style="fill:#ff0000;fill-rule:evenodd;
- stroke:#000000;stroke-width:2.33903;"/>
- <text x="20" y="75"
- style="stroke:#ffffff;stroke-width:1.0;
- font-size:72;font-weight:normal;fill:#ffffff;
- font-family:Arial;text-anchor:start;">POD</text>
- </g>
- </g>
-</svg>
diff --git a/site/skin/images/printer.gif b/site/skin/images/printer.gif
deleted file mode 100644
index a8d0d419c..000000000
Binary files a/site/skin/images/printer.gif and /dev/null differ
diff --git a/site/skin/images/rc-b-l-15-1body-2menu-3menu.png b/site/skin/images/rc-b-l-15-1body-2menu-3menu.png
deleted file mode 100644
index cdb460a1d..000000000
Binary files a/site/skin/images/rc-b-l-15-1body-2menu-3menu.png and /dev/null differ
diff --git a/site/skin/images/rc-b-r-15-1body-2menu-3menu.png b/site/skin/images/rc-b-r-15-1body-2menu-3menu.png
deleted file mode 100644
index 3eff254fd..000000000
Binary files a/site/skin/images/rc-b-r-15-1body-2menu-3menu.png and /dev/null differ
diff --git a/site/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png b/site/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png
deleted file mode 100644
index b175f27b1..000000000
Binary files a/site/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png and /dev/null differ
diff --git a/site/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png b/site/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png
deleted file mode 100644
index e9f4440d1..000000000
Binary files a/site/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png and /dev/null differ
diff --git a/site/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png b/site/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png
deleted file mode 100644
index f1e015b36..000000000
Binary files a/site/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png and /dev/null differ
diff --git a/site/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png b/site/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png
deleted file mode 100644
index e9f4440d1..000000000
Binary files a/site/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png and /dev/null differ
diff --git a/site/skin/images/rc-t-r-15-1body-2menu-3menu.png b/site/skin/images/rc-t-r-15-1body-2menu-3menu.png
deleted file mode 100644
index 29388b5ef..000000000
Binary files a/site/skin/images/rc-t-r-15-1body-2menu-3menu.png and /dev/null differ
diff --git a/site/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png b/site/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png
deleted file mode 100644
index 944ed7333..000000000
Binary files a/site/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png and /dev/null differ
diff --git a/site/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png b/site/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png
deleted file mode 100644
index c4d4a8c7c..000000000
Binary files a/site/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png and /dev/null differ
diff --git a/site/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png b/site/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png
deleted file mode 100644
index 944ed7333..000000000
Binary files a/site/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png and /dev/null differ
diff --git a/site/skin/images/rc.svg.xslt b/site/skin/images/rc.svg.xslt
deleted file mode 100644
index fe097eb8c..000000000
--- a/site/skin/images/rc.svg.xslt
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:import href="corner-imports.svg.xslt" />
-
- <!-- Rounded corner -->
- <xsl:template name="figure">
- <g transform="translate(0.5 0.5)">
- <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
- style="{$fill}{$stroke}stroke-width:1"/>
- </g>
- </xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/site/skin/images/remove.jpg b/site/skin/images/remove.jpg
deleted file mode 100644
index 8c9b9efa8..000000000
Binary files a/site/skin/images/remove.jpg and /dev/null differ
diff --git a/site/skin/images/rss.png b/site/skin/images/rss.png
deleted file mode 100644
index f0796ac88..000000000
Binary files a/site/skin/images/rss.png and /dev/null differ
diff --git a/site/skin/images/spacer.gif b/site/skin/images/spacer.gif
deleted file mode 100644
index 35d42e808..000000000
Binary files a/site/skin/images/spacer.gif and /dev/null differ
diff --git a/site/skin/images/success.png b/site/skin/images/success.png
deleted file mode 100644
index 96fcfea32..000000000
Binary files a/site/skin/images/success.png and /dev/null differ
diff --git a/site/skin/images/txtdoc.png b/site/skin/images/txtdoc.png
deleted file mode 100644
index bf8b3744a..000000000
Binary files a/site/skin/images/txtdoc.png and /dev/null differ
diff --git a/site/skin/images/txtdoc.svg.xslt b/site/skin/images/txtdoc.svg.xslt
deleted file mode 100644
index ebbdef52c..000000000
--- a/site/skin/images/txtdoc.svg.xslt
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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.
--->
-<svg width="20pt" height="20pt"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <defs
- id="defs550">
- <linearGradient id="gray2white">
- <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
- <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
- </linearGradient>
- <linearGradient id="pageshade" xlink:href="#gray2white"
- x1="0.95" y1="0.95"
- x2="0.40" y2="0.20"
- gradientUnits="objectBoundingBox" spreadMethod="pad" />
- <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
- </defs>
-
- <g transform="scale(0.08)">
- <g transform="translate(40, 0)">
- <rect width="230" height="300" x="0" y="0"
- style="fill:url(#pageshade);fill-rule:evenodd;
- stroke:#000000;stroke-width:1.25;"/>
-
- <g transform="translate(15, 60)">
- <use xlink:href="#hr" x="0" y="0"/>
- <use xlink:href="#hr" x="0" y="60"/>
- <use xlink:href="#hr" x="0" y="120"/>
- <use xlink:href="#hr" x="0" y="180"/>
- </g>
- </g>
-
- <g transform="translate(0,70),scale(1.1,1.6)">
- <rect width="200" height="100" x="0" y="0"
- style="fill:#ff0000;fill-rule:evenodd;
- stroke:#000000;stroke-width:2.33903;"/>
- <text x="20" y="75"
- style="stroke:#ffffff;stroke-width:1.0;
- font-size:72;font-weight:normal;fill:#ffffff;
- font-family:Arial;text-anchor:start;">TXT</text>
- </g>
- </g>
-</svg>
diff --git a/site/skin/images/update.jpg b/site/skin/images/update.jpg
deleted file mode 100644
index beb920733..000000000
Binary files a/site/skin/images/update.jpg and /dev/null differ
diff --git a/site/skin/images/valid-html401.png b/site/skin/images/valid-html401.png
deleted file mode 100644
index 3855210c6..000000000
Binary files a/site/skin/images/valid-html401.png and /dev/null differ
diff --git a/site/skin/images/vcss.png b/site/skin/images/vcss.png
deleted file mode 100644
index 9b2f596e0..000000000
Binary files a/site/skin/images/vcss.png and /dev/null differ
diff --git a/site/skin/images/warning.png b/site/skin/images/warning.png
deleted file mode 100644
index b81b2ce8a..000000000
Binary files a/site/skin/images/warning.png and /dev/null differ
diff --git a/site/skin/images/xmldoc.gif b/site/skin/images/xmldoc.gif
deleted file mode 100644
index c92d9b905..000000000
Binary files a/site/skin/images/xmldoc.gif and /dev/null differ
diff --git a/site/skin/menu.js b/site/skin/menu.js
deleted file mode 100644
index 06ea471dc..000000000
--- a/site/skin/menu.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
-* 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.
-*/
-/**
- * This script, when included in a html file, can be used to make collapsible menus
- *
- * Typical usage:
- * <script type="text/javascript" language="JavaScript" src="menu.js"></script>
- */
-
-if (document.getElementById){
- document.write('<style type="text/css">.menuitemgroup{display: none;}</style>')
-}
-
-function SwitchMenu(obj)
-{
- if(document.getElementById) {
- var el = document.getElementById(obj);
- var title = document.getElementById(obj+'Title');
-
- if(obj.indexOf("_selected_")==0&&el.style.display == ""){
- el.style.display = "block";
- title.className = "pagegroupselected";
- }
-
- if(el.style.display != "block"){
- el.style.display = "block";
- title.className = "pagegroupopen";
- }
- else{
- el.style.display = "none";
- title.className = "pagegroup";
- }
- }// end - if(document.getElementById)
-}//end - function SwitchMenu(obj)
diff --git a/site/skin/note.txt b/site/skin/note.txt
deleted file mode 100644
index d34c8db5e..000000000
--- a/site/skin/note.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-Notes for developer:
-
---Legend-------------------
-TODO -> blocker
-DONE -> blocker
-ToDo -> enhancement bug
-done -> enhancement bug
-
---Issues-------------------
-- the corner images should be rendered through svg with the header color.
--> DONE
--> ToDo: get rid of the images and use only divs!
-
-- the menu points should be displayed "better".
--> DONE
--- Use the krysalis-site menu approach for the overall menu display.
--> DONE
--- Use the old lenya innermenu approch to further enhance the menu .
--> DONE
-
-- the content area needs some attention.
--> DONE
--- introduce the heading scheme from krysalis (<headings type="clean|box|underlined"/>)
--> DONE
--> ToDo: make box with round corners
--> done: make underlined with variable border height
--> ToDo: make underline with bottom round corner
--- introduce the toc for each html-page
--> DONE
--- introduce the external-link-images.
--> DONE
-
-- the publish note should be where now only a border is.
-Like <div id="published"/>
--> DONE
-, but make it configurable.
--> DONE
-- footer needs some attention
--> DONE
--- the footer do not have the color profile! Enable it!
--> DONE
--- the footer should as well contain a feedback link.
-See http://issues.apache.org/eyebrowse/[email protected]&msgNo=71
--> DONE
-
-- introduce credits alternativ location
--> DONE
-
-- border for published / breadtrail / menu /tab divs
--> ToDo
\ No newline at end of file
diff --git a/site/skin/print.css b/site/skin/print.css
deleted file mode 100644
index aaa99319a..000000000
--- a/site/skin/print.css
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-* 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.
-*/
-body {
- font-family: Georgia, Palatino, serif;
- font-size: 12pt;
- background: white;
-}
-
-#tabs,
-#menu,
-#content .toc {
- display: none;
-}
-
-#content {
- width: auto;
- padding: 0;
- float: none !important;
- color: black;
- background: inherit;
-}
-
-a:link, a:visited {
- color: #336699;
- background: inherit;
- text-decoration: underline;
-}
-
-#top .logo {
- padding: 0;
- margin: 0 0 2em 0;
-}
-
-#footer {
- margin-top: 4em;
-}
-
-acronym {
- border: 0;
-}
\ No newline at end of file
diff --git a/site/skin/profile.css b/site/skin/profile.css
deleted file mode 100644
index 1df706fa0..000000000
--- a/site/skin/profile.css
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
-/* ==================== aural ============================ */
-
-@media aural {
- h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
- h1 { pitch: x-low; pitch-range: 90 }
- h2 { pitch: x-low; pitch-range: 80 }
- h3 { pitch: low; pitch-range: 70 }
- h4 { pitch: medium; pitch-range: 60 }
- h5 { pitch: medium; pitch-range: 50 }
- h6 { pitch: medium; pitch-range: 40 }
- li, dt, dd { pitch: medium; richness: 60 }
- dt { stress: 80 }
- pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
- em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
- strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
- dfn { pitch: high; pitch-range: 60; stress: 60 }
- s, strike { richness: 0 }
- i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
- b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
- u { richness: 0 }
-
- :link { voice-family: harry, male }
- :visited { voice-family: betty, female }
- :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
-}
-
-a.external {
- padding: 0 20px 0px 0px;
- display:inline;
- background-repeat: no-repeat;
- background-position: center right;
- background-image: url(images/external-link.gif);
-}
-
-#top { background-color: #FFFFFF;}
-
-#top .header .current { background-color: #4C6C8F;}
-#top .header .current a:link { color: #ffffff; }
-#top .header .current a:visited { color: #ffffff; }
-#top .header .current a:hover { color: #ffffff; }
-
-#tabs li { background-color: #E5E4D9 ;}
-#tabs li a:link { color: #000000; }
-#tabs li a:visited { color: #000000; }
-#tabs li a:hover { color: #000000; }
-
-#level2tabs a.selected { background-color: #4C6C8F ;}
-#level2tabs a:link { color: #ffffff; }
-#level2tabs a:visited { color: #ffffff; }
-#level2tabs a:hover { color: #ffffff; }
-
-#level2tabs { background-color: #E5E4D9;}
-#level2tabs a.unselected:link { color: #000000; }
-#level2tabs a.unselected:visited { color: #000000; }
-#level2tabs a.unselected:hover { color: #000000; }
-
-.heading { background-color: #E5E4D9;}
-
-.boxed { background-color: #E5E4D9;}
-.underlined_5 {border-bottom: solid 5px #E5E4D9;}
-.underlined_10 {border-bottom: solid 10px #E5E4D9;}
-table caption {
-background-color: #E5E4D9;
-color: #000000;
-}
-
-#feedback {
-color: #FFFFFF;
-background: #4C6C8F;
-text-align: center;
-}
-#feedback #feedbackto {
-color: #FFFFFF;
-}
-
-#publishedStrip {
-color: #FFFFFF;
-background: #4C6C8F;
-}
-
-#publishedStrip {
-color: #000000;
-background: #E5E4D9;
-}
-
-#menu .menupagetitle { background-color: #CFDCED;
- color: #000000;}
-
-#menu { border-color: #999999;}
-#menu .menupagetitle { border-color: #999999;}
-#menu .menupageitemgroup { border-color: #999999;}
-
-#menu { background-color: #4C6C8F;}
-#menu { color: #ffffff;}
-#menu a:link { color: #ffffff;}
-#menu a:visited { color: #ffffff;}
-#menu a:hover {
-background-color: #4C6C8F;
-color: #ffffff;}
-
-#menu h1 {
-color: #000000;
-background-color: #cfdced;
-}
-
-#top .searchbox {
-background-color: #E5E4D9 ;
-color: #000000;
-}
-
-#menu .menupageitemgroup {
-background-color: #E5E4D9;
-}
-#menu .menupageitem {
-color: #000000;
-}
-#menu .menupageitem a:link { color: #000000;}
-#menu .menupageitem a:visited { color: #000000;}
-#menu .menupageitem a:hover {
-background-color: #E5E4D9;
-color: #000000;
-}
-
-body{
-background-color: #ffffff;
-color: #000000;
-}
-a:link { color:#0000ff}
-a:visited { color:#009999}
-a:hover { color:#6587ff}
-
-
-.ForrestTable { background-color: #ccc;}
-
-.ForrestTable td { background-color: #ffffff;}
-
-.highlight { background-color: #ffff00;}
-
-.fixme { border-color: #c60;}
-
-.note { border-color: #069;}
-
-.warning { border-color: #900;}
-
-.code { border-color: #a5b6c6;}
-
-#footer { background-color: #E5E4D9;}
-/* extra-css */
-
- p.quote {
- margin-left: 2em;
- padding: .5em;
- background-color: #f0f0f0;
- font-family: monospace;
- }
-
- #footer a { color: #0F3660; }
- #footer a:visited { color: #009999; }
-
\ No newline at end of file
diff --git a/site/skin/profile.css.xslt b/site/skin/profile.css.xslt
deleted file mode 100644
index e36da36bb..000000000
--- a/site/skin/profile.css.xslt
+++ /dev/null
@@ -1,208 +0,0 @@
-<?xml version="1.0"?>
-<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:import href="../../common/css/forrest.css.xslt"/>
-
- <!-- xsl:output is not used by Forrest but makes it possible to debug the
- stylesheet in standalone editors -->
- <xsl:output method = "text" omit-xml-declaration="yes" />
-
-<!-- ==================== main block colors ============================ -->
-
-<xsl:template match="color[@name='header']">
-#top { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-<xsl:template match="color[@name='tab-selected']">
-#top .header .current { background-color: <xsl:value-of select="@value"/>;}
-#top .header .current a:link { color: <xsl:value-of select="@link"/>; }
-#top .header .current a:visited { color: <xsl:value-of select="@vlink"/>; }
-#top .header .current a:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template>
-
-<xsl:template match="color[@name='tab-unselected']">
-#tabs li { background-color: <xsl:value-of select="@value"/> ;}
-#tabs li a:link { color: <xsl:value-of select="@link"/>; }
-#tabs li a:visited { color: <xsl:value-of select="@vlink"/>; }
-#tabs li a:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template>
-
-<xsl:template match="color[@name='subtab-selected']">
-#level2tabs { background-color: <xsl:value-of select="@value"/> ;}
-#level2tabs a:link { color: <xsl:value-of select="@link"/>; }
-#level2tabs a:visited { color: <xsl:value-of select="@vlink"/>; }
-#level2tabs a:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template>
-
-<!--xsl:template match="color[@name='subtab-unselected']">
-.level2tabstrip { background-color: <xsl:value-of select="@value"/>;}
-.datenote { background-color: <xsl:value-of select="@value"/>;}
-.level2tabstrip.unselected a:link { color: <xsl:value-of select="@link"/>; }
-.level2tabstrip.unselected a:visited { color: <xsl:value-of select="@vlink"/>; }
-.level2tabstrip.unselected a:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template-->
-
-<xsl:template match="color[@name='heading']">
-.heading { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-<xsl:template match="color[@name='subheading']">
-.boxed { background-color: <xsl:value-of select="@value"/>;}
-.underlined_5 {border-bottom: solid 5px <xsl:value-of select="@value"/>;}
-.underlined_10 {border-bottom: solid 10px <xsl:value-of select="@value"/>;}
-table caption {
-background-color: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@font"/>;
-}
-</xsl:template>
-<xsl:template match="color[@name='feedback']">
-#feedback {
-color: <xsl:value-of select="@font"/>;
-background: <xsl:value-of select="@value"/>;
-text-align: <xsl:value-of select="@align"/>;
-}
-#feedback #feedbackto {
-color: <xsl:value-of select="@font"/>;
-}
-</xsl:template>
-
-<xsl:template match="color[@name='breadtrail']">
-#main .breadtrail {
-background: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@font"/>;
-}
-#main .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
-#main .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
-#main .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
-#top .breadtrail {
-background: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@font"/>;
-}
-#top .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
-#top .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
-#top .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template>
-<!--Fix for other (old) profiles-->
-<xsl:template match="color[@name='navstrip']">
-#publishedStrip {
-color: <xsl:value-of select="@font"/>;
-background: <xsl:value-of select="@value"/>;
-}
-</xsl:template>
-<!--has to go after the nav-strip (no 'navstrip')-->
-<xsl:template match="color[@name='published']">
-#publishedStrip {
-color: <xsl:value-of select="@font"/>;
-background: <xsl:value-of select="@value"/>;
-}
-</xsl:template>
-<xsl:template match="color[@name='toolbox']">
-#menu .menupagetitle { background-color: <xsl:value-of select="@value"/>}
-</xsl:template>
-
-<xsl:template match="color[@name='border']">
-#menu { border-color: <xsl:value-of select="@value"/>;}
-#menu .menupagetitle { border-color: <xsl:value-of select="@value"/>;}
-#menu .menupageitemgroup { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-<xsl:template match="color[@name='menu']">
-#menu { background-color: <xsl:value-of select="@value"/>;}
-#menu { color: <xsl:value-of select="@font"/>;}
-#menu a:link { color: <xsl:value-of select="@link"/>;}
-#menu a:visited { color: <xsl:value-of select="@vlink"/>;}
-#menu a:hover {
-background-color: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@hlink"/>;}
-</xsl:template>
-<xsl:template match="color[@name='dialog']">
-#menu .menupagetitle { color: <xsl:value-of select="@font"/>;}
-#menu .menupageitemgroup {
-background-color: <xsl:value-of select="@value"/>;
-}
-#menu .menupageitem {
-color: <xsl:value-of select="@font"/>;
-}
-#menu .menupageitem a:link { color: <xsl:value-of select="@link"/>;}
-#menu .menupageitem a:visited { color: <xsl:value-of select="@vlink"/>;}
-#menu .menupageitem a:hover {
-background-color: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@hlink"/>;
-}
-</xsl:template>
-<xsl:template match="color[@name='menuheading']">
-#menu h1 {
-color: <xsl:value-of select="@font"/>;
-background-color: <xsl:value-of select="@value"/>;
-}
-</xsl:template>
-<xsl:template match="color[@name='searchbox']">
-#top .searchbox {
-background-color: <xsl:value-of select="@value"/> ;
-color: <xsl:value-of select="@font"/>;
-}
-</xsl:template>
-
-<xsl:template match="color[@name='body']">
-body{
-background-color: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@font"/>;
-}
-a:link { color:<xsl:value-of select="@link"/>}
-a:visited { color:<xsl:value-of select="@vlink"/>}
-a:hover { color:<xsl:value-of select="@hlink"/>}
-
-</xsl:template>
-
-<xsl:template match="color[@name='footer']">
-#footer { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-
-<!-- ==================== other colors ============================ -->
-<xsl:template match="color[@name='highlight']">
-.highlight { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-<xsl:template match="color[@name='fixme']">
-.fixme { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-<xsl:template match="color[@name='note']">
-.note { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-<xsl:template match="color[@name='warning']">
-.warning { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-<xsl:template match="color[@name='code']">
-.code { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-<xsl:template match="color[@name='table']">
-.ForrestTable { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-<xsl:template match="color[@name='table-cell']">
-.ForrestTable td { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-
-
-</xsl:stylesheet>
diff --git a/site/skin/screen.css b/site/skin/screen.css
deleted file mode 100644
index c6084f81d..000000000
--- a/site/skin/screen.css
+++ /dev/null
@@ -1,587 +0,0 @@
-/*
-* 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.
-*/
-body { margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif; }
-
-h1 { font-size : 160%; margin: 0px 0px 0px 0px; padding: 0px; }
-h2 { font-size : 140%; margin: 1em 0px 0.8em 0px; padding: 0px; font-weight : bold;}
-h3 { font-size : 130%; margin: 0.8em 0px 0px 0px; padding: 0px; font-weight : bold; }
-.h3 { margin: 22px 0px 3px 0px; }
-h4 { font-size : 120%; margin: 0.7em 0px 0px 0px; padding: 0px; font-weight : normal; text-align: left; }
-.h4 { margin: 18px 0px 0px 0px; }
-h4.faq { font-size : 120%; margin: 18px 0px 0px 0px; padding: 0px; font-weight : bold; text-align: left; }
-h5 { font-size : 100%; margin: 14px 0px 0px 0px; padding: 0px; font-weight : normal; text-align: left; }
-
-/**
-* table
-*/
-table .title { background-color: #000000; }
-.ForrestTable {
- color: #ffffff;
- background-color: #7099C5;
- width: 100%;
- font-size : 100%;
- empty-cells: show;
-}
-table caption {
- padding-left: 5px;
- color: white;
- text-align: left;
- font-weight: bold;
- background-color: #000000;
-}
-.ForrestTable td {
- color: black;
- background-color: #f0f0ff;
-}
-.ForrestTable th { text-align: center; }
-/**
- * Page Header
- */
-
-#top {
- position: relative;
- float: left;
- width: 100%;
- background: #294563; /* if you want a background in the header, put it here */
-}
-
-#top .breadtrail {
- background: #CFDCED;
- color: black;
- border-bottom: solid 1px white;
- padding: 3px 10px;
- font-size: 75%;
-}
-#top .breadtrail a { color: black; }
-
-#top .header {
- float: left;
- width: 100%;
- background: url("images/header_white_line.gif") repeat-x bottom;
-}
-
-#top .grouplogo {
- padding: 7px 0 10px 10px;
- float: left;
- text-align: left;
-}
-#top .projectlogo {
- padding: 7px 0 10px 10px;
- float: left;
- width: 33%;
- text-align: right;
-}
-#top .projectlogoA1 {
- padding: 7px 0 10px 10px;
- float: right;
-}
-html>body #top .searchbox {
- bottom: 0px;
-}
-#top .searchbox {
- position: absolute;
- right: 10px;
- height: 42px;
- font-size: 70%;
- white-space: nowrap;
- text-align: right;
- color: white;
- background-color: #000000;
- z-index:0;
- background-image: url(images/rc-t-l-5-1header-2searchbox-3searchbox.png);
- background-repeat: no-repeat;
- background-position: top left;
- bottom: -1px; /* compensate for IE rendering issue */
-}
-
-#top .searchbox form {
- padding: 5px 10px;
- margin: 0;
-}
-#top .searchbox p {
- padding: 0 0 2px 0;
- margin: 0;
-}
-#top .searchbox input {
- font-size: 100%;
-}
-
-#tabs {
- clear: both;
- padding-left: 10px;
- margin: 0;
- list-style: none;
-}
-/* background: #CFDCED url("images/tab-right.gif") no-repeat right top;*/
-#tabs li {
- float: left;
- background-image: url(images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png);
- background-repeat: no-repeat;
- background-position: top right;
- background-color: #000000;
- margin: 0 3px 0 0;
- padding: 0;
-}
-
-/*background: url("images/tab-left.gif") no-repeat left top;*/
-#tabs li a {
- float: left;
- display: block;
- font-family: verdana, arial, sans-serif;
- text-decoration: none;
- color: black;
- white-space: nowrap;
- background-image: url(images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png);
- background-repeat: no-repeat;
- background-position: top left;
- padding: 5px 15px 4px;
- width: .1em; /* IE/Win fix */
-}
-
-#tabs li a:hover {
-
- cursor: pointer;
- text-decoration:underline;
-}
-
-#tabs > li a { width: auto; } /* Rest of IE/Win fix */
-
-/* Commented Backslash Hack hides rule from IE5-Mac \*/
-#tabs a { float: none; }
-/* End IE5-Mac hack */
-
-#top .header .current {
- background-color: #4C6C8F;
- background-image: url(images/rc-t-r-5-1header-2tab-selected-3tab-selected.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-#top .header .current a {
- font-weight: bold;
- padding-bottom: 5px;
- color: white;
- background-image: url(images/rc-t-l-5-1header-2tab-selected-3tab-selected.png);
- background-repeat: no-repeat;
- background-position: top left;
-}
-#publishedStrip {
- padding-right: 10px;
- padding-left: 20px;
- padding-top: 3px;
- padding-bottom:3px;
- color: #ffffff;
- font-size : 60%;
- font-weight: bold;
- background-color: #4C6C8F;
- text-align:right;
-}
-
-#level2tabs {
-margin: 0;
-float:left;
-position:relative;
-
-}
-
-
-
-#level2tabs a:hover {
-
- cursor: pointer;
- text-decoration:underline;
-
-}
-
-#level2tabs a{
-
- cursor: pointer;
- text-decoration:none;
- background-image: url('images/chapter.gif');
- background-repeat: no-repeat;
- background-position: center left;
- padding-left: 6px;
- margin-left: 6px;
-}
-
-/*
-* border-top: solid #4C6C8F 15px;
-*/
-#main {
- position: relative;
- background: white;
- clear:both;
-}
-#main .breadtrail {
- clear:both;
- position: relative;
- background: #CFDCED;
- color: black;
- border-bottom: solid 1px black;
- border-top: solid 1px black;
- padding: 0px 180px;
- font-size: 75%;
- z-index:10;
-}
-/**
-* Round corner
-*/
-#roundtop {
- background-image: url(images/rc-t-r-15-1body-2menu-3menu.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-
-#roundbottom {
- background-image: url(images/rc-b-r-15-1body-2menu-3menu.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-
-img.corner {
- width: 15px;
- height: 15px;
- border: none;
- display: block !important;
-}
-
-.roundtopsmall {
- background-image: url(images/rc-t-r-5-1header-2searchbox-3searchbox.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-
-#roundbottomsmall {
- background-image: url(images/rc-b-r-5-1header-2tab-selected-3tab-selected.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-
-img.cornersmall {
- width: 5px;
- height: 5px;
- border: none;
- display: block !important;
-}
-/**
- * Side menu
- */
-#menu a { font-weight: normal; text-decoration: none;}
-#menu a:visited { font-weight: normal; }
-#menu a:active { font-weight: normal; }
-#menu a:hover { font-weight: normal; text-decoration:underline;}
-
-#menuarea { width:10em;}
-#menu {
- position: relative;
- float: left;
- width: 160px;
- padding-top: 0px;
- top:-18px;
- left:10px;
- z-index: 20;
- background-color: #f90;
- font-size : 70%;
-
-}
-
-.menutitle {
- cursor:pointer;
- padding: 3px 12px;
- margin-left: 10px;
- background-image: url('images/chapter.gif');
- background-repeat: no-repeat;
- background-position: center left;
- font-weight : bold;
-
-
-}
-
-.menutitle:hover{text-decoration:underline;cursor: pointer;}
-
-#menu .menuitemgroup {
- margin: 0px 0px 6px 8px;
- padding: 0px;
- font-weight : bold; }
-
-#menu .selectedmenuitemgroup{
- margin: 0px 0px 0px 8px;
- padding: 0px;
- font-weight : normal;
-
- }
-
-#menu .menuitem {
- padding: 2px 0px 1px 13px;
- background-image: url('images/page.gif');
- background-repeat: no-repeat;
- background-position: center left;
- font-weight : normal;
- margin-left: 10px;
-}
-
-#menu .menupage {
- margin: 2px 0px 1px 10px;
- padding: 0px 3px 0px 12px;
- background-image: url('images/page.gif');
- background-repeat: no-repeat;
- background-position: center left;
- font-style : normal;
-}
-#menu .menupagetitle {
- padding: 0px 0px 0px 1px;
- font-style : normal;
- border-style: solid;
- border-width: 1px;
- margin-right: 10px;
-
-}
-#menu .menupageitemgroup {
- padding: 3px 0px 4px 6px;
- font-style : normal;
- border-bottom: 1px solid ;
- border-left: 1px solid ;
- border-right: 1px solid ;
- margin-right: 10px;
-}
-#menu .menupageitem {
- font-style : normal;
- font-weight : normal;
- border-width: 0px;
- font-size : 90%;
-}
-#menu #credit {
- text-align: center;
-}
-#menu #credit2 {
- text-align: center;
- padding: 3px 3px 3px 3px;
- background-color: #ffffff;
-}
-#menu .searchbox {
- text-align: center;
-}
-#menu .searchbox form {
- padding: 3px 3px;
- margin: 0;
-}
-#menu .searchbox input {
- font-size: 100%;
-}
-
-#content {
- padding: 20px 20px 20px 180px;
- margin: 0;
- font : small Verdana, Helvetica, sans-serif;
- font-size : 80%;
-}
-
-#content ul {
- margin: 0;
- padding: 0 25px;
-}
-#content li {
- padding: 0 5px;
-}
-#feedback {
- color: black;
- background: #CFDCED;
- text-align:center;
- margin-top: 5px;
-}
-#feedback #feedbackto {
- font-size: 90%;
- color: black;
-}
-#footer {
- clear: both;
- position: relative; /* IE bugfix (http://www.dracos.co.uk/web/css/ie6floatbug/) */
- width: 100%;
- background: #CFDCED;
- border-top: solid 1px #4C6C8F;
- color: black;
-}
-#footer .copyright {
- position: relative; /* IE bugfix cont'd */
- padding: 5px;
- margin: 0;
- width: 45%;
-}
-#footer .lastmodified {
- position: relative; /* IE bugfix cont'd */
- float: right;
- width: 45%;
- padding: 5px;
- margin: 0;
- text-align: right;
-}
-#footer a { color: white; }
-
-#footer #logos {
- text-align: left;
-}
-
-
-/**
- * Misc Styles
- */
-
-acronym { cursor: help; }
-.boxed { background-color: #a5b6c6;}
-.underlined_5 {border-bottom: solid 5px #4C6C8F;}
-.underlined_10 {border-bottom: solid 10px #4C6C8F;}
-/* ==================== snail trail ============================ */
-
-.trail {
- position: relative; /* IE bugfix cont'd */
- font-size: 70%;
- text-align: right;
- float: right;
- margin: -10px 5px 0px 5px;
- padding: 0;
-}
-
-#motd-area {
- position: relative; /* IE bugfix cont'd */
- float: right;
- width: 35%;
- background-color: #f0f0ff;
- border-top: solid 1px #4C6C8F;
- border-bottom: solid 1px #4C6C8F;
- margin-bottom: 15px;
- margin-left: 15px;
- margin-right: 10%;
- padding-bottom: 5px;
- padding-top: 5px;
-}
-
-#minitoc-area {
- border-top: solid 1px #4C6C8F;
- border-bottom: solid 1px #4C6C8F;
- margin: 15px 10% 5px 15px;
- /* margin-bottom: 15px;
- margin-left: 15px;
- margin-right: 10%;*/
- padding-bottom: 7px;
- padding-top: 5px;
-}
-.minitoc {
- list-style-image: url('images/current.gif');
- font-weight: normal;
-}
-
-li p {
- margin: 0;
- padding: 0;
-}
-
-.pdflink {
- position: relative; /* IE bugfix cont'd */
- float: right;
- margin: 0px 5px;
- padding: 0;
-}
-.pdflink br {
- margin-top: -10px;
- padding-left: 1px;
-}
-.pdflink a {
- display: block;
- font-size: 70%;
- text-align: center;
- margin: 0;
- padding: 0;
-}
-
-.pdflink img {
- display: block;
- height: 16px;
- width: 16px;
-}
-.xmllink {
- position: relative; /* IE bugfix cont'd */
- float: right;
- margin: 0px 5px;
- padding: 0;
-}
-.xmllink br {
- margin-top: -10px;
- padding-left: 1px;
-}
-.xmllink a {
- display: block;
- font-size: 70%;
- text-align: center;
- margin: 0;
- padding: 0;
-}
-
-.xmllink img {
- display: block;
- height: 16px;
- width: 16px;
-}
-.podlink {
- position: relative; /* IE bugfix cont'd */
- float: right;
- margin: 0px 5px;
- padding: 0;
-}
-.podlink br {
- margin-top: -10px;
- padding-left: 1px;
-}
-.podlink a {
- display: block;
- font-size: 70%;
- text-align: center;
- margin: 0;
- padding: 0;
-}
-
-.podlink img {
- display: block;
- height: 16px;
- width: 16px;
-}
-
-.printlink {
- position: relative; /* IE bugfix cont'd */
- float: right;
-}
-.printlink br {
- margin-top: -10px;
- padding-left: 1px;
-}
-.printlink a {
- display: block;
- font-size: 70%;
- text-align: center;
- margin: 0;
- padding: 0;
-}
-.printlink img {
- display: block;
- height: 16px;
- width: 16px;
-}
-
-p.instruction {
- display: list-item;
- list-style-image: url('../images/instruction_arrow.png');
- list-style-position: outside;
- margin-left: 2em;
-}
\ No newline at end of file
diff --git a/site/skin/skinconf.xsl b/site/skin/skinconf.xsl
deleted file mode 100644
index 4a2164408..000000000
--- a/site/skin/skinconf.xsl
+++ /dev/null
@@ -1,153 +0,0 @@
-<?xml version="1.0"?>
-<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:template match="skinconfig">
-
- <xsl:if test="not(colors)">
- <colors>
-<!-- Lenya -->
- <color name="header" value="#ffffff"/>
-
- <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="subtab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
-
- <color name="heading" value="#E5E4D9"/>
- <color name="subheading" value="#E5E4D9"/>
- <color name="published" value="#4C6C8F" font="#FFFFFF"/>
- <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
- <color name="navstrip" value="#E5E4D9" font="#000000"/>
-
- <color name="toolbox" value="#CFDCED" font="#000000"/>
-
- <color name="border" value="#999999"/>
- <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff" />
- <color name="menuheading" value="#cfdced" font="#000000" />
- <color name="searchbox" value="#E5E4D9" font="#000000"/>
-
- <color name="dialog" value="#E5E4D9" font="#000000"/>
- <color name="body" value="#ffffff" />
-
- <color name="table" value="#ccc"/>
- <color name="table-cell" value="#ffffff"/>
- <color name="highlight" value="#ffff00"/>
- <color name="fixme" value="#cc6600"/>
- <color name="note" value="#006699"/>
- <color name="warning" value="#990000"/>
- <color name="code" value="#003366"/>
-
- <color name="footer" value="#E5E4D9"/>
- </colors>
- </xsl:if>
-
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:copy-of select="node()[not(name(.)='colors')]"/>
- <xsl:apply-templates select="colors"/>
- </xsl:copy>
-
- </xsl:template>
-
- <xsl:template match="colors">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:copy-of select="node()[name(.)='color']"/>
-
- <xsl:if test="not(color[@name='header'])">
- <color name="header" value="#FFFFFF"/>
- </xsl:if>
- <xsl:if test="not(color[@name='tab-selected'])">
- <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- </xsl:if>
- <xsl:if test="not(color[@name='tab-unselected'])">
- <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subtab-selected'])">
- <color name="subtab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subtab-unselected'])">
- <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='heading'])">
- <color name="heading" value="#E5E4D9"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subheading'])">
- <color name="subheading" value="#E5E4D9"/>
- </xsl:if>
- <xsl:if test="not(color[@name='published'])">
- <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
- </xsl:if>
- <xsl:if test="not(color[@name='published'])">
- <color name="published" value="#4C6C8F" font="#FFFFFF"/>
- </xsl:if>
- <xsl:if test="not(color[@name='navstrip'])">
- <color name="navstrip" value="#E5E4D9" font="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='toolbox'])">
- <color name="toolbox" value="#CFDCED" font="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='border'])">
- <color name="border" value="#999999"/>
- </xsl:if>
- <xsl:if test="not(color[@name='menu'])">
- <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff" />
- </xsl:if>
- <xsl:if test="not(color[@name='menuheading'])">
- <color name="menuheading" value="#cfdced" font="#000000" />
- </xsl:if>
- <xsl:if test="not(color[@name='searchbox'])">
- <color name="searchbox" value="#E5E4D9" font="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='dialog'])">
- <color name="dialog" value="#E5E4D9" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='body'])">
- <color name="body" value="#ffffff" />
- </xsl:if>
- <xsl:if test="not(color[@name='table'])">
- <color name="table" value="#ccc"/>
- </xsl:if>
- <xsl:if test="not(color[@name='table-cell'])">
- <color name="table-cell" value="#ffffff"/>
- </xsl:if>
- <xsl:if test="not(color[@name='highlight'])">
- <color name="highlight" value="#ffff00"/>
- </xsl:if>
- <xsl:if test="not(color[@name='fixme'])">
- <color name="fixme" value="#c60"/>
- </xsl:if>
- <xsl:if test="not(color[@name='note'])">
- <color name="note" value="#069"/>
- </xsl:if>
- <xsl:if test="not(color[@name='warning'])">
- <color name="warning" value="#900"/>
- </xsl:if>
- <xsl:if test="not(color[@name='code'])">
- <color name="code" value="#a5b6c6"/>
- </xsl:if>
- <xsl:if test="not(color[@name='footer'])">
- <color name="footer" value="#E5E4D9"/>
- </xsl:if>
-
- </xsl:copy>
-
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/site/tutorial.html b/site/tutorial.html
deleted file mode 100644
index 871eac2c3..000000000
--- a/site/tutorial.html
+++ /dev/null
@@ -1,521 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Nutch version 0.7 tutorial</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Project</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_selected_1.2', 'skin/')" id="menu_selected_1.2Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Documentation</div>
-<div id="menu_selected_1.2" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">Tutorial (0.7.2)</div>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Resources</div>
-<div id="menu_1.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="tutorial.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Nutch version 0.7 tutorial</h1>
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#Requirements">Requirements</a>
-</li>
-<li>
-<a href="#Getting+Started">Getting Started</a>
-</li>
-<li>
-<a href="#Intranet+Crawling">Intranet Crawling</a>
-<ul class="minitoc">
-<li>
-<a href="#Intranet%3A+Configuration">Intranet: Configuration</a>
-</li>
-<li>
-<a href="#Intranet%3A+Running+the+Crawl">Intranet: Running the Crawl</a>
-</li>
-</ul>
-</li>
-<li>
-<a href="#Whole-web+Crawling">Whole-web Crawling</a>
-<ul class="minitoc">
-<li>
-<a href="#Whole-web%3A+Concepts">Whole-web: Concepts</a>
-</li>
-<li>
-<a href="#Whole-web%3A+Boostrapping+the+Web+Database">Whole-web: Boostrapping the Web Database</a>
-</li>
-<li>
-<a href="#Whole-web%3A+Fetching">Whole-web: Fetching</a>
-</li>
-<li>
-<a href="#Whole-web%3A+Indexing">Whole-web: Indexing</a>
-</li>
-<li>
-<a href="#Searching">Searching</a>
-</li>
-</ul>
-</li>
-</ul>
-</div>
-
-
-<a name="N1000D"></a><a name="Requirements"></a>
-<h2 class="h3">Requirements</h2>
-<div class="section">
-<ol>
-
-<li>Java 1.4.x, either from <a href="http://java.sun.com/j2se/downloads.html">Sun</a> or <a href="http://www-106.ibm.com/developerworks/java/jdk/">IBM</a> on
- Linux is preferred. Set <span class="codefrag">NUTCH_JAVA_HOME</span> to the root
- of your JVM installation.
- </li>
-
-<li>Apache's <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
-4.x.</li>
-
-<li>On Win32, <a href="http://www.cygwin.com/">cygwin</a>, for
-shell support. (If you plan to use Subversion on Win32, be sure to select the subversion package when you install, in the "Devel" category.)</li>
-
-<li>Up to a gigabyte of free disk space, a high-speed connection, and
-an hour or so.
- </li>
-
-</ol>
-</div>
-
-<a name="N10036"></a><a name="Getting+Started"></a>
-<h2 class="h3">Getting Started</h2>
-<div class="section">
-<p>First, you need to get a copy of the Nutch code. You can download
-a release from <a href="http://lucene.apache.org/nutch/release/">http://lucene.apache.org/nutch/release/</a>.
-Unpack the release and connect to its top-level directory. Or, check
-out the latest source code from <a href="version_control.html">subversion</a> and build it
-with <a href="http://ant.apache.org/">Ant</a>.</p>
-<p>Try the following command:</p>
-<pre class="code">bin/nutch</pre>
-<p>This will display the documentation for the Nutch command script.</p>
-<p>Now we're ready to crawl. There are two approaches to crawling:</p>
-<ol>
-
-<li>Intranet crawling, with the <span class="codefrag">crawl</span> command.</li>
-
-<li>Whole-web crawling, with much greater control, using the lower
-level <span class="codefrag">inject</span>, <span class="codefrag">generate</span>, <span class="codefrag">fetch</span>
-and <span class="codefrag">updatedb</span> commands.</li>
-
-</ol>
-</div>
-
-<a name="N10071"></a><a name="Intranet+Crawling"></a>
-<h2 class="h3">Intranet Crawling</h2>
-<div class="section">
-<p>Intranet crawling is more appropriate when you intend to crawl up to
-around one million pages on a handful of web servers.</p>
-<a name="N1007A"></a><a name="Intranet%3A+Configuration"></a>
-<h3 class="h4">Intranet: Configuration</h3>
-<p>To configure things for intranet crawling you must:</p>
-<ol>
-
-
-<li>Create a flat file of root urls. For example, to crawl the
-<span class="codefrag">nutch</span> site you might start with a file named
-<span class="codefrag">urls</span> containing just the Nutch home page. All other
-Nutch pages should be reachable from this page. The <span class="codefrag">urls</span>
-file would thus look like:
-<pre class="code">
-http://lucene.apache.org/nutch/
-</pre>
-
-</li>
-
-
-<li>Edit the file <span class="codefrag">conf/crawl-urlfilter.txt</span> and replace
-<span class="codefrag">MY.DOMAIN.NAME</span> with the name of the domain you wish to
-crawl. For example, if you wished to limit the crawl to the
-<span class="codefrag">apache.org</span> domain, the line should read:
-<pre class="code">
-+^http://([a-z0-9]*\.)*apache.org/
-</pre>
-This will include any url in the domain <span class="codefrag">apache.org</span>.
-</li>
-
-
-</ol>
-<a name="N100AA"></a><a name="Intranet%3A+Running+the+Crawl"></a>
-<h3 class="h4">Intranet: Running the Crawl</h3>
-<p>Once things are configured, running the crawl is easy. Just use the
-crawl command. Its options include:</p>
-<ul>
-
-<li>
-<span class="codefrag">-dir</span> <em>dir</em> names the directory to put the crawl in.</li>
-
-<li>
-<span class="codefrag">-depth</span> <em>depth</em> indicates the link depth from the root
-page that should be crawled.</li>
-
-<li>
-<span class="codefrag">-delay</span> <em>delay</em> determines the number of seconds
-between accesses to each host.</li>
-
-<li>
-<span class="codefrag">-threads</span> <em>threads</em> determines the number of
-threads that will fetch in parallel.</li>
-
-</ul>
-<p>For example, a typical call might be:</p>
-<pre class="code">
-bin/nutch crawl urls -dir crawl.test -depth 3 &gt;&amp; crawl.log
-</pre>
-<p>Typically one starts testing one's configuration by crawling at low
-depths, and watching the output to check that desired pages are found.
-Once one is more confident of the configuration, then an appropriate
-depth for a full crawl is around 10.</p>
-<p>Once crawling has completed, one can skip to the Searching section
-below.</p>
-</div>
-
-
-<a name="N100E5"></a><a name="Whole-web+Crawling"></a>
-<h2 class="h3">Whole-web Crawling</h2>
-<div class="section">
-<p>Whole-web crawling is designed to handle very large crawls which may
-take weeks to complete, running on multiple machines.</p>
-<a name="N100EE"></a><a name="Whole-web%3A+Concepts"></a>
-<h3 class="h4">Whole-web: Concepts</h3>
-<p>Nutch data is of two types:</p>
-<ol>
-
-<li>The web database. This contains information about every
-page known to Nutch, and about links between those pages.</li>
-
-<li>A set of segments. Each segment is a set of pages that are
-fetched and indexed as a unit. Segment data consists of the
-following types:</li>
-
-<li>
-<ul>
-
-<li>a <em>fetchlist</em> is a file
-that names a set of pages to be fetched</li>
-
-<li>the<em> fetcher output</em> is a
-set of files containing the fetched pages</li>
-
-<li>the <em>index </em>is a
-Lucene-format index of the fetcher output.</li>
-
-</ul>
-</li>
-
-</ol>
-<p>In the following examples we will keep our web database in a directory
-named <span class="codefrag">db</span> and our segments
-in a directory named <span class="codefrag">segments</span>:</p>
-<pre class="code">mkdir db
-mkdir segments</pre>
-<a name="N10124"></a><a name="Whole-web%3A+Boostrapping+the+Web+Database"></a>
-<h3 class="h4">Whole-web: Boostrapping the Web Database</h3>
-<p>The admin tool is used to create a new, empty database:</p>
-<pre class="code">bin/nutch admin db -create</pre>
-<p>The <em>injector</em> adds urls into the database. Let's inject
-URLs from the <a href="http://dmoz.org/">DMOZ</a> Open
-Directory. First we must download and uncompress the file listing all
-of the DMOZ pages. (This is a 200+Mb file, so this will take a few
-minutes.)</p>
-<pre class="code">wget http://rdf.dmoz.org/rdf/content.rdf.u8.gz
-gunzip content.rdf.u8.gz</pre>
-<p>Next we inject a random subset of these pages into the web database.
- (We use a random subset so that everyone who runs this tutorial
-doesn't hammer the same sites.) DMOZ contains around three million
-URLs. We inject one out of every 3000, so that we end up with
-around 1000 URLs:</p>
-<pre class="code">bin/nutch inject db -dmozfile content.rdf.u8 -subset 3000</pre>
-<p>This also takes a few minutes, as it must parse the full file.</p>
-<p>Now we have a web database with around 1000 as-yet unfetched URLs in it.</p>
-<a name="N1014D"></a><a name="Whole-web%3A+Fetching"></a>
-<h3 class="h4">Whole-web: Fetching</h3>
-<p>To fetch, we first generate a fetchlist from the database:</p>
-<pre class="code">bin/nutch generate db segments
-</pre>
-<p>This generates a fetchlist for all of the pages due to be fetched.
- The fetchlist is placed in a newly created segment directory.
- The segment directory is named by the time it's created. We
-save the name of this segment in the shell variable <span class="codefrag">s1</span>:</p>
-<pre class="code">s1=`ls -d segments/2* | tail -1`
-echo $s1
-</pre>
-<p>Now we run the fetcher on this segment with:</p>
-<pre class="code">bin/nutch fetch $s1</pre>
-<p>When this is complete, we update the database with the results of the
-fetch:</p>
-<pre class="code">bin/nutch updatedb db $s1</pre>
-<p>Now the database has entries for all of the pages referenced by the
-initial set.</p>
-<p>Now we fetch a new segment with the top-scoring 1000 pages:</p>
-<pre class="code">bin/nutch generate db segments -topN 1000
-s2=`ls -d segments/2* | tail -1`
-echo $s2
-
-bin/nutch fetch $s2
-bin/nutch updatedb db $s2
-</pre>
-<p>Let's fetch one more round:</p>
-<pre class="code">
-bin/nutch generate db segments -topN 1000
-s3=`ls -d segments/2* | tail -1`
-echo $s3
-
-bin/nutch fetch $s3
-bin/nutch updatedb db $s3
-</pre>
-<p>By this point we've fetched a few thousand pages. Let's index
-them!</p>
-<a name="N10187"></a><a name="Whole-web%3A+Indexing"></a>
-<h3 class="h4">Whole-web: Indexing</h3>
-<p>To index each segment we use the <span class="codefrag">index</span>
-command, as follows:</p>
-<pre class="code">bin/nutch index $s1
-bin/nutch index $s2
-bin/nutch index $s3</pre>
-<p>Then, before we can search a set of segments, we need to delete
-duplicate pages. This is done with:</p>
-<pre class="code">bin/nutch dedup segments dedup.tmp</pre>
-<p>Now we're ready to search!</p>
-<a name="N101A2"></a><a name="Searching"></a>
-<h3 class="h4">Searching</h3>
-<p>To search you need to put the nutch war file into your servlet
-container. (If instead of downloading a Nutch release you checked the
-sources out of SVN, then you'll first need to build the war file, with
-the command <span class="codefrag">ant war</span>.)</p>
-<p>Assuming you've unpacked Tomcat as ~/local/tomcat, then the Nutch war
-file may be installed with the commands:</p>
-<pre class="code">rm -rf ~/local/tomcat/webapps/ROOT*
-cp nutch*.war ~/local/tomcat/webapps/ROOT.war
-</pre>
-<p>The webapp finds its indexes in <span class="codefrag">./segments</span>, relative
-to where you start Tomcat, so, if you've done intranet crawling,
-connect to your crawl directory, or, if you've done whole-web
-crawling, don't change directories, and give the command:</p>
-<pre class="code">~/local/tomcat/bin/catalina.sh start
-</pre>
-<p>Then visit <a href="http://localhost:8080/">http://localhost:8080/</a>
-and have fun!</p>
-<p>More detailed tutorials are available on the Nutch Wiki.
-</p>
-</div>
-
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/tutorial.pdf b/site/tutorial.pdf
deleted file mode 100644
index 5dd98dfb2..000000000
--- a/site/tutorial.pdf
+++ /dev/null
@@ -1,635 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 773 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gaua=9lo#B&;KZQ'fqLF<.3K1\!!%PHK\%TB6%[4&0SbEN_O%E[/[k+%$o*Km*)85%^>Y1bHlM=[?Dm20Vs:RLd86QOSN&_#cn+:;#S3Q2YTOm+:Z@6Glg3#h^cCmgjiTANU'*0(TGQaaP@:.,A644(Fg0Q%JUBqDfr8ii-hh)"<MQ=C"PgE`&s5q%;m5HMO"(P-upn\?+0'=J5LMRN/1VuA&tBV4m[NZ,B*Ijn,4B$X&R3=-B*okYAkFn66J-%(m08V8g2kDOFCZbqlA4-c.=Sk1G+iWbNmR-Ig*mZ%IBHL[&9Vrm%3s"Y*I))G49]JlnY&jCX?:+5)e8r(lLa@5*3[g8gb>DNrO\/UBb/eX)qVrTl!M2-j'[B;[^hS6.a@-Cn]14]n,nT:I%-DH/?r`hT-p)r:a04;a>[EcU--)/CpkHhtqClAFamkkLZ'5JMp$A&88]EN3l<;%2$58hdUf[^6%)B[WrOU7YgOU5\uJCQ?[r.4o\I!PG0I@rGT0Kli#44`b2!a>a4f-1/tI#p:ZH9Y&$n_,Mk>ZqD@E6p\[h7:Lu]#>ZU#73/S4chN(@N;;8)f4BpJSg%R^bI%N(RT8Oq(c43k!qiSeK[5,i#OZi`4'^F+NqAM+P7fJPRcZY\a,;)FtN,"@+I6is6THmVC5D"_0_F^4:"NMcsgmc,7k:dB+LhliMpKb'&X4$Z1]2AGAiRh99U!Qq6;rEZ*Be't54Y'QZ-^8gf>#b=GNW@FQ/^'YmA!`c=9;u7Y&j#Z7'VLDb~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-10 0 R
-12 0 R
-14 0 R
-16 0 R
-18 0 R
-20 0 R
-22 0 R
-24 0 R
-26 0 R
-28 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 559.666 176.66 547.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 9 0 R
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 541.466 182.996 529.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 11 0 R
-/H /I
->>
-endobj
-12 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 523.266 194.984 511.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 13 0 R
-/H /I
->>
-endobj
-14 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 505.066 234.488 493.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 15 0 R
-/H /I
->>
-endobj
-16 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 486.866 258.488 474.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 17 0 R
-/H /I
->>
-endobj
-18 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 468.666 213.644 456.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 19 0 R
-/H /I
->>
-endobj
-20 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 450.466 230.48 438.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 21 0 R
-/H /I
->>
-endobj
-22 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 432.266 340.784 420.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 23 0 R
-/H /I
->>
-endobj
-24 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 414.066 227.816 402.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 25 0 R
-/H /I
->>
-endobj
-26 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 395.866 228.476 383.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 27 0 R
-/H /I
->>
-endobj
-28 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 377.666 171.488 365.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 29 0 R
-/H /I
->>
-endobj
-30 0 obj
-<< /Length 2733 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gatm=>BAQ-&q9SYi:Nj@CW")E\%F_8S0h/r4gi^5Vs`eG&gX`U#aL`)m]Sh_?A&JN;X0ZF*b&%"`U740gMao0Z\t<b^nH@ic>7X^3pR1=\F>P?OULW*_$T5;1YXt*>uL71\RqF^J,,<+X%IECQ!%8&E.3"Cmk<PA0)bodXl8Y9,L$AuIGYXEb]OI/k2asY?i9*HQ/7lhPVjE7Rkg&7T%UI$IWOZmXep!g/f-g[r-eK'2F^RgaHnFK/<b*!F7[&eeJ9+]BQ\cMlWc+^Osofc\KEGB[LV<unO;*D80+%M?Jt1@a2XTL2IANNo8F/hi+&%[45s?uiO6nR8sPI*k&FKSOD08A3+`-2["AjpiO`1c6`.]!29M%qR>Kl58QL6oO%EdZhW8c(o3<nFhE8sOE1kV+JI:!R/@=I,n8\0uq`irprd=U`pE/h\9Vd;2r?LQ)[0"%3!Emu*fgoU[Y#K,,eB7^fX=BGqmsi&A:1m!5VeKB_.Ppl]P20FY'#2\/Fum7K-mEPEl0U*0Cuj3e87GCkJDWPH"=2KR5pKQ7Du8Oa`%X6r[PP<s`8s7%cq(P?c!mW]dif"UJD(S(1I;)b_cH^@P^:(i)/!#\_=.We/-KBIr$E6m`80lgS/%!8%V*<6H+d".C=q`/M\5Za'[!"V,L[>i<kFpF92m66Qga:j6WKDk-jD`I]>(BJ-1YP's"*ac_6p9IK%E03-+51fp(d`Vj985tZ1bMcWEc+-YtD#5YQPU7;nPSXp)BEZ38@Qd'n.sEeQ:YMcSGIA]R[Y[CR%,JV\^_EdYeT@8">^+Ye1(+O1X?Q6*4gkXQ0+t.>P0>PtUbm1+>D\n3O/:eY(>bZJJh&4"6N;A!LVE((b=6P:c;,dU7WpQ(lF>^^pW1@[rS-AHp:<fse7<PAH5AZ&J9P><,"a4Qp%CXWn2&LN_lc<8mTh)F6t)5IjGXU:_DdU<JK-5,GY<#G\n-]BA/5Z?#B,.Mj$T[?N'R^LA,t3:okOcVbK2#PZN;TOM0O'3(e<KSY!g5Thm&J0#W6_jb^tY#Q'qW/Kc7/9`acDUN8C1J-T;nIUthD_g_J9l&Y2+CXL-8*Wo=5%_D$7tQ$I\!=L@D@[h!;AT%_h0#a&TEeb^UX0$ncE\b#fL;b__FT0t;&4`CfN_F9i>hK>=d6FJWdGuWbW+oR3JU?2<cY,FIA._8\/1PlkF?4`"*ocDpup3e[.7f>,[gk+?7"hKLDte'nELTmJ4gI2(!%<p45i-]G[n*'lYa$P:1D_JV.;7hr5O8Aj5eN2a1>/_WqI3u/_"qOZ$C'Z%"(*dro'#jnpp!)"*i;i1&@ZE?dAgq%gX#gggo@cE+O4ns+CZ7&1n%2PH64ZM<<>Z!H;h;f6G$GS:.#;@KN)+kf-_8Q>0:]!O1_",>;_g.dJd_MHT#^XrKVV!.*4ar1Nc)@ek.a+\97n*_(rS*q*$,jtdhY1"9=$B92rbDO2l5JAm1NaH2ad3!PFgbn88BD08jiS_*>91646HXL`h`qP@joIrsCR4=&\km9OIt'8Eb7(_CFWng*bgTaSfr5C<1QlbdV(?T'C!f6]OX#6EIX38rGM*$r<!J;-ta$<,-JYU\H5GdYT/\A&F^ZV[,0;Cs8Zm*E7qNB/Zlm"<%%e\j@_V#15FGe8>44Ze]t3>GoYKDo7M9l:Tjrpl>E7N)J]eJ"p?I3K\;'#CqdM,_)533o&MD5>or?`qYpiZsBBJeAmjq(RbNa*V'/YM3k4V6M"Z2;hmJili.QK_RPiQICZZ%`cTtIJBCFX"5+:@("1A\3+uJ.V1M)NE\(r'Z\jrPH,%k:`7u5$Q[3*%bkdN-a`Jk#P2>SFUX<nE2]fEfn=X]Kaia[2;PMMJ.I<>hk%*jAHX$pJ<qYf<45EM<Sk0sOZ[$#86G'r`Ym]DTf=D/QmYEA7btJ1"]Y0/\3k*U+],tU[[WeL6<4k<X.h`0^@WEoo:rYH=++`8\b!B:hn_ZcV(o8tQ)#X7Z@+`7j_99@lONeF^Vnl4MT=k9[%?]K4Q%It_KP&UbnBO*8>o(`s*"0GP/j>MSsRKD>!.$M_dJ-5h+i,!ZZn!uJ=$+s6t'c0d*\CF?sk`U?UhNR36A6Qqm.cl#,WF^go)h$;8WDqh-3QGQ$nYLe'eD^@\YD8\BO&Rr%u7V*._'pCuT_d1p<V4.n4BH9sZG_nd.:;[GcsU".51C04Q*phY+81<62jS.5\o=aX?m;bq<l"g]3MQX60hLG7b/6M<UiKU];p8HY6VES,t&F`&&+Sg"__p^j\@!Ha?DcZEsr07.ENrqncC3iVKE@R;4cbciC/2P[C;4*uCH'^)h&NasG8@M^_k`98S1Uf$\R</,AVNrU%3%no-\hq*]^[kt@f!^)&sUOL/5'"\chY0Ribna).?*Ock,ji%\hQLcYY7ak/J^hI5b?0MT!Nl%%rl?:6o+d6g<$:OYEWplVf&rCMI_qf5D%Y=:'umZ2;JHa'I3k'n*[.#^BP,l\)tE+%b6"bgmpgVUhVj_s\^hsPXZq_q;HjQXWB#TsUS@STII4bEokJt69qTr\^PTjMKO#^kc>U@/bNGMnYW>ZR[&<h3DK!nPtR%j59,&O':f8aph5^2s%mo"Z4dEX-4?0PITbZ2G_afT78c\k'Y2a9(>ZcVC&:$/dh;!!d42[FFV)mheKd@s[sh4DLITlh]aXemqADd!T=[c];g@mb=e)k09GDqq\a,K36TpRtl=Y!^4_qN$%Hm+EmbeOPsc$~>
-endstream
-endobj
-31 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 30 0 R
-/Annots 32 0 R
->>
-endobj
-32 0 obj
-[
-33 0 R
-34 0 R
-35 0 R
-36 0 R
-37 0 R
-38 0 R
-39 0 R
-]
-endobj
-33 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 218.976 633.666 237.648 621.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://java.sun.com/j2se/downloads.html)
-/S /URI >>
-/H /I
->>
-endobj
-34 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 253.644 633.666 276.312 621.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www-106.ibm.com/developerworks/java/jdk/)
-/S /URI >>
-/H /I
->>
-endobj
-35 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 154.476 607.266 191.136 595.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://jakarta.apache.org/tomcat/)
-/S /URI >>
-/H /I
->>
-endobj
-36 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 164.328 594.066 199.656 582.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.cygwin.com/)
-/S /URI >>
-/H /I
->>
-endobj
-37 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 90.0 506.132 275.292 494.132 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/nutch/release/)
-/S /URI >>
-/H /I
->>
-endobj
-38 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 339.6 492.932 391.596 480.932 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (version_control.html)
-/S /URI >>
-/H /I
->>
-endobj
-39 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 476.604 492.932 494.604 480.932 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://ant.apache.org/)
-/S /URI >>
-/H /I
->>
-endobj
-40 0 obj
-<< /Length 2190 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gau0E=c_;q&:WMDTr0dL\r9&5GpnaW8W]V/OY"k7[L]`6gOaQJUuLaUn&W(P,g,g=/Jbs68fD^3S*M$iou#V?LV(=i*,?)"n*a_TfiAXenCR9dchH3&QkR&3/Zm:RDg/Cg$90ZukiioPI*:Jfj'[email protected]>"LqdJaHSN\b4"LLI8)5_iEpS4?KBB2QbD:Rl-%m/r8M,=u8*^FS`'L80fX*dGFfEHM@bl`M6al:-9"h*!]Fn;2O[+ZEi>JP5[er%H=30)[/P9:a#l\DQ_5NLNcMrCi%Pm6_S9m8H!S?oVj9s[+MQ!pSJ_(XP_C_+jO6SKqhR`cJg]7;&/Jc\\?Olpe.lWG^IdA3D@rdk-cgal+X-.o##RS^1b?kZX@l"HF4IP&V9PY;&VH%akP[^/b<3]#tA'u*\q33+%+6_7[KB8b<ddIn`At?`seL\7a-)R\,=@YIj+BoChP-S@Ggr-X[e4U.H/8tU(UR9ktVIM1P3t!,)++7>"b3hQ<RYG.*luqIBFK:UE^.i'ro&^maIg1M/\&=<r-bA/Dl)S6tE6P!NsLT;;b<FZq/WId&W7>BlQN@G$>Bu?!ZSCEckM/0IsCU&M;?mFXW_1RF[ifmP;>5[a1B51pfQc7qcPpnN,B+L5MAGG2e4;Q?Ac7X)JkL^6/)q/p@RL#pgus(b'lr'(lI6h+FNbb>ELWW;>!.:b$l6<u3XXBt1aQ]&)a?/OcBd+WEg#TMfj)-+;S=k<e'Zm'rfN6>>?68W@`.]t"c`a>0/<@gR<T$%>r"<TI5D=.)Hn73GSO.nEKAo**\l:\P*R6fKE[Qo5>bd.XTM.D$aAs+bR4ZKf-2Ie2$8X6[#S\C@'qX:qq%[TJ=egCQ8Llp0omSZ/*cGYp:<Aq<\!BtjeRUS_&C--2hilBB4`oOXt.]@4eB^RL-njX$5AW>k\m%oN>QiLQY`;&1R?PSU[HT`V5+"oqGKO7!Oc6*rck3=<J"X=/?!NkVSWbmL\lO]%k#GnL,KP)_)'d0fr0_;_cJ[.Bu[!Bb@KI(ka[M,_hu'-.%!\ON37AOD7\AR5LKb`hU<_8-ae+=1\BS#u?-((Jh-J,DQBE@&SrX/[eQ3e]2sh?e0cU[6eo3*@p(5uG,d9P_^"UF@04T5,^Ub:#CW&r1=`d=f1Ge@4(BF\F<,7$+/>=c.M@ER:OoOY.f/al)(pEmOuA)@(.mR"s\^pHt@jqifgZ#(uNE/$jdG5uWWrEAi>sFPp@T"`@NOL<=)[H3l?M@[dr+!bVX*mJsed+n33:9LL[6n)rQGZf<4J>pgGU_ho\%"A3X'0n<gT\SV?all8@PdThDfRQ$X0.r7g1g*i'Jl?qg,S8maQ]pg%+UX=VeVM#Ma`f\:!Bb&)*)]Mc?c9'OET-:rnYFfQZDFd8nKGJ2"P$2qD8b#nSF`i)k0hfNuhpc)$aQ&[][Ef*7Ga(I@]V51>KTZU6HL:bZ:Q(GIHr.'<=\BBs'"7m5j-*C9@o8g)F-rTIS9H@oJ\?2gc+Lm(g"u,GEJ`mo@'>aYVQQ(b*l,9F^s?qL56rF@qWD5E$FeH4PhbHKRhTn]>JdrJ#?En$%6McP/8`G7h6njL=!BsF@-Wq_a^)4s9p+^d+6p[nM9$aRq)l-EV@^\<8sN^UU]Y$3)0?6Y@;a7?&#*cWY'YeB4]DEmal_H"7K>%\;L$FI&X>S5SY[o.?/IPV%g4j,>k.hHbuVmHg%iY&M&MV[)cOhFgthO]'t>UAAH^50+r5Fq%Gb'0)XBEIqT.j,YG#l[CA,$=0$E8Nn_GCEH6>rW!3,M&%3PM&F+.F(-I)ZWQjK2>po2rh6JcniIoZVga[ib=N9o&F\SnR:+4^q(%6<9@^mOTKDF`jXUQcMEVT(rW[YRX9!b=8*Cm-E\E7X!%@&VDN_9(hka1R_$c6Z"U5$ML31lS:u4*6ki_^=fkOBQGsXX@`9G"F1W?_0PCToBrHX[`p4&DXeYRJDsb.?&_M!^?,(fI3shJQi`X(0c@obi/)N;hcHR_gnBD^?YOFGR_kCCYaNe;F/%iBYS$A1pfUcqE5GkMVmEt)fTbT3lN.u_Hs'GHNlFsjs#E^&>;,Sd.?eZ>.tN2R;YMZf6KT+^+$,'H8p1b4`<X6o:9U7D*++c4a69/YKl#h:$^-e:7lk#dTq.MNl#FLb)f_,"1lHsDhZb?anj2&:^k/<!s>EJGl~>
-endstream
-endobj
-41 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 40 0 R
->>
-endobj
-42 0 obj
-<< /Length 2140 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gau0DD/\/e&H;*)Taq7ZD@IggUaQu1LNQl0$uNS`*XZ^$:thd`D6fu&-!lK-pmks;3ngCi?n$[Q3_:UcjgjRBoQ!"gBfc&PU#$-*?Vb.'pg+eln<](,qEb;c$2r4$[5XTQ3dE`V>[C!_#4QH?SG:o$++C/t>K[*];s$e5hB,NR@H<i#_7H2/IU)'8^=_`(Mt,ZI4Kn$J'h+:f`k1nIULea0$EmF2Au^I'IsTS9D7Tt(`*<f+1J.u:L@W3VCo=qF3+G>^\l4!6'i9f_Os/rX4<:8o)R#W&0CX>Kot8eS``nIiRGL+L-+tbm]2;i*k.\Y)qBY.M(S4DJ%4#`h9=X#-jiVX/I/hpd4[_;mUPE:kRDFkGlJ)6s9>ZD<q.H"(QW[85f:ZmB)d_gK`GE3$(sMGbE(3+2&??X<TRT0gHCmN+_pDYNA:NihSX1^aTn8FeB').^=Pt$^.?]i&8'ukK&/k]@2nFHI/8c1@jknq05u3hY^,agaKt('jM]&FEa=%+\IDS84%0V\(9#LUu'S7;jA@C?M>n$V\/K=u<a'FegYMR"j]g!7p0c.L[+2.QScmT-*-"Z9*44:;k""C!?Z#8N#;HCjF>NEXqK:a^cD3j;kAWY&rct)`q;j=kn*!'1h.?`,TWXV^#.E^@ll.BP0P!LSI8lmFV2ZQL@nG$0i4V8%\&"[1Cs4uFtWA$sCb!6m%HCJ<uC\>0-8X=[\I%*BMK(:kH*g&L:OG$&LlC]k_f?W:a_.1QuSiaA2?'!dFY3Y)dj^ku)P/SdJ6Lo0I$CC?HX*%I,p-B@SeJG95\PGK@h7fp:qiVZRcE82Cr5/O/Z4GNorl9TD_mDlF-ipS4X/fi5l.QHU8fp=c/E5@BH>$`\)lT,n9ff8R`MjEcG]:Qo"XZbTHD5>#H'`/Gd5?6\CpM3;n%&NL8JK&:,1fig"RWp(RuK$@*i[Wn9?D^21T?EejfnrEpQi7,;$g9$Q$J!"W*Yf/ZPR.`Os<k@q&Qq+-ST'*.;p1;l!-9,Ja`J2^/,<HC4ek]9If_hlBI)<0f\:A"Vaoi%=ZOHKZfIunA1Y%%qEJQ]//,%hq"7'UsiBT.rV(^pUSZ.#WcUgjqKEL,3Zb=0a^Bb6kEJVX<siY*Pk!Lej(?3Mef"Y9E\tdCiFZ6SRJYc4CBEO9Y&HXG.as-XdsF4ZulXE=6c3`;q8i--D`%nC5=ie^<Ksl\*lm_p-BY\(t2BT&Ph@pL'd:9@BS>%]3`B0P6<UqesYu>Oq<]fShlQ5&LG/IHM$88'6*#RHN]XH_mRp\/mZ@b[nka.Sa9"ajtm^lJ?[E[kN7-lNE$s=B?ha&/QlHFeHSpa\hAD_Y&B/5ffL23b1U:>k,<Zuf8LdC"H*Is0LEZN+.TDK#dVH$CJbLE<MXAidg.=][D<:RT^9K^0Zp8k?L=URZs3!BA.]_)XQmAuf_*R`'0lfJmMqh#'AP;f`n8kCD<8Q`!M'b`IPb5i>8Otb7X&;G)s_r`X7=TRnB+pEr7ic8Sn@4H0?6Rr%Uc)B0`Dsd=7cXpK.nM.iJL-"r,s9Dq1E=:^lO<@q-_)6T=T;r?d=^rr/uIihY_T1KPiG3/*SEc^f_(`i;IA9hK?4(MJl8dDmqc:,a?\>,njHl=(Uf_)=^1fSW05LTKZu#R,fNU%jl$,8g5H<;0O?Nbc-2WO:F:\ekVRilh9(!Wb_"#R8'q?8u/l]\XF8nj\f/S>,.:Pm+tnEW"J"iM<Mi%";D?@Y;8L,hr+'^YKmLlo8+$e/@`aFCY[YG\B>#A_uF(?9>/iOcK8c)N$M&2@n)/T^fhsr*0\0Qme/@2f%qRfrOt.k>t$=u/ugp*deL/8ff=6dGYH?/QpPW`QkM3JB7Z)[PfXu?J(rF2(k4]+F<&QL@tDSn^3Hlc>Wc[*UU7(H0^B&U,^U^OO4_mp9>F=]a7j.%gLiA7,/S?h31#:"+oi.,Z@53Qm^Hh,P$!GI=qY+ArO7pf4TLNdO'd>)GOJOm.pio<H<Bts+gdnG%\TPOC'd]aL]T5ICK.Lf07\3*5`X&,5j<p5,o>e22\k^j+Zo`QAc9"5@p[rUa_KYnTo</.h*;hr-0G*`..o1Y:ACMZF"Dg^Qh=CEkg!0il`(m$7F8=\U$[O$ljCkGdcKlKUOqt6"7XH@cN~>
-endstream
-endobj
-43 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 42 0 R
-/Annots 44 0 R
->>
-endobj
-44 0 obj
-[
-45 0 R
-]
-endobj
-45 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 415.788 599.687 451.116 587.687 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://dmoz.org/)
-/S /URI >>
-/H /I
->>
-endobj
-46 0 obj
-<< /Length 1902 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gatm<=`<%a&:W67@"8;R%"#Au0*?VnMC(m@3c-E)%o%VV`0E`Dii5,b)CYI:41rL7M6n8<0PkfsSCop:De@'LMqQF7g#"UJCuG'D/>Rq[T'*psl.4J<1'i_uSs*l$3W"6uk,\PmN(Au#T>,Lh`o5KX4emuRKcfHaU+Rf7Q-Nk%r;#n"?!QHoS86tpHF_VGC-*t@We\R=A8%6r16$0X3Ia&I&$:8EGg`Lm6]'-Bcg1Tplo7bKEMdZ'HKTAk8P+Nj,;1=lFsqGLD&opQiBHeeesBs<cI9(A^nZmS)kH7f'meMhQG[jJ2`mQGq64pGR/QEVA<bNf7Jg'H'0g;/c,G`N'<EB=4^cPgLWt=(b<j/SP%7oi&#2;p7=1D.D9X3m6S?@]g`R`09ua!TnJNX%5f@bPbC'M%`PKLEK2.@n>JJ48#W`[6Go2'3Ch!Uh]nt3I=B>:X?6@!`8&L(upF<8oPdsE6PC'^b3>pC<7#9;_s+BG+m`!!ghdL!<-,GEHH0^V=&o%BY22T&Mo^ZVHHX@j,V]3i'MrQFV`9%!6EfY0"_/e9AW!?"<#[!HcYI)/Wn%ag54^=>a[\@bt7<i8CGCbo>Yc[+aT#:aB]i1Vig$Knr="(hn<gb3f<W8LGaJFKE+lYU0DX`l?,f+dVr(4?hEBhg&NDWFT*b#%lB]5^iI#eR,*Ep`d<I,?O5nBlq:/O?DH>U%nN1#r'0tL>=dAHCb"?NkQ6"GF%Y!:I(q?=`]U_@%,-_k^S`%-PNNqpGoapu.GRP$Q4B^$2]LS]ldm;jIKML#Id+>G-mpEUkJ$)6j0nfnU;GcUp(&!180577gs7PsJE^GQa$d=jG+BGE[hVl@YRft&YJ?A)`o='_&u]10\J78uMoj$Fe8:"_8!-QEgAbTe;k/Y^9VIPBk^0Y&hKb*r`aO=@<*X&9fbEcH]&KO/>nK/7=EG+W.hX\9)n"jB1Z?=.$Q?Xn5(!SOa"G7&HM54SJ?7&EQiUS9*t,@nNrS]QD=$MP#\>0so`hlM@e\E)T*8g>[OEhZCcrGd0q.7pWD09QH.1s:ft&iL@&&J3V#?s1LkPf5#L_j(TZ`.V7Ek8rrgIU+]1gCi$nl]/L"d?Be0S.U&u:VOI[obN9dhEUTmcc_lElT1V^"tS09ZBMdP4/fRI:&D\N@TFtH(X4b"8[H9Tqdb0B'WO"5dAedsKN9,c;b:;o,f.Km:XcXF*;/*>aqG/>s.oB1%PrP^]C@o9TpLRO4Y5r5cXHfPqgC[.o^Uu$E\'3*L\Is#-srZ;d?LS&[email protected]".(^ggP"`>Hj-CeQO3iZB&nXQbaNQ5]X?'pU6qeS#0g>Ff=J.sAo#ej-u<"WVHi(@9lFZ*5%!J+Bn9HKui2eWea(2,<f')"d8o/![Yih;!8.^dtuVQ'b9IYE?EVKu7$qdOc?7N*9_B-:ln#GfUT7h/3m'&1j7Iq9Pk=Em*1cJoKI5h-&[email protected]!9%l\Ye8*[mrQ2qJ;B(C;h4Uu&ZiuMKfpfL=An6\Il'Zn`2fE(CK4/kk8G@2euc1c3!(RFNL=Q9gRN!KG@JLW09HjA;gor"=/,6?s0(f2aGY4\n1Y/Aa.0IT4FCl;bP1N-RSR_6-:BL(aO)>G-eLU"KP&.)R/h(%_(6CGP)6Pp27K,aVnX`p:+fACGHZ(\88U_6X^'UDSi+J>%1<LG4X]?g#VQlNEN*U)B.aT>ER`k)9I+Rf1QoK<Zjdoda$k8j6rK%@O-^s;8C744ion_F\FP]4+Ok.8S[)mq,Jl+-g^p7#g=G<!i9%e[UA>]=&].$Mkt8a*\pA:jL3Z[O\,LFh:u)fii0?dH+7A]'C(l4'esYI'5>0W<q&SQQb/Q`##iD>d<FlF9Cl&o4DcG0uhNUU@8fDB4i_E;p#BTF`s~>
-endstream
-endobj
-47 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 46 0 R
-/Annots 48 0 R
->>
-endobj
-48 0 obj
-[
-49 0 R
-]
-endobj
-49 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 141.336 213.854 244.02 201.854 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://localhost:8080/)
-/S /URI >>
-/H /I
->>
-endobj
-51 0 obj
-<<
- /Title (\376\377\0\61\0\40\0\122\0\145\0\161\0\165\0\151\0\162\0\145\0\155\0\145\0\156\0\164\0\163)
- /Parent 50 0 R
- /Next 52 0 R
- /A 9 0 R
->> endobj
-52 0 obj
-<<
- /Title (\376\377\0\62\0\40\0\107\0\145\0\164\0\164\0\151\0\156\0\147\0\40\0\123\0\164\0\141\0\162\0\164\0\145\0\144)
- /Parent 50 0 R
- /Prev 51 0 R
- /Next 53 0 R
- /A 11 0 R
->> endobj
-53 0 obj
-<<
- /Title (\376\377\0\63\0\40\0\111\0\156\0\164\0\162\0\141\0\156\0\145\0\164\0\40\0\103\0\162\0\141\0\167\0\154\0\151\0\156\0\147)
- /Parent 50 0 R
- /First 54 0 R
- /Last 55 0 R
- /Prev 52 0 R
- /Next 56 0 R
- /Count -2
- /A 13 0 R
->> endobj
-54 0 obj
-<<
- /Title (\376\377\0\63\0\56\0\61\0\40\0\111\0\156\0\164\0\162\0\141\0\156\0\145\0\164\0\72\0\40\0\103\0\157\0\156\0\146\0\151\0\147\0\165\0\162\0\141\0\164\0\151\0\157\0\156)
- /Parent 53 0 R
- /Next 55 0 R
- /A 15 0 R
->> endobj
-55 0 obj
-<<
- /Title (\376\377\0\63\0\56\0\62\0\40\0\111\0\156\0\164\0\162\0\141\0\156\0\145\0\164\0\72\0\40\0\122\0\165\0\156\0\156\0\151\0\156\0\147\0\40\0\164\0\150\0\145\0\40\0\103\0\162\0\141\0\167\0\154)
- /Parent 53 0 R
- /Prev 54 0 R
- /A 17 0 R
->> endobj
-56 0 obj
-<<
- /Title (\376\377\0\64\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\40\0\103\0\162\0\141\0\167\0\154\0\151\0\156\0\147)
- /Parent 50 0 R
- /First 57 0 R
- /Last 61 0 R
- /Prev 53 0 R
- /Count -5
- /A 19 0 R
->> endobj
-57 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\61\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\72\0\40\0\103\0\157\0\156\0\143\0\145\0\160\0\164\0\163)
- /Parent 56 0 R
- /Next 58 0 R
- /A 21 0 R
->> endobj
-58 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\62\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\72\0\40\0\102\0\157\0\157\0\163\0\164\0\162\0\141\0\160\0\160\0\151\0\156\0\147\0\40\0\164\0\150\0\145\0\40\0\127\0\145\0\142\0\40\0\104\0\141\0\164\0\141\0\142\0\141\0\163\0\145)
- /Parent 56 0 R
- /Prev 57 0 R
- /Next 59 0 R
- /A 23 0 R
->> endobj
-59 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\63\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\72\0\40\0\106\0\145\0\164\0\143\0\150\0\151\0\156\0\147)
- /Parent 56 0 R
- /Prev 58 0 R
- /Next 60 0 R
- /A 25 0 R
->> endobj
-60 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\64\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\72\0\40\0\111\0\156\0\144\0\145\0\170\0\151\0\156\0\147)
- /Parent 56 0 R
- /Prev 59 0 R
- /Next 61 0 R
- /A 27 0 R
->> endobj
-61 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\65\0\40\0\123\0\145\0\141\0\162\0\143\0\150\0\151\0\156\0\147)
- /Parent 56 0 R
- /Prev 60 0 R
- /A 29 0 R
->> endobj
-62 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-63 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-64 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-65 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-66 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F9
-/BaseFont /Courier
-/Encoding /WinAnsiEncoding >>
-endobj
-67 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F6
-/BaseFont /Times-Italic
-/Encoding /WinAnsiEncoding >>
-endobj
-68 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F7
-/BaseFont /Times-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 5
-/Kids [6 0 R 31 0 R 41 0 R 43 0 R 47 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- /Outlines 50 0 R
- /PageMode /UseOutlines
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 62 0 R /F5 63 0 R /F3 64 0 R /F2 65 0 R /F9 66 0 R /F6 67 0 R /F7 68 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-9 0 obj
-<<
-/S /GoTo
-/D [31 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-11 0 obj
-<<
-/S /GoTo
-/D [31 0 R /XYZ 85.0 548.666 null]
->>
-endobj
-13 0 obj
-<<
-/S /GoTo
-/D [31 0 R /XYZ 85.0 356.872 null]
->>
-endobj
-15 0 obj
-<<
-/S /GoTo
-/D [31 0 R /XYZ 85.0 291.338 null]
->>
-endobj
-17 0 obj
-<<
-/S /GoTo
-/D [41 0 R /XYZ 85.0 645.8 null]
->>
-endobj
-19 0 obj
-<<
-/S /GoTo
-/D [41 0 R /XYZ 85.0 412.827 null]
->>
-endobj
-21 0 obj
-<<
-/S /GoTo
-/D [41 0 R /XYZ 85.0 347.293 null]
->>
-endobj
-23 0 obj
-<<
-/S /GoTo
-/D [43 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-25 0 obj
-<<
-/S /GoTo
-/D [43 0 R /XYZ 85.0 417.507 null]
->>
-endobj
-27 0 obj
-<<
-/S /GoTo
-/D [47 0 R /XYZ 85.0 547.58 null]
->>
-endobj
-29 0 obj
-<<
-/S /GoTo
-/D [47 0 R /XYZ 85.0 401.287 null]
->>
-endobj
-50 0 obj
-<<
- /First 51 0 R
- /Last 56 0 R
->> endobj
-xref
-0 69
-0000000000 65535 f
-0000017517 00000 n
-0000017603 00000 n
-0000017695 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000935 00000 n
-0000001055 00000 n
-0000001150 00000 n
-0000017840 00000 n
-0000001284 00000 n
-0000017903 00000 n
-0000001421 00000 n
-0000017969 00000 n
-0000001558 00000 n
-0000018035 00000 n
-0000001695 00000 n
-0000018101 00000 n
-0000001832 00000 n
-0000018165 00000 n
-0000001969 00000 n
-0000018231 00000 n
-0000002105 00000 n
-0000018297 00000 n
-0000002242 00000 n
-0000018361 00000 n
-0000002379 00000 n
-0000018427 00000 n
-0000002516 00000 n
-0000018492 00000 n
-0000002653 00000 n
-0000005479 00000 n
-0000005602 00000 n
-0000005671 00000 n
-0000005864 00000 n
-0000006065 00000 n
-0000006252 00000 n
-0000006428 00000 n
-0000006618 00000 n
-0000006790 00000 n
-0000006966 00000 n
-0000009249 00000 n
-0000009357 00000 n
-0000011590 00000 n
-0000011713 00000 n
-0000011740 00000 n
-0000011910 00000 n
-0000013905 00000 n
-0000014028 00000 n
-0000014055 00000 n
-0000018558 00000 n
-0000014230 00000 n
-0000014393 00000 n
-0000014588 00000 n
-0000014835 00000 n
-0000015073 00000 n
-0000015333 00000 n
-0000015571 00000 n
-0000015784 00000 n
-0000016134 00000 n
-0000016361 00000 n
-0000016588 00000 n
-0000016744 00000 n
-0000016852 00000 n
-0000016962 00000 n
-0000017075 00000 n
-0000017191 00000 n
-0000017297 00000 n
-0000017408 00000 n
-trailer
-<<
-/Size 69
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-18609
-%%EOF
diff --git a/site/tutorial8.html b/site/tutorial8.html
deleted file mode 100644
index 76b91920f..000000000
--- a/site/tutorial8.html
+++ /dev/null
@@ -1,650 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Nutch version 0.8.x tutorial</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Project</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_selected_1.2', 'skin/')" id="menu_selected_1.2Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Documentation</div>
-<div id="menu_selected_1.2" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">Tutorial (0.8.x)</div>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Resources</div>
-<div id="menu_1.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menuitem">
-<a href="version_control.html">Version Control</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="tutorial8.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Nutch version 0.8.x tutorial</h1>
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#Requirements">Requirements</a>
-</li>
-<li>
-<a href="#Getting+Started">Getting Started</a>
-</li>
-<li>
-<a href="#Intranet+Crawling">Intranet Crawling</a>
-<ul class="minitoc">
-<li>
-<a href="#Intranet%3A+Configuration">Intranet: Configuration</a>
-</li>
-<li>
-<a href="#Intranet%3A+Running+the+Crawl">Intranet: Running the Crawl</a>
-</li>
-</ul>
-</li>
-<li>
-<a href="#Whole-web+Crawling">Whole-web Crawling</a>
-<ul class="minitoc">
-<li>
-<a href="#Whole-web%3A+Concepts">Whole-web: Concepts</a>
-</li>
-<li>
-<a href="#Whole-web%3A+Boostrapping+the+Web+Database">Whole-web: Boostrapping the Web Database</a>
-</li>
-<li>
-<a href="#Whole-web%3A+Fetching">Whole-web: Fetching</a>
-</li>
-<li>
-<a href="#Whole-web%3A+Indexing">Whole-web: Indexing</a>
-</li>
-<li>
-<a href="#Searching">Searching</a>
-</li>
-</ul>
-</li>
-</ul>
-</div>
-
-
-<a name="N1000D"></a><a name="Requirements"></a>
-<h2 class="h3">Requirements</h2>
-<div class="section">
-<ol>
-
-<li>Java 1.4.x, either from <a href="http://java.sun.com/j2se/downloads.html">Sun</a> or <a href="http://www-106.ibm.com/developerworks/java/jdk/">IBM</a> on
- Linux is preferred. Set <span class="codefrag">NUTCH_JAVA_HOME</span> to the root
- of your JVM installation.
- </li>
-
-<li>Apache's <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
-4.x.</li>
-
-<li>On Win32, <a href="http://www.cygwin.com/">cygwin</a>, for
-shell support. (If you plan to use Subversion on Win32, be sure to select the subversion package when you install, in the "Devel" category.)</li>
-
-<li>Up to a gigabyte of free disk space, a high-speed connection, and
-an hour or so.
- </li>
-
-</ol>
-</div>
-
-<a name="N10036"></a><a name="Getting+Started"></a>
-<h2 class="h3">Getting Started</h2>
-<div class="section">
-<p>First, you need to get a copy of the Nutch code. You can download
-a release from <a href="http://lucene.apache.org/nutch/release/">http://lucene.apache.org/nutch/release/</a>.
-Unpack the release and connect to its top-level directory. Or, check
-out the latest source code from <a href="version_control.html">subversion</a> and build it
-with <a href="http://ant.apache.org/">Ant</a>.</p>
-<p>Try the following command:</p>
-<pre class="code">bin/nutch</pre>
-<p>This will display the documentation for the Nutch command script.</p>
-<p>Now we're ready to crawl. There are two approaches to crawling:</p>
-<ol>
-
-<li>Intranet crawling, with the <span class="codefrag">crawl</span> command.</li>
-
-<li>Whole-web crawling, with much greater control, using the lower
-level <span class="codefrag">inject</span>, <span class="codefrag">generate</span>, <span class="codefrag">fetch</span>
-and <span class="codefrag">updatedb</span> commands.</li>
-
-</ol>
-</div>
-
-<a name="N10071"></a><a name="Intranet+Crawling"></a>
-<h2 class="h3">Intranet Crawling</h2>
-<div class="section">
-<p>Intranet crawling is more appropriate when you intend to crawl up to
-around one million pages on a handful of web servers.</p>
-<a name="N1007A"></a><a name="Intranet%3A+Configuration"></a>
-<h3 class="h4">Intranet: Configuration</h3>
-<p>To configure things for intranet crawling you must:</p>
-<ol>
-
-
-<li>Create a directory with a flat file of root urls. For example, to
-crawl the <span class="codefrag">nutch</span> site you might start with a file named
-<span class="codefrag">urls/nutch</span> containing the url of just the Nutch home
-page. All other Nutch pages should be reachable from this page. The
-<span class="codefrag">urls/nutch</span> file would thus contain:
-<pre class="code">
-http://lucene.apache.org/nutch/
-</pre>
-
-</li>
-
-
-<li>Edit the file <span class="codefrag">conf/crawl-urlfilter.txt</span> and replace
-<span class="codefrag">MY.DOMAIN.NAME</span> with the name of the domain you wish to
-crawl. For example, if you wished to limit the crawl to the
-<span class="codefrag">apache.org</span> domain, the line should read:
-<pre class="code">
-+^http://([a-z0-9]*\.)*apache.org/
-</pre>
-This will include any url in the domain <span class="codefrag">apache.org</span>.
-</li>
-
-<li>Edit the file <span class="codefrag">conf/nutch-site.xml</span>, insert at minimum
-following properties into it and edit in proper values for the properties:
-<pre class="code">
-
-&lt;property&gt;
- &lt;name&gt;http.agent.name&lt;/name&gt;
- &lt;value&gt;&lt;/value&gt;
- &lt;description&gt;HTTP 'User-Agent' request header. MUST NOT be empty -
- please set this to a single word uniquely related to your organization.
-
- NOTE: You should also check other related properties:
-
- http.robots.agents
- http.agent.description
- http.agent.url
- http.agent.email
- http.agent.version
-
- and set their values appropriately.
-
- &lt;/description&gt;
-&lt;/property&gt;
-
-&lt;property&gt;
- &lt;name&gt;http.agent.description&lt;/name&gt;
- &lt;value&gt;&lt;/value&gt;
- &lt;description&gt;Further description of our bot- this text is used in
- the User-Agent header. It appears in parenthesis after the agent name.
- &lt;/description&gt;
-&lt;/property&gt;
-
-&lt;property&gt;
- &lt;name&gt;http.agent.url&lt;/name&gt;
- &lt;value&gt;&lt;/value&gt;
- &lt;description&gt;A URL to advertise in the User-Agent header. This will
- appear in parenthesis after the agent name. Custom dictates that this
- should be a URL of a page explaining the purpose and behavior of this
- crawler.
- &lt;/description&gt;
-&lt;/property&gt;
-
-&lt;property&gt;
- &lt;name&gt;http.agent.email&lt;/name&gt;
- &lt;value&gt;&lt;/value&gt;
- &lt;description&gt;An email address to advertise in the HTTP 'From' request
- header and User-Agent header. A good practice is to mangle this
- address (e.g. 'info at example dot com') to avoid spamming.
- &lt;/description&gt;
-&lt;/property&gt;
-
-
-</pre>
-
-</li>
-
-</ol>
-<a name="N100B4"></a><a name="Intranet%3A+Running+the+Crawl"></a>
-<h3 class="h4">Intranet: Running the Crawl</h3>
-<p>Once things are configured, running the crawl is easy. Just use the
-crawl command. Its options include:</p>
-<ul>
-
-<li>
-<span class="codefrag">-dir</span> <em>dir</em> names the directory to put the crawl in.</li>
-
-<li>
-<span class="codefrag">-threads</span> <em>threads</em> determines the number of
-threads that will fetch in parallel.</li>
-
-<li>
-<span class="codefrag">-depth</span> <em>depth</em> indicates the link depth from the root
-page that should be crawled.</li>
-
-<li>
-<span class="codefrag">-topN</span> <em>N</em> determines the maximum number of pages that
-will be retrieved at each level up to the depth.</li>
-
-</ul>
-<p>For example, a typical call might be:</p>
-<pre class="code">
-bin/nutch crawl urls -dir crawl -depth 3 -topN 50
-</pre>
-<p>Typically one starts testing one's configuration by crawling at
-shallow depths, sharply limiting the number of pages fetched at each
-level (<span class="codefrag">-topN</span>), and watching the output to check that
-desired pages are fetched and undesirable pages are not. Once one is
-confident of the configuration, then an appropriate depth for a full
-crawl is around 10. The number of pages per level
-(<span class="codefrag">-topN</span>) for a full crawl can be from tens of thousands to
-millions, depending on your resources.</p>
-<p>Once crawling has completed, one can skip to the Searching section
-below.</p>
-</div>
-
-
-<a name="N100F5"></a><a name="Whole-web+Crawling"></a>
-<h2 class="h3">Whole-web Crawling</h2>
-<div class="section">
-<p>Whole-web crawling is designed to handle very large crawls which may
-take weeks to complete, running on multiple machines.</p>
-<a name="N100FE"></a><a name="Whole-web%3A+Concepts"></a>
-<h3 class="h4">Whole-web: Concepts</h3>
-<p>Nutch data is composed of:</p>
-<ol>
-
-
-<li>The crawl database, or <em>crawldb</em>. This contains
-information about every url known to Nutch, including whether it was
-fetched, and, if so, when.</li>
-
-
-<li>The link database, or <em>linkdb</em>. This contains the list
-of known links to each url, including both the source url and anchor
-text of the link.</li>
-
-
-<li>A set of <em>segments</em>. Each segment is a set of urls that are
-fetched as a unit. Segments are directories with the following
-subdirectories:</li>
-
-
-<li>
-<ul>
-
-<li>a <em>crawl_generate</em> names a set of urls to be fetched</li>
-
-<li>a <em>crawl_fetch</em> contains the status of fetching each url</li>
-
-<li>a <em>content</em> contains the content of each url</li>
-
-<li>a <em>parse_text</em> contains the parsed text of each url</li>
-
-<li>a <em>parse_data</em> contains outlinks and metadata parsed
- from each url</li>
-
-<li>a <em>crawl_parse</em> contains the outlink urls, used to
- update the crawldb</li>
-
-</ul>
-</li>
-
-
-<li>The <em>indexes</em>are Lucene-format indexes.</li>
-
-
-</ol>
-<a name="N1014B"></a><a name="Whole-web%3A+Boostrapping+the+Web+Database"></a>
-<h3 class="h4">Whole-web: Boostrapping the Web Database</h3>
-<p>The <em>injector</em> adds urls to the crawldb. Let's inject URLs
-from the <a href="http://dmoz.org/">DMOZ</a> Open Directory. First we
-must download and uncompress the file listing all of the DMOZ pages.
-(This is a 200+Mb file, so this will take a few minutes.)</p>
-<pre class="code">wget http://rdf.dmoz.org/rdf/content.rdf.u8.gz
-gunzip content.rdf.u8.gz</pre>
-<p>Next we select a random subset of these pages.
- (We use a random subset so that everyone who runs this tutorial
-doesn't hammer the same sites.) DMOZ contains around three million
-URLs. We select one out of every 5000, so that we end up with
-around 1000 URLs:</p>
-<pre class="code">mkdir dmoz
-bin/nutch org.apache.nutch.tools.DmozParser content.rdf.u8 -subset 5000 &gt; dmoz/urls</pre>
-<p>The parser also takes a few minutes, as it must parse the full
-file. Finally, we initialize the crawl db with the selected urls.</p>
-<pre class="code">bin/nutch inject crawl/crawldb dmoz</pre>
-<p>Now we have a web database with around 1000 as-yet unfetched URLs in it.</p>
-<a name="N10171"></a><a name="Whole-web%3A+Fetching"></a>
-<h3 class="h4">Whole-web: Fetching</h3>
-<p>
-Starting from 0.8 nutch user agent identifier needs to be configured
-before fetching. To do this you must edit the file <span class="codefrag">conf/nutch-site.xml</span>, insert at minimum
-following properties into it and edit in proper values for the properties:
-</p>
-<pre class="code">
-
-&lt;property&gt;
- &lt;name&gt;http.agent.name&lt;/name&gt;
- &lt;value&gt;&lt;/value&gt;
- &lt;description&gt;HTTP 'User-Agent' request header. MUST NOT be empty -
- please set this to a single word uniquely related to your organization.
-
- NOTE: You should also check other related properties:
-
- http.robots.agents
- http.agent.description
- http.agent.url
- http.agent.email
- http.agent.version
-
- and set their values appropriately.
-
- &lt;/description&gt;
-&lt;/property&gt;
-
-&lt;property&gt;
- &lt;name&gt;http.agent.description&lt;/name&gt;
- &lt;value&gt;&lt;/value&gt;
- &lt;description&gt;Further description of our bot- this text is used in
- the User-Agent header. It appears in parenthesis after the agent name.
- &lt;/description&gt;
-&lt;/property&gt;
-
-&lt;property&gt;
- &lt;name&gt;http.agent.url&lt;/name&gt;
- &lt;value&gt;&lt;/value&gt;
- &lt;description&gt;A URL to advertise in the User-Agent header. This will
- appear in parenthesis after the agent name. Custom dictates that this
- should be a URL of a page explaining the purpose and behavior of this
- crawler.
- &lt;/description&gt;
-&lt;/property&gt;
-
-&lt;property&gt;
- &lt;name&gt;http.agent.email&lt;/name&gt;
- &lt;value&gt;&lt;/value&gt;
- &lt;description&gt;An email address to advertise in the HTTP 'From' request
- header and User-Agent header. A good practice is to mangle this
- address (e.g. 'info at example dot com') to avoid spamming.
- &lt;/description&gt;
-&lt;/property&gt;
-
-
-</pre>
-<p>To fetch, we first generate a fetchlist from the database:</p>
-<pre class="code">bin/nutch generate crawl/crawldb crawl/segments
-</pre>
-<p>This generates a fetchlist for all of the pages due to be fetched.
- The fetchlist is placed in a newly created segment directory.
- The segment directory is named by the time it's created. We
-save the name of this segment in the shell variable <span class="codefrag">s1</span>:</p>
-<pre class="code">s1=`ls -d crawl/segments/2* | tail -1`
-echo $s1
-</pre>
-<p>Now we run the fetcher on this segment with:</p>
-<pre class="code">bin/nutch fetch $s1</pre>
-<p>When this is complete, we update the database with the results of the
-fetch:</p>
-<pre class="code">bin/nutch updatedb crawl/crawldb $s1</pre>
-<p>Now the database has entries for all of the pages referenced by the
-initial set.</p>
-<p>Now we fetch a new segment with the top-scoring 1000 pages:</p>
-<pre class="code">bin/nutch generate crawl/crawldb crawl/segments -topN 1000
-s2=`ls -d crawl/segments/2* | tail -1`
-echo $s2
-
-bin/nutch fetch $s2
-bin/nutch updatedb crawl/crawldb $s2
-</pre>
-<p>Let's fetch one more round:</p>
-<pre class="code">
-bin/nutch generate crawl/crawldb crawl/segments -topN 1000
-s3=`ls -d crawl/segments/2* | tail -1`
-echo $s3
-
-bin/nutch fetch $s3
-bin/nutch updatedb crawl/crawldb $s3
-</pre>
-<p>By this point we've fetched a few thousand pages. Let's index
-them!</p>
-<a name="N101B5"></a><a name="Whole-web%3A+Indexing"></a>
-<h3 class="h4">Whole-web: Indexing</h3>
-<p>Before indexing we first invert all of the links, so that we may
-index incoming anchor text with the pages.</p>
-<pre class="code">bin/nutch invertlinks crawl/linkdb crawl/segments/*</pre>
-<p>To index the segments we use the <span class="codefrag">index</span> command, as follows:</p>
-<pre class="code">bin/nutch index crawl/indexes crawl/crawldb crawl/linkdb crawl/segments/*</pre>
-<p>Now we're ready to search!</p>
-<a name="N101D6"></a><a name="Searching"></a>
-<h3 class="h4">Searching</h3>
-<p>
-Simplest way to verify the integrity of your crawl is to launch NutchBean from command line:
-</p>
-<pre class="code">bin/nutch org.apache.nutch.searcher.NutchBean apache</pre>
-<p>
-After you have verified that the above command returns results you can proceed to
-setting up the web interface.
-</p>
-<p>To search you need to put the nutch war file into your servlet
-container. (If instead of downloading a Nutch release you checked the
-sources out of SVN, then you'll first need to build the war file, with
-the command <span class="codefrag">ant war</span>.)</p>
-<p>Assuming you've unpacked Tomcat as ~/local/tomcat, then the Nutch war
-file may be installed with the commands:</p>
-<pre class="code">rm -rf ~/local/tomcat/webapps/ROOT*
-cp nutch*.war ~/local/tomcat/webapps/ROOT.war
-</pre>
-<p>The webapp finds its indexes in <span class="codefrag">./crawl</span>, relative
-to where you start Tomcat, so use a command like:</p>
-<pre class="code">~/local/tomcat/bin/catalina.sh start
-</pre>
-<p>Then visit <a href="http://localhost:8080/">http://localhost:8080/</a>
-and have fun!</p>
-<p>More detailed tutorials are available on the Nutch Wiki.
-</p>
-</div>
-
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/tutorial8.pdf b/site/tutorial8.pdf
deleted file mode 100644
index da692de86..000000000
--- a/site/tutorial8.pdf
+++ /dev/null
@@ -1,686 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 776 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gaua=9lo#B&;KZQ'fqLF<.3K1\!!%PHK\%TB6$Oi&0SbEN_O%EV#S/l%(=@km*;tG%^>Y1bHlM=[?Dm20Vs:RLd86QOSr>c#cn+:OSN8qgNt)2OG78,4G0QZpI[(s2rKuiA+OC+.TMlPH$]Y00mmb2?0O\P,.dlj5k<0QMZDUhlbq]nLR<g=N'tlGC"M;:dAU0T^DB>AAZj3g4Us12Y(mUo$ZZYY<3M(*DfXq+?MD,Tj@bafq-8\p;;jAb$V^o&p&ZJe:J<2_HNqnom!4)G>,V2-c14O9V<.8oo]E@8R/I1Mjq-ooBKs,lI@k:$EiE:<4!f'<9?/pR*B>32DC^[b+WMTFiE;uj$@0\l_#D`60Ci,SY*@;9W\9S;$dGZ'AqQaNEsWfLZXU,34oZ2B%oo3FoWL4E8.Y_`(#9S.?H'5^2'%VJ.c0oKg_?0hh9#Kc-#]LEiA(Pim5lOedpb\_meJfo?*u?Hp6':L`hq.W]E]#&_mpp3TQJN['_.tI8u)FRp3jV=qTARa[$ZbLrgO=aFkOL<&MW5CoS>HNb+&\7oUc(3qPc<hb@Pg6K;84GiVgi>*&XjU_6][email protected].^0M]rF*=MIW#n$YgK"N(5I0H:P<rQ$9A`+6a2hVNi5L])DT'LBJs"HZgD9u!#>0SJn0==Q0q:)B0bZC#)#'nHbW1VL%Uqf?kIrIT^K%l%k]YJT8N:T>Jl(*'8R:8^nS'Kh^-*uIH7+r$B3J:1dZ"7RHS*EE_o45k>F&1#asClOrr=fENEQ~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-10 0 R
-12 0 R
-14 0 R
-16 0 R
-18 0 R
-20 0 R
-22 0 R
-24 0 R
-26 0 R
-28 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 559.666 176.66 547.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 9 0 R
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 541.466 182.996 529.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 11 0 R
-/H /I
->>
-endobj
-12 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 523.266 194.984 511.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 13 0 R
-/H /I
->>
-endobj
-14 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 505.066 234.488 493.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 15 0 R
-/H /I
->>
-endobj
-16 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 486.866 258.488 474.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 17 0 R
-/H /I
->>
-endobj
-18 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 468.666 213.644 456.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 19 0 R
-/H /I
->>
-endobj
-20 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 450.466 230.48 438.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 21 0 R
-/H /I
->>
-endobj
-22 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 432.266 340.784 420.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 23 0 R
-/H /I
->>
-endobj
-24 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 414.066 227.816 402.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 25 0 R
-/H /I
->>
-endobj
-26 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 395.866 228.476 383.866 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 27 0 R
-/H /I
->>
-endobj
-28 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 108.0 377.666 171.488 365.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 29 0 R
-/H /I
->>
-endobj
-30 0 obj
-<< /Length 2681 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gatm=D/\/e&H;*)+mdBM+CQOYHL&&ICUt9S\h3?)@3#R*VJU1Ukinp=rr%k'j&)+Q%2]GJOhs3:*UfSHNdA$:gtqpo_hi4^[gUsE/KDrgIuY8tnBU'Q36\^p#OD+7LV0p1W2nc^r@Ipsj%LF\>3)lg5HNte`Ok6k+-9MAhCiVX`_#*6(9_7dr/a`*'@ppge)HA@fWcE"Des;`?"1ElcV"*%]mI3AZ%HXKpZpo_UT]e<dNP,C?gD>:(OM;/kA;OVf_AXNp%*NG6(NOZ^'De@TtYZR..`;9KD%`Cfd(NblXW0/hDDOkcK`X&3jaH6A_QL,@njMi.+]t\2J/E$?nk0Kq&WrSrD0;53qS.KhE247#,bKP8#E+DL-NUjq5b[u>lT8s`)^E:fV#m&&k.#;iRrd&gEe[1j7)hhq=a\M5Ml?ZpZM:C*o9VeKBmbpdY2K?H8u)5ZsBsRg:g8'69iSorr#9O.!7`Qnpm6*o--eiW/,#bo5u=jh(TsXPMPkOG.V0Rm)IJcA$k*NDtB+0E*Nm%HQ_=35UD-u3`Yi20BOO7etKQYb/67i#'.TfH)"_"L5NS_JcH:Z#m$M-!a$L#l9Culq__+d]cIQ9`sJLA#]o"U_$D4P?Me240KL6.JG%+R'G&`ueuol7m+G!q4o&D0$$n.`8!t*j9YOb[0N/K^<>(uBW;LO_06<B!:Z^lBaRU2"WZ2:Nqn*QoSkPMU%$Zk>;\d?qcWh`)NU"M3WI2Jo8E@O\*EmR=MfcnrVRir#Rusheq+c;PaZ'&"jK7(Vm"Kh4FYP?$Yj4>t7T.+o(1]TNLCXNqU0YEi<\K.D`g1HgcsJ\Nr\k0+`(F8F.c&.WrCq_T@Y6e/BaSJRdDds+#!X4>#,iCg.Wl.V5qjP'-ja^iTraN-08^rKG:4>e-nCOI,=KA%c3;p*U>U:C%R#FoS0(*MkW#$'grEQ(>`WDmC.&B#dS:L/d9XrUbOBKh3VQVklTLQf#S`0RYRP@fqMdV6M2X?FHY6/O&ME5QW_s"PLE>t/&;go^%h37IAe*0F.XVl;Z.p/7nb)9d;Q`G<85qGf,.$*BWnb:)m(48`%.4$b*K%r$<#,F(0[KYT1:PBmiF@h)*<4uBP:/!G6!*G%F9'(`C]c53>ptNUd[r:Z7Gp-`=-d>U#Q8#j"g4LR>735CAfW:0cq2#F"uW)LPX-746iCWBM7,I,V\k38:5qOiYP19p7dsJjS8</S&U4D]*q9ED"S$;g]]$(.IP]"`XT_jOQO\!JXWB&?K5'8o#1OV?HPnipX\9@Q1>lt#%gRp8CVsfCdm!C7S+mKbWVYM-2mja&J(4/W\mTE2J0E-2#6"X)[Kl;_o71f:5k$6ulggQZ?F:II[j$+*kBkG+:GF1Cd#!9jN(%>'f;0Ac/)EA)FJbb;$6uR<FVZ'WiPP_iVle(%nq8P0he!(E7%9NOKNMm7.7%OZKOGEZNBqkc\;q_mR8aHZ:FLr+H$tNZY`Mj)EUIM@WmYdurf@muPi?<*mX*bC73hZ(dhZKq@<Q&H;X']*N;EO(:jnKCM*DAa+TC6aiCC!\g.d%Pb=(-U`9KPii)&EdgHfiop]:F68s)\=/^)qJF;*To#n,em1-!KED(8(6S;>Y/WX^rP3!Z\^qbl#ZgGG&`Hsl!Znf@Ah/1SS;Hp&;BK-<+_M=:)'DoFQ]:]RSg86,!il"H7lVCb024Dqrsc"^u<eK4U.9h+7]8M&m3Yp#aO@C/2So5]34AD8MlAUpgF$T]16%*81r*$3:nOK]M@`s[=jT&h(((fOgbbi5Rg4'iXG*MLI^(j*_O2WnVV`%#;T[QZrHd@A,Hg@g?OH@:Hl0ZQ5/7ijY>D2E)G]\L;W>\&`[(^[t^6Eb:QBQk?Q$tR.hPQEVr`k+!A>2Ddk:bNqJE4\5?N%d:?%B.HA&;9GYMZHf-^:6Pt+X'[tN4'\O80K2c%V8sOCgZH;P^;<Tp/Tq:[dLf1^j#9E3t=FYj(Rg<M3(fn3#NU5c&94i96,-[pGc453BA,n4CV*N^iW*.0!-8?E;U=p;i#oMPfGaaePQe2_,-MgGq3okGC)H$W0r!-5`H>Pd6UHX1^B\JgtZ%$pEK23WH1Y]J>5(En%#*;pjE)ko<CT_7l0o1+GQYh3+Zl^Jfg4#GF/S-o<U_YIh0'[]e&]HZnfbfH698PZT/R3F`(qPq<B6]Y^p[ge#QV!j#ZV=A=XJ<;0,)!frdB(^)$SYRGT"Ps"l(1]CQqE)6I*on`b`nW=]9il7dG5mD^Fl<;46n%qj?n7CJ^%2rAK3Z,B'c+!b9Pi-=$VV`M_4"]@9ufUr6N/h*Bi-mmu5n@frR&Bb38II#!kZQ6nkGW'Y+r'nEtoPjQ`OZ_JpJ#Q<&H2>tQ(82O.(BCaHAHY]#eM',X#1Z'TO7Ai@SE#H?@U?^o2<(k[HaUcDj^SoF7ahC!@_IT5jQ:XuOZiO1"Cc#\3qk#$4R:2@+h\r%*/K=d7mo5/CT]t*JFG?;o.>Imim;;L%W\8#6f4Zi(&F`Q]n;/u4<&3r&nj]R,mFJQ<NF<q#(GF71g?)-!0XJ`38Lpa"bTpm/3olDDs[>*q2!F88<I72&:n!6k:Za7jLUH#Xqbnpd:rB<4MG?C$hr1;?%&ELUS"K%HhqGZa1Hf!57Hi?-b1g(c$`([k$Be7p&ekR<]@ScU"VRuc_=mqh,"Weq\QnV=If~>
-endstream
-endobj
-31 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 30 0 R
-/Annots 32 0 R
->>
-endobj
-32 0 obj
-[
-33 0 R
-34 0 R
-35 0 R
-36 0 R
-37 0 R
-38 0 R
-39 0 R
-]
-endobj
-33 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 218.976 633.666 237.648 621.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://java.sun.com/j2se/downloads.html)
-/S /URI >>
-/H /I
->>
-endobj
-34 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 253.644 633.666 276.312 621.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www-106.ibm.com/developerworks/java/jdk/)
-/S /URI >>
-/H /I
->>
-endobj
-35 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 154.476 607.266 191.136 595.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://jakarta.apache.org/tomcat/)
-/S /URI >>
-/H /I
->>
-endobj
-36 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 164.328 594.066 199.656 582.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.cygwin.com/)
-/S /URI >>
-/H /I
->>
-endobj
-37 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 90.0 506.132 275.292 494.132 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://lucene.apache.org/nutch/release/)
-/S /URI >>
-/H /I
->>
-endobj
-38 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 339.6 492.932 391.596 480.932 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (version_control.html)
-/S /URI >>
-/H /I
->>
-endobj
-39 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 476.604 492.932 494.604 480.932 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://ant.apache.org/)
-/S /URI >>
-/H /I
->>
-endobj
-40 0 obj
-<< /Length 1748 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gatm<lYkN9&HD156Jn5Ro2ubr4c1@I>;TW@Xm90b_pEK*A(.k?=]G&bir8U4^!)Zl\Sb7IZ#qnlG`U`&n+:'QGr;4AR4rE9s0!fD%CYAD*e(\pHCbK3J7iH9\srU\H1>D!D=Cff(7#Cnj1\H?qm^*<g"IAEnbm6=_X,(.J>2Q:('<nZ-d6HpMcFE9<ti3sbJlbY[B+6GJ["9@ldNg+s)*]<I5[SN?@7pbYP'gNr:K[uDD.X)<%^'9FLIcH>+_qmmjM1<b\<jo8E:fpJ_Q!NDkd0XRQ@kH(Cs@_)_+GqEOf%\5peZ\PZ_q*GqM".AZ</EqQ\R"4OV=XI0`3DYE^j*KJhNmO#^Xp^lB8#?oo>JYMII^gYTgG?75^%1+Ga%>t)"Z@4(SnnF5)%\:m[YZ_T,fRqWoY$6H\H.=5nJgd;[gdMV$p,O.kk]T&(f>Af;/3f`l#PcW,-RctLi6n5)i$VdRo<U[^lLgG9I\n#Ll<6nnc,gBbP^6`h2%pnL:`6h'!B<='V-Uhk_^"VSHlQ]#ROX0<u0DlAD^G5_f<Gm#/kU<@g'o:Lm[9F<T<S(57K3YIQJ;V(0eZ6U3!o_uOJudU2f2o<@HXo?iL@+u:aqn3F(6M@pJ"+dATfYELG3>'MLmmT"8qeX)2,dj9*/.PJ.(N:pR"[ahI[D)>m9bOV;s%5"dpct2l*.1j%1[;U9k,Jj+s9rTMk[1O*Mq#e,TMX*Qq2JKg!W].&ts%0NnPDp67muSmW=j+JmNC8GT1h-;_j3Db0%COCa!9.CP.DVHM,LPn;f2YmMfHO6kpU&6lE(_MuO3b0e]gGFrY/;?7Ab/7p$>?f'P=+1OZ0Z]YS)AbRuV6IDXE?Qb[C(c"Gt=,I[FU);=L5i8SF^_Q.4#5qm8q,DLQ1jT@!_&TKhK,!]qp0]5nu>eI7<?$Of?a'"(EO*AL(GH3LUV<s6(i?54,gB#l:m;0/"e9cK!J9tVa_4h1k=QL\uSLQn[F27g9!lTcp_,(0D.C23YHgo^`HUXN!Z5YMZ*A%T_O[P90;W]enU1$l;Q\4++7!%V"qb<1m.Z)5OYIl<1cqlL@qa^'1;e@FmUN3B.>SYa;^%5fVoFM9f#M+L"MVTrn3VElOSW,t]34Rs1'KRBBT:^g(-f>R2,:LK>E!h#Rmt/g07j%GL^r-6LSs-+es't+J=l*56PMSY`Hp7UjGn6cHT7*AT<QH0=JeN<%E.ssW$_WMrOj]@FbIl2+P*"(c^m[_+CEno.i?A/*lqpt@*8Y86/W_2CTLgf9\SKnt4JjhC'i"9\A8GF]WM[Mt(&0kuOnY!`L//gKNOp<:n1HKl&D$q(6D!4HRsB1[3R$:iGi-Y$((+I4jVeL03+KL"hk[0UNVNY2n&REL#nVaB7R5_bh^6I2REESH\aRVTK80(He(^QsFs*YU#k5F>U!D='ba_H!G(EVY[FW#\9J2396#@JoHRo!,lR3[>.j/MfE9,*p$O(=?fTR^d;;W-GQfL'$-S@:PFb--s]c;mU]oHd\PfbRQRHrh%?sGt\T?)lBNFN.M*f]JFY6!r=inJ3IXsQHl7qnQI%9_<AOYn'ZGjMOHAYHA#lUl%N03[](m16Q%Wi]uAs54k@Wi9pe9mphSWt84\Dj>Y#e0]5T-RS6<lTft:R%SAA&:,L["9Dh-?#0@9Vn4K`DsEbD&*ctPJf+nK'@0MHAh7hUkOg>=6\!I`iW3s(ZZ;haAD,3UHa`'j:IEWEkCckAqg5^Rj1,*i1m,&D~>
-endstream
-endobj
-41 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 40 0 R
->>
-endobj
-42 0 obj
-<< /Length 2340 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-GatU5gQ(#H&:O:SkcIuqQP$3D:_ZHP,\S6F8IY6b>84G=gVQRW.oGj)hfl$b:cI,8Jg@4piT8;BbaJ"5p$0G@p"tX1#Pe11("pO6I,B^/>u,s!E2Z8Hc`qM!D,u.hhH_sG&b3`slSe:h_"K=K"OmaFr]bo\QB`Pnq(KL1Z<#Hbq\:)/[DM6jO[\rsli"u/p1;,`C,Mkp#kM6ceGB'mc`^-T4Gd=Vr,QHKA$%tJD.$5=[VbEs1JsJu%]et:_T3`K>b1B7YF3OY-IeOad?cW3ip>#V:e/nDhWOg,1^d'OBD]X;K+:,l,6.d/SnCnYYsg<T,\iD6HaXZ6H.Yj=O*Qc"graFT+3IjTme_e8iX*'d$//gHVA?gh6/[,C$e:<\6<lJ0<i.=lFr4dj1m",\%O.Q9F(fhsZ-:R,ibY*K47T3>/tIR=B7tTU/<>a8SO#(fW+i%Z]QW+d?(?*Srn,)E88)17K<[M;kEF899p:O6U6n4WVA!/[o,%&4lp%+7Fep<=EY0c[,ggI*\IigBW73O<Hrhl8jbLc5XbK;TaI!tVNHRXF4H6[Me?UjcLqFhQ4asY=Z%'P$M!$``YjI.u*\iNXHCj^R&]nTh*Ot:AiTg2kp(S2gF^.8`EsXX>9Toc$L(4N<f//Ak?+f96(=XVTSe*XB,s%]>REjIH;CW+06-NbE*+bQ)qXJ1=B<f(-2M7KA)qk]hf*<Tt^Fb$(#"+U3(@O>dT^Os#\4GMA5K@K+?H6[fk`ou(Gih?SZ1oXWgt5GBbkhNL9Emeo!RF54\i`\W.5R]4ifL-qmtQ95'L,33?Lc7g;^,$Rj(S.Q'CZd8(lf,t`eU>+(qdZkqYTqX^#]5N8"\4D1sG0s?nm`-;rZ9!53aK??>!giBRJQjhT`:KPG0/L8SR>;2I*V!#CTTn],c4k!cdO3\fUCr]<n_L:/E:#)=hR:Gci_47A1-\!H8!k^2Lssf9mZT#L-Trc'ZD-(9ea'*\aY)2r;VOHG^D$",6!J7n_hu<qDdDL>,ekMjs-64+)F`&?$S)dubT<]/E%,fS.,nZ-hSP^-ijml']H?k<Y3+1<#!<KGAA)CY&V5[SM-/%)u$V+Dl;.8/ag<$nL1[R8oI@9d6a0/s?Y,:K((/S;rAPh2+gn7$taiAA7GRqIW'T=-UHYJBmZ;d-$UqA+CJbnpK`AOV5XPI>Pl"K!=FK/2<_-Z22<5dS1P\i'=gc[K$a6E5LbH>QLrI,7(HljHm"LZe_n6j4t5T\&BE*3HZHr">3eM#qF+".#aoI8s^tPD-cPa:P&sc;&>FI#m+(q).i]k0="!db=)HlXXGN[Y6.CnM\>0;(l.&p2_Kj1c,qFiNE]rO<BS7PW._@+kC[_Q5Ts[8$3B,#(PGWB]+[c[@0$[$V`pK+R/PW6-K<u82Z9EFh+;6OGR*5t8"Dj$;[@Tm2)W#K;1Z.nIq%XsaS:YX!-cM'"N8A%JP.urI1s+s9R)"'H4s#$5/oQ6V&Yhjr!?MtKm4M4G0D2.HPPp.>A>^s+0\8a1/[Qj0r2$c6-n6;2@f?;.J$_%dj[e^50eK]'L-`2LU!b"GK0><7l.*uYAl@>6.eJ7<EBC$;*F?Wim[>G36;66=7.`M2AcP-]?O6</6*jY<7gTNmFKhr]`Pmn%54s;jAHeI_56XhCG&H.\_AY=B8AO0Dd"$8B97NVO3J.G"RgH**r/97OWr#=!&D,-4D")R/[2bdNPZ,`r-=@4TUSa^S'OS*E=>:l(ft3p//:l>L*oItUQG5i&so(J1^]n#C%fe(PCl?omj'mtAcL$1T[c5bq=Tuqe8Qe:DW&O-Dc$p"gC+8X[UrFC.G]PFdk$k/&.RHqeP]Ip&dpX.QZ[2;iMn&FH+#kFfqQFVbkX`qS'//FJF5"+S1A7dTQ'W@kNXLa4P`hb-kJ+SVEu8#:teQZ6)sNMkaH[N+s.5S2&":!hh?J'GK_sJ/sIj7/!X7rMib-uM2bZ9#c35YHf2=q*+OtVNb;M'Qb$]cAQ?9,ZWt^8e-/%F$urIYM!O^7[-kst:tiajcrtXM_a;hd8h0i^6mhK),+9#bnA+dcBg([dItucU7+b3/I*,akVlUt#5IRcAh__/GY(fk^.Dp6f8/@)`Ei**@eh]9A$A[GTQj)ipRrM`'G_$T[BVR*skb92Mo#ta3@P+$:hEA2:8=kegWmi<U`\20)GJKZ72X#Ol&SsAHE\5o:X^%X=I=[8'%[7,/coGe5ogdK#mM9ol\[ik(8]Utb_`pA;</c4NJk/[?;aJ*`VjG'`49h5[i-^UZ,A,\Z5ADrk4a;;TGgZ;egoGK0AEkNaFhqBU++h`%P-l?1CDUY8$B]i(qr`LcrsUm[$N~>
-endstream
-endobj
-43 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 42 0 R
->>
-endobj
-44 0 obj
-<< /Length 2401 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gatm=lYd_$%0)p6ikD8.)Yp1U#=3l`D)MfNX`73Sb>?8?g"(I5\bCp?r:QiQ@8ZQcP:]37a4)+YOs5B$PulG02q+Pj8(:\Wmk71f93`hQ6hp9UrV\#2+qfR&;[@#Zo_[%:#8n]iTB>O_7Gq"U1n>`!%?h/ae=gc]3J3EHY4#%cc<no#(^los-^6N@T(2!hhp1jQO:^h*m'o3NGV$<!Y>nnc]\9UoqeVoFYjA][email protected]+n"%943I\+r0;I?4/!YnHZ3Gu9I&Q+/tjBH.&Nc1lg[NSG42Cj(&Td@O"`;iJ`oXjJT$p`ZCG]$Ip*[Ap9$k24Mmc]R$6;=Sh)1!e&O[JJ5+TFl19iXO+]?1:S^[8H7_4/)c,_a2ZF`j2LiJOhjj'RI%hVhqYudL)nYS[*?5f`jqJX`<-1)N[=p2,;]ja1Z'5V)[O+Q4Q;9MaQX+\/",!D8LgVIVc@\!a56*^)"7=RB'f9;7^kDN<p2ejH.=m,me.b@%T,^7!r.;9Uoq;m*r,M;Q?f*^0]!11#hIO@V1GJ&B?T@MirML%RQ4%IahjdEta^i,Nrtp%LbWg+6@f@)qSR0RK"M7.odS[I/pEAR*E\#['YI,3#[RH&,Gq$W/aMu>$;k4J,])K*)$$@BmI&8ebSiqF6'qSM.-`+59V'r]Q/BQ+d@_nQ-=5>*(8)l\SU*VE>K!qBD,(-2Z*0Z%tAc7iYq+ZXHek(rNI%tM?$d9No#qGYgf6g'R-`n]T>R=S?P:#>h/U@W]#."3!'-h5jS>OXk&1Sa$=5h1IPf[XK6C'=Z0N//0V,g$q)b;D!U=9Le3G!(o.&&-^[\Cmg8-f5J<Q>$6p*5X['du2\PF_nSc:uFsg(%ODe]:=.oKAF"=BnG9StrJ;L3@1&X%_Pr;Z4+6kOrc(Q<N9O?2$^hYp3'7eH'Zj$ML+[R,,C_f@0HK[85/ur`83gg]HS>7ZX7oZb?`2)^[Lji1@A8sQh?9a!7834;>3kpko,C)u"./<SB8!qmKepFGn_,4EobXuYm!X1tCcK_^,Q"$QFJZpZDThtW<T%<#mO[$4H*E0J4L`93-<A"L3)Sp(TLs6RS-u-B6j!_$E!!LD@Uo$bKq(^TFa]BuiN20e%=.#/!oF@e]I`K84<F`hCQA*+^"%ab<5%lVAm;['J7VQ*\&"J%-51JVOoX3E%L(%>=*R/mo&p(oV_DR(&C,t\`$@CJ!kO]"RJIhFoAZ!Tt,`!Op#/3l)jE4V;qNf:@,d#(:_'AM!M5-)D-M%P:>LO^=HiP+=YG#SEUj59VV6Z8s#&t`-6]8CWEP\`Km#n8N#[6\>eG5b@%"O"SC2)KOD=d5sd'td^>$[.G';,KeR2$for-$%>"T9ai33HC4`9[Q\FoK:t[DjL`="]^^(G^d2\pZ:Q]/#]f^k052072TI?G`A!TkGE3?nr[ZH5f;A*6$rk4q[>f_qp:RigM'YO>qV]e9b%\U0p*8GMQ^MVV:siDT!D`OO<jo6:e>V04\fRHnJ'@1L*m;\CXN#^&J%_*+#4QEBU>n\H&]#n^q-Pb]0FB39YT*(6YI8FM%h_SI<,VdhRlO/foY]`UcfV'9M-,F,L8n*dD\*a(<3t]D&[ZIH]5kd78a:oJldceeO<@JWt54?ce!m8#DQ>IGH`HMn6]qT*^l<EK58"5u*poEN'jK=f-u?hK$4OfW'6+C.*qfBV:@RN]l':2kpD\T_>hJ\2KmQFPB&u=4r-=nH'PGmR_YS,7ok8[s&ZB!R"M$3m,"U1:8hKA\0:Dk.fe^?)TX%Q,3lOHsG;Kf&U=&$YN!\eBg-:X76C82:cR]Fadjk^`o-V;#9r!8KNMD9M_sq]*LF_FPGZU\CB%Va^Fu<_uAI3R`9D36]`WrLo/KFc0@!l^9Hk*>g=7;SY&X1^V^J+aROV3<0Z!g>Z]9CT)UjBIPeQ^r#*B6jJ>o:fW5kJ3ueMIG6C]16-R3Xc^.Qt^&NV=-@`Yr@^WAIW)jkf'um>b^Z\j6U4qup`G08$7-uF7^2q3nELe6Z)c`\gWcJKTAQrte`nSWt+;_fnojH.LnQapjmE#0+#d#Zm!e^3e$uU?3C:O:WJ>Lk<WTjn/g9jV&'jZ^_DeNKKK&V=#qe:%G/!u:n4rTlo/(@6mAK-'Z0M_t^+iZW]W1mB4k(=q:fKS3>?#]DL%tu=bIp]:e*8uG5\\#^I*&+U]7]XW7F(4.t,qXWITrb<.n,"jE>tu#d%'ZZHK%<1QEbheETb1X\/Qt--Y&9Xg1iWh;9(BR7&iuskikq;5.J4:sZ$$M:8NdW9:+Yr<r'-u"+A!D0)STA+7K'==gHmNY%1l&+QMB,J$`Kbdl\:/ZRei=pfutas^/X]=dp;^V.i5dPlB>Yseooh#dHk-_=od@5L_M_TrrP1IECg~>
-endstream
-endobj
-45 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 44 0 R
-/Annots 46 0 R
->>
-endobj
-46 0 obj
-[
-47 0 R
-]
-endobj
-47 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 403.788 558.747 439.116 546.747 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://dmoz.org/)
-/S /URI >>
-/H /I
->>
-endobj
-48 0 obj
-<< /Length 1833 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gau0D>Ar7S'Roe[d)1C0_b>uQW(W6fBT&_C0GIgU@1V[SdP>YOYU,R/liu+'hpF#:P,2.B1'E_^GWWD'>c:`i`D>g=k689enGd)4g;LE^c\&.=bP*<,!^^0c95Cm/D=Qm1fA"5bI@FG!nYtQTo%/X/bL1`QHLermCP7?#E5F;aeST!IEb`9lfTfi&r)";@j^'kg!OpWMl`Y)dCnFj'cRp#@kL+I*M5AW@GnPm!jrH%Z9W+:Z_T9V8H"R"lXa_5Z@3M=>c0&]HQ$K0*AlP53(bDjJU*3ro]=L+0C3)>FP_UF@N<2%;.r-#I&/$X4Q6tT>?c9rp7-nJo#SQB6<DALGiJ/[lor.6Hiau3jNj&1D'"46:[;QE^<^fJHPMKWX6gk1^]h-H]qaVfR)#4@2%aPj"6nVN^KZH'FZkaNIm+23!9>,^U>,rU#V:\BL5$q2gO8Ng?^lUnGI?s8I-8Z\Wb8a/'Fp8n^a'\IAQVJG()i%6tHnO']CD/(c#;ue6kg'>M`*>PT^fK[:K-17"6TuT&DFfU)Ne$IBEo)RYO]bUnea3[M:q7S?dPi:Vh*^4**=`l`#GooN-*.EL)CYV9:0R42Odl!!i_DoH&f6S#=S-W@a`gF-T+\%&6QW/E!JT)/M_j;p*8:Oq]18@PQg>hoU6>J.Z<<m-'K`Lb`A]Of-^Et:Y1'CrPjemiOV[+IjkqlSED!msOlj6>q"#]SAT7R[8964)Cb!lo;5a_0c%W(eLfe^b7blBn6]eF[iXjjZR:CnuA,O#GYMXQReZDT-<unF)B.1r8e>#dSLt;c6*O-96GrWa3!L-[ZBo7(H>!thK=I0?%O!<7!j:!S+cN>1`P9u$=r-0g8*XR"dOr_!5_3$"')<SG'd;/rOr:k*F6`3oBc6s@H,6[(P6oZ54+e9Pa%X3`RV]oSmb:Um%euc]HqS_pZHJc:JPuZYtohLr(rh6+5'$Vk2JtjX.`DT(_lUJhNS:e]EGIkqc%9:<O+h#7DNQC5Q7dd0fC)n8i3j7pcU$;+pHJ6)A^^"`:\5C?t.6nCHekYDZmq$ZH<R:&E31S1j&HX-URQFX0&]\eF;-1M`Q1N[@Y**q>Zn.b";.]/Mo9U0oS\Hc'S3c)ca8oqa-/HX'*_uG5_cf?#MQ0FWSP+:o?/hCM%\^"Y&pZ[rFW2MV_*I4k`[email protected]`J?oT!qebAr+MDXJi&CX`qnb$=$E@Loe1XY,C3^K(#(/>tPM$!sH%;pNCg?g*B,h`EQR--"8&^^Y-ZB#"Vqi<>YjmLg9<IJIs\!<*ul+Pq(X;s",#)51mcJ86;ZRZRiBleZjC3W8Ks!S*,Tb2rR]?a9(3WII`!kZ.4#rA<e\a1ZEFAJCp9n_Jg5X>eUYKL'+^GNjB8KBm!heTEjHb`O6YnT._XISu5(8nd_HbfssZ"Q<nRXqZ8J8SR+HOL6e[b=R?EGA%)O7ketXKGN7L=#!4G@,J7'MkQ+Z%L-pEbjLbY:[&r>_#9ifeisl&YkGuTLjs0_>aE`pau[Rag]O7iK&J6RNWh0d?sG3e(]ShneT*%r/fN!7*H5^K8g#as1o&$A3h1GilCNbb(i:IiS:2cqVlEsi/b:C@p#WIsUpb+N%.O2O@E](7MuDbK2W;@R:]j6GdJL(4#4iu<I?-\UOZK[1CNX,F$-8IiLaf!)<u+/"\+U8ED4gU9!H%LP#;Ec*0h[:BE=g1l\;!fag)K5PqI888oT3DR?V!c(I$`m^Un!V[m^RfU.Q/U7Fdh-#[>uh"qrKEkqBP%-UR5nF*S'd32=WF8&Z1%RGNLG5)S&S#"MbH^,A:9jfUAa`kD5FCCHH[`#h\QP6b?is~>
-endstream
-endobj
-49 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 48 0 R
->>
-endobj
-50 0 obj
-<< /Length 1908 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gau`TgMYb8&:N/3YWr4N7_Ia;GR;`P\>Y#oL""%.qp6%u8m4f>.B^gO'a$n>]u-=!99GBi)D-QnSgASmG35<_=l.@L5KkI(:8kLRs6h;.93fO/4SU@9q=h92P_=VNUtV54I[Su]h*?CTaIrRI90D1FdW(+>\^/FU5--_=\ou(8IXL;e\J,[6*Lbi>%P=<s<YMt5bCtGqWHZJbZoYOqoD@W38u>1B0/g#(CX4T)?ESFF;jHZdAWa!@4KX&bkPaL9YI?R7ZYo_&2nQ[sUos$tErL#i5PEkD!=<<(7`N1>*+K`,0f)aOeNNc0q_M;NN:t`HK-kk/_QYqt(E:h?pblW7)e_d058pPe[_smHDFh]j]SkSYU4"$6UNh"JVmk*JXA5s18qriA+_k4Gl2797.?g((NG&s\$!WT;.5aQ"I+-_o$*;97_E0>O]o]a?"K_<2]RYh-Ig;tV^3I9k.fW:p.Y/PQ57CLT\:HqBjn"$aX9?mFa5d+55ilX0l>jaD"4Wg<%X\!u6C?Ss.*4PjY:gr>&(,^V/L^O5O-Q.X;[IbkVq*mRS_W6tPUuJD]O,Tl3?6.b-m(F3n2]HteOL6?+RQp\9WYGlHN'dGHXE4tOu9,)eO"p:$2=@`25*O9c'jdA$46+!Xm\2pAPkNM=RBRTJek1cNaI7b.?[[NU\_7$imS3RPWWK[4#o+l7?nCQhQ!L$n41U;Cb;Pb!i/AL?Mu/l6F>YsO.'2;UO4lWEsma>X*B6.,Xfa!_,u&mrFMLDrcl>[1K$ZOcba^B]]`(nc7r5,5+JJVe]aQC!m5@];[7>HA@f7RE?RGbJOom8okZ9"bG0MBk]TIc!%M3G3Wbtk:!gh`fk2tkgis[!d/E6/o8jQFSk=,GFt9-6U-?`u8B:V:OPmiC4P@[GcKoP:0<B^jX!Oq-"sZO4Mp9r7ab<64)7IL_U>gH*BfK*AH-,XH0OHL`L`\aW<,r0h2@O?$pX+.#CL$o5C?/2V_J&U!_?oF.HC[McHB)e&P:9>eW`"HBB#=g_<?ug6].:.,UK)o-SXM.Y>I._9-?9@qD%@'ed4\)r=$T0mf91]=5,#+r-%ee@7-t\1HW!!M26:mlE$Um=lPIluRg#$QhLskT.bCYbUJBGi4EFK$O7:M)pG<6bC2WOt6W,u%j@,MJGTeSH>YZkH(-(3`e1@ugLW-he[i/k`)hJ._HkNkBYWR\D`C=s\;@?2'Q'Bd8Q->8e5B<'#eG!6'(=![0#C<,/XeOJ1TWnp'fWFd#ei?Ju!^f!',uE"bFSUB>eR^b*31J7sOl2bN2A/Zh:L^)bp>")k0[>'I(%.E3ju7VV@"Sr5@6!.2,LdPM6<np+J%^2G.7l(C(O3a]%>2\-)[HFb@0CHL0JB/Fbi>JJ+g4Y"Bm*JqS0Rs;7Kp4JWk(PSeY+`]=rKAq`9m"@T3_ttQ9sX#.S,j?p5E1p'=5GETIsA=S=/aGf+'pAr&p%a6H.EdH=o'K<d=&(bn"UDT'O5A_4CO$)bL1IoT,P-T;EEqZD\j1YRc]sDQ<]B^*/`uhLbHZ8@n2-E1O-m_2e4'Wh8#4ZK]C?+(eT,_=:pG%iVR.?)OVN;-0P'rH[Mc1`C.665#WnosIks5nhNu"<CLE]RQ^,f"rjSJPAm&gGYHXe&mMu>XAL=gCSP%aJh;=UqgPf&,gmW!!<)f9m"s!"hnMNf+'[*5#+\rqKLGSj65GU'2<D5'+f/J'S%X+XI3-#]^u*m5/O<K+cB$'XT8pR(Mb<MEg&sB[V,_pD=(hYWK@YH?,C-/p/R#o3p9Ql8DlF%r<ub2bF4KPFSIaf!p0lI^(=3L[.g@0#WQ0IqL<F,:MI2m<!`OGQMlq;g.BM2]hW;r=po8<@B>a_bpitFUQsU)CEpX3,Qqtb4&IS/[PK2pZA7`l]!22:L^fIk~>
-endstream
-endobj
-51 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 50 0 R
->>
-endobj
-52 0 obj
-<< /Length 625 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gat=&9okN(&A@Zcb1l8kMsdIWfUH[39h[D/P'Be64YmKX)&T&[<\OGq)k)>tkf")sWg`\IeZ6:-U=WQ?4ebc_q_:\L&s-#&-Ps\pX^K3qF?+04&(1@UrD$1070F0$1f8(6/!g;#$MaASa%,ntJJ<7J+$ZPdLP+q)O\lj5(Bk<`g6"^FK[6,pES^%V*S^:t1H+)j:$g`6Xr;q@GltO=%$42%9kSD&.qEQ<\H'c7q3m[,<1J<tXNVW=B;<2cV<Y*3hD[[9`bm3&QmC+r.1-;E!ok7,RhN3q?4-q_nDr>n^k5Ea!=MJlTsXN8(]+uk[^UILBG+)r6=1R2^0gq!c$n&IRS1@_LNE&r@TaYc]\jD%[d=.;5.@Dho758\D;/'fm['.E&a&'QAm5M>2K703_83aih3CY.WVTZS4=paUGrRA##s(0(@Nf<^=$&2dKrL6ZN@aPpb#b*SD@ZGOQ+;(CSo*FfPS/[B9KPk.M.&g`f+k-3l4QigU(^'XC,P7%Di/pB:^;En.up&I/qSXP+Y]/_1j:NH]DefnrTpPYZm21aN;CBo>p;ao>b]F]m":WPZO>fkp0aMjEV[gGHZ&Ps3l`q)eb'Q6[JM)lqn0Q%HX+5\%?8sBZ2~>
-endstream
-endobj
-53 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 52 0 R
-/Annots 54 0 R
->>
-endobj
-54 0 obj
-[
-55 0 R
-]
-endobj
-55 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 141.336 650.94 244.02 638.94 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://localhost:8080/)
-/S /URI >>
-/H /I
->>
-endobj
-57 0 obj
-<<
- /Title (\376\377\0\61\0\40\0\122\0\145\0\161\0\165\0\151\0\162\0\145\0\155\0\145\0\156\0\164\0\163)
- /Parent 56 0 R
- /Next 58 0 R
- /A 9 0 R
->> endobj
-58 0 obj
-<<
- /Title (\376\377\0\62\0\40\0\107\0\145\0\164\0\164\0\151\0\156\0\147\0\40\0\123\0\164\0\141\0\162\0\164\0\145\0\144)
- /Parent 56 0 R
- /Prev 57 0 R
- /Next 59 0 R
- /A 11 0 R
->> endobj
-59 0 obj
-<<
- /Title (\376\377\0\63\0\40\0\111\0\156\0\164\0\162\0\141\0\156\0\145\0\164\0\40\0\103\0\162\0\141\0\167\0\154\0\151\0\156\0\147)
- /Parent 56 0 R
- /First 60 0 R
- /Last 61 0 R
- /Prev 58 0 R
- /Next 62 0 R
- /Count -2
- /A 13 0 R
->> endobj
-60 0 obj
-<<
- /Title (\376\377\0\63\0\56\0\61\0\40\0\111\0\156\0\164\0\162\0\141\0\156\0\145\0\164\0\72\0\40\0\103\0\157\0\156\0\146\0\151\0\147\0\165\0\162\0\141\0\164\0\151\0\157\0\156)
- /Parent 59 0 R
- /Next 61 0 R
- /A 15 0 R
->> endobj
-61 0 obj
-<<
- /Title (\376\377\0\63\0\56\0\62\0\40\0\111\0\156\0\164\0\162\0\141\0\156\0\145\0\164\0\72\0\40\0\122\0\165\0\156\0\156\0\151\0\156\0\147\0\40\0\164\0\150\0\145\0\40\0\103\0\162\0\141\0\167\0\154)
- /Parent 59 0 R
- /Prev 60 0 R
- /A 17 0 R
->> endobj
-62 0 obj
-<<
- /Title (\376\377\0\64\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\40\0\103\0\162\0\141\0\167\0\154\0\151\0\156\0\147)
- /Parent 56 0 R
- /First 63 0 R
- /Last 67 0 R
- /Prev 59 0 R
- /Count -5
- /A 19 0 R
->> endobj
-63 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\61\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\72\0\40\0\103\0\157\0\156\0\143\0\145\0\160\0\164\0\163)
- /Parent 62 0 R
- /Next 64 0 R
- /A 21 0 R
->> endobj
-64 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\62\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\72\0\40\0\102\0\157\0\157\0\163\0\164\0\162\0\141\0\160\0\160\0\151\0\156\0\147\0\40\0\164\0\150\0\145\0\40\0\127\0\145\0\142\0\40\0\104\0\141\0\164\0\141\0\142\0\141\0\163\0\145)
- /Parent 62 0 R
- /Prev 63 0 R
- /Next 65 0 R
- /A 23 0 R
->> endobj
-65 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\63\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\72\0\40\0\106\0\145\0\164\0\143\0\150\0\151\0\156\0\147)
- /Parent 62 0 R
- /Prev 64 0 R
- /Next 66 0 R
- /A 25 0 R
->> endobj
-66 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\64\0\40\0\127\0\150\0\157\0\154\0\145\0\55\0\167\0\145\0\142\0\72\0\40\0\111\0\156\0\144\0\145\0\170\0\151\0\156\0\147)
- /Parent 62 0 R
- /Prev 65 0 R
- /Next 67 0 R
- /A 27 0 R
->> endobj
-67 0 obj
-<<
- /Title (\376\377\0\64\0\56\0\65\0\40\0\123\0\145\0\141\0\162\0\143\0\150\0\151\0\156\0\147)
- /Parent 62 0 R
- /Prev 66 0 R
- /A 29 0 R
->> endobj
-68 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-69 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-70 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-71 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-72 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F9
-/BaseFont /Courier
-/Encoding /WinAnsiEncoding >>
-endobj
-73 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F6
-/BaseFont /Times-Italic
-/Encoding /WinAnsiEncoding >>
-endobj
-74 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F7
-/BaseFont /Times-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 8
-/Kids [6 0 R 31 0 R 41 0 R 43 0 R 45 0 R 49 0 R 51 0 R 53 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- /Outlines 56 0 R
- /PageMode /UseOutlines
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 68 0 R /F5 69 0 R /F3 70 0 R /F2 71 0 R /F9 72 0 R /F6 73 0 R /F7 74 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-9 0 obj
-<<
-/S /GoTo
-/D [31 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-11 0 obj
-<<
-/S /GoTo
-/D [31 0 R /XYZ 85.0 548.666 null]
->>
-endobj
-13 0 obj
-<<
-/S /GoTo
-/D [31 0 R /XYZ 85.0 356.872 null]
->>
-endobj
-15 0 obj
-<<
-/S /GoTo
-/D [31 0 R /XYZ 85.0 291.338 null]
->>
-endobj
-17 0 obj
-<<
-/S /GoTo
-/D [43 0 R /XYZ 85.0 629.42 null]
->>
-endobj
-19 0 obj
-<<
-/S /GoTo
-/D [43 0 R /XYZ 85.0 343.647 null]
->>
-endobj
-21 0 obj
-<<
-/S /GoTo
-/D [43 0 R /XYZ 85.0 278.113 null]
->>
-endobj
-23 0 obj
-<<
-/S /GoTo
-/D [45 0 R /XYZ 85.0 587.0 null]
->>
-endobj
-25 0 obj
-<<
-/S /GoTo
-/D [45 0 R /XYZ 85.0 346.987 null]
->>
-endobj
-27 0 obj
-<<
-/S /GoTo
-/D [51 0 R /XYZ 85.0 488.42 null]
->>
-endobj
-29 0 obj
-<<
-/S /GoTo
-/D [51 0 R /XYZ 85.0 361.847 null]
->>
-endobj
-56 0 obj
-<<
- /First 57 0 R
- /Last 62 0 R
->> endobj
-xref
-0 75
-0000000000 65535 f
-0000022691 00000 n
-0000022798 00000 n
-0000022890 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000938 00000 n
-0000001058 00000 n
-0000001153 00000 n
-0000023035 00000 n
-0000001287 00000 n
-0000023098 00000 n
-0000001424 00000 n
-0000023164 00000 n
-0000001561 00000 n
-0000023230 00000 n
-0000001698 00000 n
-0000023296 00000 n
-0000001835 00000 n
-0000023361 00000 n
-0000001972 00000 n
-0000023427 00000 n
-0000002108 00000 n
-0000023493 00000 n
-0000002245 00000 n
-0000023557 00000 n
-0000002382 00000 n
-0000023623 00000 n
-0000002519 00000 n
-0000023688 00000 n
-0000002656 00000 n
-0000005430 00000 n
-0000005553 00000 n
-0000005622 00000 n
-0000005815 00000 n
-0000006016 00000 n
-0000006203 00000 n
-0000006379 00000 n
-0000006569 00000 n
-0000006741 00000 n
-0000006917 00000 n
-0000008758 00000 n
-0000008866 00000 n
-0000011299 00000 n
-0000011407 00000 n
-0000013901 00000 n
-0000014024 00000 n
-0000014051 00000 n
-0000014221 00000 n
-0000016147 00000 n
-0000016255 00000 n
-0000018256 00000 n
-0000018364 00000 n
-0000019081 00000 n
-0000019204 00000 n
-0000019231 00000 n
-0000023754 00000 n
-0000019404 00000 n
-0000019567 00000 n
-0000019762 00000 n
-0000020009 00000 n
-0000020247 00000 n
-0000020507 00000 n
-0000020745 00000 n
-0000020958 00000 n
-0000021308 00000 n
-0000021535 00000 n
-0000021762 00000 n
-0000021918 00000 n
-0000022026 00000 n
-0000022136 00000 n
-0000022249 00000 n
-0000022365 00000 n
-0000022471 00000 n
-0000022582 00000 n
-trailer
-<<
-/Size 75
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-23805
-%%EOF
diff --git a/site/version_control.html b/site/version_control.html
deleted file mode 100644
index ab5c9cc7a..000000000
--- a/site/version_control.html
+++ /dev/null
@@ -1,298 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="lucene">
-<title>Nutch Version Control System</title>
-<link type="text/css" href="skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
-<link type="text/css" href="skin/profile.css" rel="stylesheet">
-<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="images/favicon.ico">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://lucene.apache.org/">Lucene</a> &gt; <a href="http://lucene.apache.org/nutch/">Nutch</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
- |header
- +-->
-<div class="header">
-<!--+
- |start group logo
- +-->
-<div class="grouplogo">
-<a href="http://lucene.apache.org/"><img class="logoImage" alt="Lucene" src="images/lucene_green_150.gif" title="Apache Lucene"></a>
-</div>
-<!--+
- |end group logo
- +-->
-<!--+
- |start Project Logo
- +-->
-<div class="projectlogo">
-<a href="http://lucene.apache.org/nutch/"><img class="logoImage" alt="Nutch" src="images/nutch-logo.gif" title="Open Source Web Search Software"></a>
-</div>
-<!--+
- |end Project Logo
- +-->
-<!--+
- |start Search
- +-->
-<div class="searchbox">
-<form action="http://search.lucidimagination.com/p:nutch" method="get" class="roundtopsmall">
-<input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">&nbsp;
- <input name="Search" value="Search" type="submit">
-</form>
-<div style="position: relative; top: -5px; left: -10px">Powered by <a href="http://www.lucidimagination.com" style="color: #033268">Lucid Imagination</a>
-</div>
-</div>
-<!--+
- |end search
- +-->
-<!--+
- |start Tabs
- +-->
-<ul id="tabs">
-<li class="current">
-<a class="selected" href="index.html">Main</a>
-</li>
-<li>
-<a class="unselected" href="http://wiki.apache.org/nutch/">Wiki</a>
-</li>
-<li>
-<a class="unselected" href="http://issues.apache.org/jira/browse/Nutch">Jira</a>
-</li>
-</ul>
-<!--+
- |end Tabs
- +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
- |start Subtabs
- +-->
-<div id="level2tabs"></div>
-<!--+
- |end Endtabs
- +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<!--+
- |breadtrail
- +-->
-<div class="breadtrail">
-
- &nbsp;
- </div>
-<!--+
- |start Menu, mainarea
- +-->
-<!--+
- |start Menu
- +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Project</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="index.html">News</a>
-</div>
-<div class="menuitem">
-<a href="about.html">About</a>
-</div>
-<div class="menuitem">
-<a href="credits.html">Credits</a>
-</div>
-<div class="menuitem">
-<a href="http://www.cafepress.com/nutch/">Buy Stuff</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Documentation</div>
-<div id="menu_1.2" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/FAQ">FAQ</a>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/nutch/">Wiki</a>
-</div>
-<div class="menuitem">
-<a href="tutorial.html">Tutorial (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="tutorial8.html">Tutorial (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="bot.html">Robot </a>
-</div>
-<div class="menuitem">
-<a href="i18n.html">i18n</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-1.0/index.html">API Docs (1.0)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.9/index.html">API Docs (0.9)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs-0.8.x/index.html">API Docs (0.8.x)</a>
-</div>
-<div class="menuitem">
-<a href="apidocs/index.html">API Docs (0.7.2)</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html">API Docs (nightly)</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_selected_1.3', 'skin/')" id="menu_selected_1.3Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Resources</div>
-<div id="menu_selected_1.3" class="selectedmenuitemgroup" style="display: block;">
-<div class="menuitem">
-<a href="release/">Download</a>
-</div>
-<div class="menuitem">
-<a href="nightly.html">Nightly builds</a>
-</div>
-<div class="menuitem">
-<a href="mailing_lists.html">Mailing Lists</a>
-</div>
-<div class="menuitem">
-<a href="issue_tracking.html">Issue Tracking</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">Version Control</div>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Related Projects</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="http://lucene.apache.org/java/">Lucene Java</a>
-</div>
-<div class="menuitem">
-<a href="http://lucene.apache.org/hadoop/">Hadoop</a>
-</div>
-<div class="menuitem">
-<a href="http://incubator.apache.org/solr/">Solr</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
- |alternative credits
- +-->
-<div id="credit2"></div>
-</div>
-<!--+
- |end Menu
- +-->
-<!--+
- |start content
- +-->
-<div id="content">
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="version_control.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
- PDF</a>
-</div>
-<h1>Nutch Version Control System</h1>
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#Overview">Overview</a>
-</li>
-<li>
-<a href="#Web+Access+%28read-only%29">Web Access (read-only)</a>
-</li>
-<li>
-<a href="#Anonymous+Access+%28read-only%29">Anonymous Access (read-only)</a>
-</li>
-<li>
-<a href="#Committer+Access+%28read-write%29">Committer Access (read-write)</a>
-</li>
-</ul>
-</div>
-
-
-<a name="N1000D"></a><a name="Overview"></a>
-<h2 class="h3">Overview</h2>
-<div class="section">
-<p>
- The Nutch source code resides in the Apache <a href="http://subversion.tigris.org/">Subversion (SVN)</a> repository.
- The command-line SVN client can be obtained <a href="http://subversion.tigris.org/project_packages.html">here</a>.
- The TortoiseSVN GUI client for Windows can be obtained <a href="http://tortoisesvn.tigris.org/">here</a>. There
- are also SVN plugins available for both <a href="http://subclipse.tigris.org/">Eclipse</a> and
- <a href="http://svnup.tigris.org/">IntelliJ IDEA</a>.
- </p>
-</div>
-
-
-<a name="N1002B"></a><a name="Web+Access+%28read-only%29"></a>
-<h2 class="h3">Web Access (read-only)</h2>
-<div class="section">
-<p>
- The source code can be browsed via the Web at
- <a href="http://svn.apache.org/viewcvs.cgi/lucene/nutch/">http://svn.apache.org/viewcvs.cgi/lucene/nutch/</a>.
- No SVN client software is required.
- </p>
-</div>
-
-
-<a name="N10039"></a><a name="Anonymous+Access+%28read-only%29"></a>
-<h2 class="h3">Anonymous Access (read-only)</h2>
-<div class="section">
-<p>
- The SVN URL for anonymous users is
- <a href="http://svn.apache.org/repos/asf/lucene/nutch/">http://svn.apache.org/repos/asf/lucene/nutch/</a>.
- Instructions for anonymous SVN access are
- <a href="http://www.apache.org/dev/version-control.html#anon-svn">here</a>.
- </p>
-</div>
-
-
-<a name="N1004B"></a><a name="Committer+Access+%28read-write%29"></a>
-<h2 class="h3">Committer Access (read-write)</h2>
-<div class="section">
-<p>
- The SVN URL for committers is
- <a href="https://svn.apache.org/repos/asf/lucene/nutch/">https://svn.apache.org/repos/asf/lucene/nutch/</a>.
- Instructions for committer SVN access are
- <a href="http://www.apache.org/dev/version-control.html#https-svn">here</a>.
- </p>
-</div>
-
-
-</div>
-<!--+
- |end content
- +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
- |start bottomstrip
- +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-// --></script>
-</div>
-<div class="copyright">
- Copyright &copy;
- 2006 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
- |end bottomstrip
- +-->
-</div>
-</body>
-</html>
diff --git a/site/version_control.pdf b/site/version_control.pdf
deleted file mode 100644
index e6093e344..000000000
--- a/site/version_control.pdf
+++ /dev/null
@@ -1,384 +0,0 @@
-%PDF-1.3
-%����
-4 0 obj
-<< /Type /Info
-/Producer (FOP 0.20.5) >>
-endobj
-5 0 obj
-<< /Length 507 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gb!$CZ#51J&;GD#i^OdEg'/K5PGf?[[&T#;U$4gu8WX!KNKYc/?VI3HksE"X2$;Y0pRT&4qBq\T2[b1+#X_X=fXqP%_oa3S]8&XdE]h2ej9]?S]_daO?*",Fd5^C!r)]TG8iAR^Q&Sgb@hUN9<f9"h&',g'Fto)"];lu(Ar)-<e0E-Q)dt3MZfTBYIMZ:8dHL:%Nrd)Koa%Fl+<r:l:\BOEVVfo%EEE+G(M[<66NDO)oS9L-:*LC@"[3r=%RWY1'Qf_q;87sASaj3<7,-F?mOODQ8$^efkJ8aJdTqF#-[bb8I_lX['8=@%NdBL%k#ff4qbO(saHKtm7k$sMR3`asGL]Vpf9OoR%?_f4V8Wmm!;"\2'0E\ipR1d/>>oGV"NMp&&G6jXLb_d.9(1H&(e^Wj.:JIf3+@oC&]RYi)5JEbQP"%pW`lO426AlM`'tGNDPM#"CbX`.Kc@eJ;BKr@A7fl6/9BX8,]\o^*/Em-[n\L.c@NnH=nFA>75Ti~>
-endstream
-endobj
-6 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 5 0 R
-/Annots 7 0 R
->>
-endobj
-7 0 obj
-[
-8 0 R
-10 0 R
-12 0 R
-14 0 R
-]
-endobj
-8 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 559.666 157.316 547.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 9 0 R
-/H /I
->>
-endobj
-10 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 541.466 226.616 529.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 11 0 R
-/H /I
->>
-endobj
-12 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 523.266 262.628 511.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 13 0 R
-/H /I
->>
-endobj
-14 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 102.0 505.066 259.292 493.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A 15 0 R
-/H /I
->>
-endobj
-16 0 obj
-<< /Length 1470 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-GatU39iL(3&[email protected]@em32hkllVRG.58S7+hm(m[0i[W!kaA+/_rNuJK).G9eEBtW0Fna?`GPfj02ZG<?@5pNqLKT-c1P,]',:F&;-<Q'q.+!!ir];A"**lBYm:UnjPrWIAnJqLgQ="7UbLoZNBi!X1RZeo4OV!?!q_(?f,@hKlc2O8^Z;*D(ZuJ-K8-rn6n[I:'kO@n9V-CD[otdH\c`(5t/#17'X\*6I$MT&3_d;bpe?3'm9ebes%@Vu:N+9q8ci@"$Fsn&uDo`N$`?fguM^GS"XP'71.u3'r>9$[/?^^.fbjj&@FY$jAr";7W",J0AdqBGg&%=de_S&0<I)!9XDe&Gt_?//[]%ojCFdZ7`4F(sMp)FT]4,@]0osn&jG"JsQaKraq+7SW&Eh98)o%&YAXXik)?<%<IX@MKNZ,@eFQT1qS+VMhcG(qHTg**uq\&tW_$or.5of4](6CUS[V&JEBoBg^kJ-TrHi^[%Noj`9)B-),`=i9iLP"%im6UCf(`0$mU6m*qp3l;Zc*/9AaKK+bT[LS-M?L5dAOdCA^62USaaU54*,f_1RP?"bT86tIp4$j2tp.78.(h]5AkWO=c&2)"=\Dr!_M@mj>Mski,K,KSB9$F,NiGfLgf\PG\n9PN+n[>AqSnDD"gbs22!\A)C5^n<Cc7iFEg/Gooep.#^qXTk!H9AYO\,6(e2T4\[dss?gWMcF3C?7=)1f^A"N-cs`ane=?q,:Ys??S?S.$RBYFZJZ2CeC&S1rd1DX+M>[H=%V>].3t:h`flAE6OK-N]5$?WF!8._X$W.9-adCdbZ`J4Y;?&@@-5eWqLqdkN/ta8_nTq2Oh5t,LU(YdnMaH&#h&.]WfY0I^5JeEHn_EQ/7K`r9'?Oe.:*iTPA#ojW!maO;YHT;d1g4=GWo4,P2&J/9LEhdtdLh$F=X^ReM.D`WUtLM12,%!A33Cr\[UKP*ZIp8f1`dKUm"a1<'A&'b_9O&-J0:R+5KHZV5,=4c5TJBa*$3a#kdmhUISo_umuV>,LCCl?:quARu?c"VY*#SZ`(Cag9_tbkT[*@N%Pl$j`fr$Rq$eX>`fl4'N7\NNj@tL%i'jXaCs28][@VbZ"KUb]-cc.J'G-+&,e8f;)38ap[oLl.](%F`6hpUn;fJ9G0GbDHg!E'-RO_+Ee&,(lCDu,dI(l?L1_ZjbM@B8)g4g=#H68b;Tu!Fedd'dhI44m51%=,6M;GZC4##mAMR^b9[(5'JJGX\N>1WYL>R%5aF&Q7UZW2@O)8-$e)W=hg^YQH&e_okj3Zj7H`@,FAWpH%r@0%Z;S:X)k0=d"?o'rDtOUtC#$l0Tp%Q`*Z0Z__C.fKdj!JbohVkj"*`6fN!/N\5)uRPg`NUWLM<5&TU\j,5[EXQPK>`;\nfHeI^kUU\"Z/2go>d:c(b*:ma_cLh):SFqG=7,.m<5>bB(.kI@&eo62rsVV@;8Y!a3[ao`~>
-endstream
-endobj
-17 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 16 0 R
-/Annots 18 0 R
->>
-endobj
-18 0 obj
-[
-19 0 R
-20 0 R
-21 0 R
-22 0 R
-23 0 R
-24 0 R
-25 0 R
-26 0 R
-27 0 R
-28 0 R
-29 0 R
-]
-endobj
-19 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 309.936 629.666 398.928 617.666 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://subversion.tigris.org/)
-/S /URI >>
-/H /I
->>
-endobj
-20 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 297.3 616.466 317.952 604.466 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://subversion.tigris.org/project_packages.html)
-/S /URI >>
-/H /I
->>
-endobj
-21 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 168.312 603.266 188.964 591.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://tortoisesvn.tigris.org/)
-/S /URI >>
-/H /I
->>
-endobj
-22 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 418.92 603.266 454.248 591.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://subclipse.tigris.org/)
-/S /URI >>
-/H /I
->>
-endobj
-23 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 477.576 603.266 510.912 591.266 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://svnup.tigris.org/)
-/S /URI >>
-/H /I
->>
-endobj
-24 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 90.0 590.066 118.656 578.066 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://svnup.tigris.org/)
-/S /URI >>
-/H /I
->>
-endobj
-25 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 90.0 524.532 318.972 512.532 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://svn.apache.org/viewcvs.cgi/lucene/nutch/)
-/S /URI >>
-/H /I
->>
-endobj
-26 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 279.648 472.198 494.952 460.198 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://svn.apache.org/repos/asf/lucene/nutch/)
-/S /URI >>
-/H /I
->>
-endobj
-27 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 303.288 458.998 323.94 446.998 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.apache.org/dev/version-control.html#anon-svn)
-/S /URI >>
-/H /I
->>
-endobj
-28 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 250.656 406.664 470.628 394.664 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (https://svn.apache.org/repos/asf/lucene/nutch/)
-/S /URI >>
-/H /I
->>
-endobj
-29 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 237.624 393.464 258.276 381.464 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (http://www.apache.org/dev/version-control.html#https-svn)
-/S /URI >>
-/H /I
->>
-endobj
-31 0 obj
-<<
- /Title (\376\377\0\61\0\40\0\117\0\166\0\145\0\162\0\166\0\151\0\145\0\167)
- /Parent 30 0 R
- /Next 32 0 R
- /A 9 0 R
->> endobj
-32 0 obj
-<<
- /Title (\376\377\0\62\0\40\0\127\0\145\0\142\0\40\0\101\0\143\0\143\0\145\0\163\0\163\0\40\0\50\0\162\0\145\0\141\0\144\0\55\0\157\0\156\0\154\0\171\0\51)
- /Parent 30 0 R
- /Prev 31 0 R
- /Next 33 0 R
- /A 11 0 R
->> endobj
-33 0 obj
-<<
- /Title (\376\377\0\63\0\40\0\101\0\156\0\157\0\156\0\171\0\155\0\157\0\165\0\163\0\40\0\101\0\143\0\143\0\145\0\163\0\163\0\40\0\50\0\162\0\145\0\141\0\144\0\55\0\157\0\156\0\154\0\171\0\51)
- /Parent 30 0 R
- /Prev 32 0 R
- /Next 34 0 R
- /A 13 0 R
->> endobj
-34 0 obj
-<<
- /Title (\376\377\0\64\0\40\0\103\0\157\0\155\0\155\0\151\0\164\0\164\0\145\0\162\0\40\0\101\0\143\0\143\0\145\0\163\0\163\0\40\0\50\0\162\0\145\0\141\0\144\0\55\0\167\0\162\0\151\0\164\0\145\0\51)
- /Parent 30 0 R
- /Prev 33 0 R
- /A 15 0 R
->> endobj
-35 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /Helvetica
-/Encoding /WinAnsiEncoding >>
-endobj
-36 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F5
-/BaseFont /Times-Roman
-/Encoding /WinAnsiEncoding >>
-endobj
-37 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F3
-/BaseFont /Helvetica-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-38 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica-Oblique
-/Encoding /WinAnsiEncoding >>
-endobj
-39 0 obj
-<< /Type /Font
-/Subtype /Type1
-/Name /F7
-/BaseFont /Times-Bold
-/Encoding /WinAnsiEncoding >>
-endobj
-1 0 obj
-<< /Type /Pages
-/Count 2
-/Kids [6 0 R 17 0 R ] >>
-endobj
-2 0 obj
-<< /Type /Catalog
-/Pages 1 0 R
- /Outlines 30 0 R
- /PageMode /UseOutlines
- >>
-endobj
-3 0 obj
-<<
-/Font << /F1 35 0 R /F5 36 0 R /F3 37 0 R /F2 38 0 R /F7 39 0 R >>
-/ProcSet [ /PDF /ImageC /Text ] >>
-endobj
-9 0 obj
-<<
-/S /GoTo
-/D [17 0 R /XYZ 85.0 659.0 null]
->>
-endobj
-11 0 obj
-<<
-/S /GoTo
-/D [17 0 R /XYZ 85.0 567.066 null]
->>
-endobj
-13 0 obj
-<<
-/S /GoTo
-/D [17 0 R /XYZ 85.0 501.532 null]
->>
-endobj
-15 0 obj
-<<
-/S /GoTo
-/D [17 0 R /XYZ 85.0 435.998 null]
->>
-endobj
-30 0 obj
-<<
- /First 31 0 R
- /Last 34 0 R
->> endobj
-xref
-0 40
-0000000000 65535 f
-0000006740 00000 n
-0000006805 00000 n
-0000006897 00000 n
-0000000015 00000 n
-0000000071 00000 n
-0000000669 00000 n
-0000000789 00000 n
-0000000835 00000 n
-0000007020 00000 n
-0000000970 00000 n
-0000007083 00000 n
-0000001107 00000 n
-0000007149 00000 n
-0000001244 00000 n
-0000007215 00000 n
-0000001381 00000 n
-0000002944 00000 n
-0000003067 00000 n
-0000003164 00000 n
-0000003347 00000 n
-0000003549 00000 n
-0000003733 00000 n
-0000003914 00000 n
-0000004092 00000 n
-0000004267 00000 n
-0000004465 00000 n
-0000004664 00000 n
-0000004872 00000 n
-0000005072 00000 n
-0000007281 00000 n
-0000005282 00000 n
-0000005421 00000 n
-0000005654 00000 n
-0000005923 00000 n
-0000006184 00000 n
-0000006292 00000 n
-0000006402 00000 n
-0000006515 00000 n
-0000006631 00000 n
-trailer
-<<
-/Size 40
-/Root 2 0 R
-/Info 4 0 R
->>
-startxref
-7332
-%%EOF
diff --git a/bin/nutch b/src/bin/nutch
similarity index 59%
rename from bin/nutch
rename to src/bin/nutch
index a05b11846..f395d00e7 100755
--- a/bin/nutch
+++ b/src/bin/nutch
@@ -32,12 +32,21 @@ done
if [ $# = 0 ]; then
echo "Usage: nutch [-core] COMMAND"
echo "where COMMAND is one of:"
-# echo " crawl one-step crawler for intranets"
+ echo " crawl one-step crawler for intranets"
+ echo " readdb read / dump crawl db"
+ echo " convdb convert crawl db from pre-0.9 format"
+ echo " mergedb merge crawldb-s, with optional filtering"
+ echo " readlinkdb read / dump link db"
echo " inject inject new urls into the database"
echo " generate generate new segments to fetch from crawl db"
- echo " fetch fetch URLs marked during generate"
- echo " parse parse URLs marked during fetch"
- echo " updatedb update web table after parsing"
+ echo " freegen generate new segments to fetch from text files"
+ echo " fetch fetch a segment's pages"
+ echo " parse parse a segment's pages"
+ echo " readseg read / dump segment data"
+ echo " mergesegs merge several segments, with optional filtering and slicing"
+ echo " updatedb update crawl db from segments after fetching"
+ echo " invertlinks create a linkdb from parsed segments"
+ echo " mergelinkdb merge linkdb-s, with optional filtering"
echo " solrindex run the solr indexer on parsed segments and linkdb"
echo " solrdedup remove duplicates from solr"
echo " plugin load a plugin and run one of its classes main()"
@@ -51,13 +60,6 @@ if [ $# = 0 ]; then
exit 1
fi
-IS_CORE=0
-#check for -core option
-if [ "$1" == "-core" ] ; then
- IS_CORE=1
- shift
-fi
-
# get arguments
COMMAND=$1
shift
@@ -66,6 +68,11 @@ shift
THIS_DIR=`dirname "$THIS"`
NUTCH_HOME=`cd "$THIS_DIR/.." ; pwd`
+# determine HADOOP_HOME
+if [ "$HADOOP_HOME" = "" ]; then
+ HADOOP_HOME=$NUTCH_HOME
+fi
+
# some Java parameters
if [ "$NUTCH_JAVA_HOME" != "" ]; then
#echo "run java in $NUTCH_JAVA_HOME"
@@ -77,6 +84,21 @@ if [ "$JAVA_HOME" = "" ]; then
exit 1
fi
+local=true
+
+# NUTCH_JOB
+if [ -f ${NUTCH_HOME}/nutch-*.job ]; then
+ local=false
+ for f in $NUTCH_HOME/nutch-*.job; do
+ NUTCH_JOB=$f;
+ done
+fi
+
+# cygwin path translation
+if $cygwin; then
+ NUTCH_JOB=`cygpath -p -w "$NUTCH_JOB"`
+fi
+
JAVA=$JAVA_HOME/bin/java
JAVA_HEAP_MAX=-Xmx1000m
@@ -94,61 +116,29 @@ CLASSPATH=${CLASSPATH}:$JAVA_HOME/lib/tools.jar
# so that filenames w/ spaces are handled correctly in loops below
IFS=
-# for developers, add plugins, job & test code to CLASSPATH
-if [ -d "$NUTCH_HOME/build/plugins" ]; then
- CLASSPATH=${CLASSPATH}:$NUTCH_HOME/build
-fi
-if [ -d "$NUTCH_HOME/build/test/classes" ]; then
- CLASSPATH=${CLASSPATH}:$NUTCH_HOME/build/test/classes
-fi
-
-if [ $IS_CORE == 0 ]
-then
- for f in $NUTCH_HOME/build/nutch-*.job; do
- CLASSPATH=${CLASSPATH}:$f;
- done
-
- # for releases, add Nutch job to CLASSPATH
- for f in $NUTCH_HOME/nutch-*.job; do
- CLASSPATH=${CLASSPATH}:$f;
+# add libs to CLASSPATH
+if $local; then
+ for f in $NUTCH_HOME/lib/*.jar; do
+ CLASSPATH=${CLASSPATH}:$f;
done
-else
- CLASSPATH=${CLASSPATH}:$NUTCH_HOME/build/classes
-fi
-
-# add plugins to classpath
-if [ -d "$NUTCH_HOME/plugins" ]; then
- CLASSPATH=${NUTCH_HOME}:${CLASSPATH}
+ # local runtime
+ # add plugins to classpath
+ if [ -d "$NUTCH_HOME/plugins" ]; then
+ CLASSPATH=${NUTCH_HOME}:${CLASSPATH}
+ fi
fi
-# add libs to CLASSPATH
-for f in $NUTCH_HOME/build/lib/*.jar; do
- CLASSPATH=${CLASSPATH}:$f;
-done
-
-# add libs to CLASSPAT for binary distribution
-for f in $NUTCH_HOME/lib/*.jar; do
- CLASSPATH=${CLASSPATH}:$f;
-done
-
-for f in $NUTCH_HOME/lib/jetty-ext/*.jar; do
- CLASSPATH=${CLASSPATH}:$f;
-done
-
# cygwin path translation
if $cygwin; then
CLASSPATH=`cygpath -p -w "$CLASSPATH"`
fi
# setup 'java.library.path' for native-hadoop code if necessary
+# used only in local mode
JAVA_LIBRARY_PATH=''
-if [ -d "${NUTCH_HOME}/build/native" -o -d "${NUTCH_HOME}/lib/native" ]; then
+if [ -d "${NUTCH_HOME}/lib/native" ]; then
JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} ${JAVA} org.apache.hadoop.util.PlatformName | sed -e 's/ /_/g'`
- if [ -d "$NUTCH_HOME/build/native" ]; then
- JAVA_LIBRARY_PATH=${HADOOP_HOME}/build/native/${JAVA_PLATFORM}/lib
- fi
-
if [ -d "${NUTCH_HOME}/lib/native" ]; then
if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then
JAVA_LIBRARY_PATH=${JAVA_LIBRARY_PATH}:${NUTCH_HOME}/lib/native/${JAVA_PLATFORM}
@@ -178,7 +168,7 @@ if $cygwin; then
NUTCH_LOG_DIR=`cygpath -p -w "$NUTCH_LOG_DIR"`
fi
-NUTCH_OPTS="$NUTCH_OPTS -Dhadoop.log.dir=$NUTCH_LOG_DIR -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"
+NUTCH_OPTS="$NUTCH_OPTS -Dhadoop.log.dir=$NUTCH_LOG_DIR"
NUTCH_OPTS="$NUTCH_OPTS -Dhadoop.log.file=$NUTCH_LOGFILE"
if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then
@@ -189,29 +179,56 @@ fi
if [ "$COMMAND" = "crawl" ] ; then
CLASS=org.apache.nutch.crawl.Crawl
elif [ "$COMMAND" = "inject" ] ; then
- CLASS=org.apache.nutch.crawl.InjectorJob
+ CLASS=org.apache.nutch.crawl.Injector
elif [ "$COMMAND" = "generate" ] ; then
- CLASS=org.apache.nutch.crawl.GeneratorJob
-#elif [ "$COMMAND" = "freegen" ] ; then
-# CLASS=org.apache.nutch.tools.FreeGenerator
+ CLASS=org.apache.nutch.crawl.Generator
+elif [ "$COMMAND" = "freegen" ] ; then
+ CLASS=org.apache.nutch.tools.FreeGenerator
elif [ "$COMMAND" = "fetch" ] ; then
- CLASS=org.apache.nutch.fetcher.FetcherJob
+ CLASS=org.apache.nutch.fetcher.Fetcher
elif [ "$COMMAND" = "parse" ] ; then
- CLASS=org.apache.nutch.parse.ParserJob
+ CLASS=org.apache.nutch.parse.ParseSegment
+elif [ "$COMMAND" = "readdb" ] ; then
+ CLASS=org.apache.nutch.crawl.CrawlDbReader
+elif [ "$COMMAND" = "convdb" ] ; then
+ CLASS=org.apache.nutch.tools.compat.CrawlDbConverter
+elif [ "$COMMAND" = "mergedb" ] ; then
+ CLASS=org.apache.nutch.crawl.CrawlDbMerger
+elif [ "$COMMAND" = "readlinkdb" ] ; then
+ CLASS=org.apache.nutch.crawl.LinkDbReader
+elif [ "$COMMAND" = "readseg" ] ; then
+ CLASS=org.apache.nutch.segment.SegmentReader
+elif [ "$COMMAND" = "mergesegs" ] ; then
+ CLASS=org.apache.nutch.segment.SegmentMerger
elif [ "$COMMAND" = "updatedb" ] ; then
- CLASS=org.apache.nutch.crawl.DbUpdaterJob
+ CLASS=org.apache.nutch.crawl.CrawlDb
+elif [ "$COMMAND" = "invertlinks" ] ; then
+ CLASS=org.apache.nutch.crawl.LinkDb
+elif [ "$COMMAND" = "mergelinkdb" ] ; then
+ CLASS=org.apache.nutch.crawl.LinkDbMerger
elif [ "$COMMAND" = "solrindex" ] ; then
- CLASS=org.apache.nutch.indexer.solr.SolrIndexerJob
+ CLASS=org.apache.nutch.indexer.solr.SolrIndexer
elif [ "$COMMAND" = "solrdedup" ] ; then
CLASS=org.apache.nutch.indexer.solr.SolrDeleteDuplicates
-elif [ "$COMMAND" = "merge" ] ; then
- CLASS=org.apache.nutch.indexer.IndexMerger
elif [ "$COMMAND" = "plugin" ] ; then
CLASS=org.apache.nutch.plugin.PluginRepository
else
CLASS=$COMMAND
fi
+# distributed mode
+EXEC_CALL="$HADOOP_HOME/bin/hadoop jar $NUTCH_JOB"
+
+if $local; then
+ EXEC_CALL="$JAVA $JAVA_HEAP_MAX $NUTCH_OPTS -classpath $CLASSPATH"
+else
+ # check that we are really in a hadoop config
+ if [ ! -f ${HADOOP_HOME}/bin/hadoop ]; then
+ echo "Can't find Hadoop scripts. Set HADOOP_HOME to a valid home of Hadoop installation."
+ exit -1;
+ fi
+fi
+
# run it
-exec "$JAVA" $JAVA_HEAP_MAX $NUTCH_OPTS -classpath "$CLASSPATH" $CLASS "$@"
+exec $EXEC_CALL $CLASS "$@"
diff --git a/src/java/org/apache/nutch/crawl/AbstractFetchSchedule.java b/src/java/org/apache/nutch/crawl/AbstractFetchSchedule.java
index 96adbce72..5e4e9009e 100755
--- a/src/java/org/apache/nutch/crawl/AbstractFetchSchedule.java
+++ b/src/java/org/apache/nutch/crawl/AbstractFetchSchedule.java
@@ -62,18 +62,14 @@ implements FetchSchedule {
if (conf == null) return;
int oldDefaultInterval = conf.getInt("db.default.fetch.interval", 0);
defaultInterval = conf.getInt("db.fetch.interval.default", 0);
- if (oldDefaultInterval > 0 && defaultInterval == 0) {
- defaultInterval = oldDefaultInterval * FetchSchedule.SECONDS_PER_DAY;
- }
+ if (oldDefaultInterval > 0 && defaultInterval == 0) defaultInterval = oldDefaultInterval * SECONDS_PER_DAY;
int oldMaxInterval = conf.getInt("db.max.fetch.interval", 0);
maxInterval = conf.getInt("db.fetch.interval.max", 0 );
- if (oldMaxInterval > 0 && maxInterval == 0) {
- maxInterval = oldMaxInterval * FetchSchedule.SECONDS_PER_DAY;
- }
+ if (oldMaxInterval > 0 && maxInterval == 0) maxInterval = oldMaxInterval * FetchSchedule.SECONDS_PER_DAY;
LOG.info("defaultInterval=" + defaultInterval);
LOG.info("maxInterval=" + maxInterval);
}
-
+
/**
* Initialize fetch schedule related data. Implementations should at least
* set the <code>fetchTime</code> and <code>fetchInterval</code>. The default
diff --git a/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java b/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
index 5e3c99bf0..224b7c8b7 100755
--- a/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
+++ b/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
@@ -38,7 +38,7 @@ import org.apache.nutch.storage.WebPage;
* </ul>
* </li>
* <li>the minimum value of fetchInterval may not be smaller than MIN_INTERVAL
- * (default is 1s).</li>
+ * (default is 1 minute).</li>
* <li>the maximum value of fetchInterval may not be bigger than MAX_INTERVAL
* (default is 365 days).</li>
* </ul>
@@ -46,7 +46,7 @@ import org.apache.nutch.storage.WebPage;
* so that the fetch interval either increases or decreases infinitely, with little
* relevance to the page changes. Please use {@link #main(String[])} method to
* test the values before applying them in a production system.</p>
- *
+ *
* @author Andrzej Bialecki
*/
public class AdaptiveFetchSchedule extends AbstractFetchSchedule {
@@ -58,21 +58,18 @@ public class AdaptiveFetchSchedule extends AbstractFetchSchedule {
private int MAX_INTERVAL;
private int MIN_INTERVAL;
-
+
private boolean SYNC_DELTA;
- private float SYNC_DELTA_RATE;
-
- @Override
+ private double SYNC_DELTA_RATE;
+
public void setConf(Configuration conf) {
super.setConf(conf);
if (conf == null) return;
INC_RATE = conf.getFloat("db.fetch.schedule.adaptive.inc_rate", 0.2f);
DEC_RATE = conf.getFloat("db.fetch.schedule.adaptive.dec_rate", 0.2f);
MIN_INTERVAL = conf.getInt("db.fetch.schedule.adaptive.min_interval", 60);
- MAX_INTERVAL =
- conf.getInt("db.fetch.schedule.adaptive.max_interval",
- FetchSchedule.SECONDS_PER_DAY * 365 ); // 1 year
+ MAX_INTERVAL = conf.getInt("db.fetch.schedule.adaptive.max_interval", SECONDS_PER_DAY * 365 ); // 1 year
SYNC_DELTA = conf.getBoolean("db.fetch.schedule.adaptive.sync_delta", true);
SYNC_DELTA_RATE = conf.getFloat("db.fetch.schedule.adaptive.sync_delta_rate", 0.2f);
}
diff --git a/src/java/org/apache/nutch/crawl/MD5Signature.java b/src/java/org/apache/nutch/crawl/MD5Signature.java
index 7e06f2107..110876b24 100644
--- a/src/java/org/apache/nutch/crawl/MD5Signature.java
+++ b/src/java/org/apache/nutch/crawl/MD5Signature.java
@@ -41,6 +41,7 @@ public class MD5Signature extends Signature {
@Override
public byte[] calculate(WebPage page) {
byte[] data = page.getContent().array();
+ if (data == null && page.getBaseUrl()!=null) data = page.getBaseUrl().getBytes();
return MD5Hash.digest(data).getDigest();
}
diff --git a/src/java/org/apache/nutch/indexer/IndexingFilter.java b/src/java/org/apache/nutch/indexer/IndexingFilter.java
index 353ac8c36..4452c23a2 100644
--- a/src/java/org/apache/nutch/indexer/IndexingFilter.java
+++ b/src/java/org/apache/nutch/indexer/IndexingFilter.java
@@ -19,7 +19,6 @@ package org.apache.nutch.indexer;
// Hadoop imports
import org.apache.hadoop.conf.Configurable;
-import org.apache.hadoop.conf.Configuration;
import org.apache.nutch.plugin.FieldPluggable;
import org.apache.nutch.storage.WebPage;
@@ -45,13 +44,4 @@ public interface IndexingFilter extends FieldPluggable, Configurable {
*/
NutchDocument filter(NutchDocument doc, String url, WebPage page)
throws IndexingException;
-
- /** Adds index-level configuraition options.
- * Implementations can update given configuration to pass document-independent
- * information to indexing backends. As a rule of thumb, prefix meta keys
- * with the name of the backend intended. For example, when
- * passing information to lucene backend, prefix keys with "lucene.".
- * @param conf Configuration instance.
- * */
- public void addIndexBackendOptions(Configuration conf);
}
diff --git a/src/java/org/apache/nutch/indexer/IndexingFilters.java b/src/java/org/apache/nutch/indexer/IndexingFilters.java
index f9aab44c7..1c1e36b35 100644
--- a/src/java/org/apache/nutch/indexer/IndexingFilters.java
+++ b/src/java/org/apache/nutch/indexer/IndexingFilters.java
@@ -70,7 +70,6 @@ public class IndexingFilters {
.getExtensionInstance();
LOG.info("Adding " + filter.getClass().getName());
if (!filterMap.containsKey(filter.getClass().getName())) {
- filter.addIndexBackendOptions(conf);
filterMap.put(filter.getClass().getName(), filter);
}
}
@@ -88,7 +87,6 @@ public class IndexingFilters {
for (int i = 0; i < orderedFilters.length; i++) {
IndexingFilter filter = filterMap.get(orderedFilters[i]);
if (filter != null) {
- filter.addIndexBackendOptions(conf);
filters.add(filter);
}
}
diff --git a/src/java/org/apache/nutch/parse/HtmlParseFilter.java b/src/java/org/apache/nutch/parse/HtmlParseFilter.java
index 58fb49944..0dbf719a6 100644
--- a/src/java/org/apache/nutch/parse/HtmlParseFilter.java
+++ b/src/java/org/apache/nutch/parse/HtmlParseFilter.java
@@ -1,3 +1,20 @@
+/**
+ * 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.
+ */
+
package org.apache.nutch.parse;
import org.apache.hadoop.conf.Configurable;
diff --git a/src/java/org/apache/nutch/parse/Outlink.java b/src/java/org/apache/nutch/parse/Outlink.java
index 6ae8f5f63..744140c0a 100644
--- a/src/java/org/apache/nutch/parse/Outlink.java
+++ b/src/java/org/apache/nutch/parse/Outlink.java
@@ -18,6 +18,7 @@
package org.apache.nutch.parse;
import java.io.*;
+import java.net.MalformedURLException;
import org.apache.hadoop.io.*;
@@ -29,7 +30,7 @@ public class Outlink implements Writable {
public Outlink() {}
- public Outlink(String toUrl, String anchor) {
+ public Outlink(String toUrl, String anchor) throws MalformedURLException {
this.toUrl = toUrl;
if (anchor == null) anchor = "";
this.anchor = anchor;
diff --git a/src/java/org/apache/nutch/parse/OutlinkExtractor.java b/src/java/org/apache/nutch/parse/OutlinkExtractor.java
index 998f3c599..1e4c93f0d 100644
--- a/src/java/org/apache/nutch/parse/OutlinkExtractor.java
+++ b/src/java/org/apache/nutch/parse/OutlinkExtractor.java
@@ -17,6 +17,7 @@
package org.apache.nutch.parse;
+import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.List;
@@ -109,7 +110,11 @@ public class OutlinkExtractor {
}
result = matcher.getMatch();
url = result.group(0);
- outlinks.add(new Outlink(url, anchor));
+ try {
+ outlinks.add(new Outlink(url, anchor));
+ } catch (MalformedURLException mue) {
+ LOG.warn("Invalid url: '" + url + "', skipping.");
+ }
}
} catch (Exception ex) {
// if the matcher fails (perhaps a malformed URL) we just log it and move on
diff --git a/src/java/org/apache/nutch/plugin/Pluggable.java b/src/java/org/apache/nutch/plugin/Pluggable.java
index ab77b6425..9970f6ae4 100644
--- a/src/java/org/apache/nutch/plugin/Pluggable.java
+++ b/src/java/org/apache/nutch/plugin/Pluggable.java
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.nutch.plugin;
public interface Pluggable {
diff --git a/src/java/org/apache/nutch/plugin/PluginRepository.java b/src/java/org/apache/nutch/plugin/PluginRepository.java
index c496b48f9..bcb68daf8 100644
--- a/src/java/org/apache/nutch/plugin/PluginRepository.java
+++ b/src/java/org/apache/nutch/plugin/PluginRepository.java
@@ -43,7 +43,7 @@ import org.apache.nutch.util.NutchConfiguration;
* @author joa23
*/
public class PluginRepository {
- private static final WeakHashMap<Configuration, PluginRepository> CACHE = new WeakHashMap<Configuration, PluginRepository>();
+ private static final WeakHashMap<String, PluginRepository> CACHE = new WeakHashMap<String, PluginRepository>();
private boolean auto;
@@ -90,10 +90,14 @@ public class PluginRepository {
* @return a cached instance of the plugin repository
*/
public static synchronized PluginRepository get(Configuration conf) {
- PluginRepository result = CACHE.get(conf);
+ String uuid = NutchConfiguration.getUUID(conf);
+ if (uuid == null) {
+ uuid = "nonNutchConf@" + conf.hashCode(); // fallback
+ }
+ PluginRepository result = CACHE.get(uuid);
if (result == null) {
result = new PluginRepository(conf);
- CACHE.put(conf, result);
+ CACHE.put(uuid, result);
}
return result;
}
diff --git a/src/java/org/apache/nutch/storage/StorageUtils.java b/src/java/org/apache/nutch/storage/StorageUtils.java
index 150e2edc9..6c1e67f47 100644
--- a/src/java/org/apache/nutch/storage/StorageUtils.java
+++ b/src/java/org/apache/nutch/storage/StorageUtils.java
@@ -67,6 +67,7 @@ public class StorageUtils {
throws ClassNotFoundException, IOException {
DataStore<String, WebPage> store =
createDataStore(job.getConfiguration(), String.class, WebPage.class);
+ if (store==null) throw new RuntimeException("Could not create datastore");
Query<String, WebPage> query = store.newQuery();
query.setFields(toStringArray(fields));
GoraMapper.initMapperJob(job, query, store,
diff --git a/src/java/org/apache/nutch/tools/PruneIndexTool.java b/src/java/org/apache/nutch/tools/PruneIndexTool.java
deleted file mode 100644
index a05907e92..000000000
--- a/src/java/org/apache/nutch/tools/PruneIndexTool.java
+++ /dev/null
@@ -1,561 +0,0 @@
-/*
- * Created on Nov 2, 2004
- * Author: Andrzej Bialecki <[email protected]>
- *
- */
-/**
- * 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.
- */
-
-package org.apache.nutch.tools;
-
-import java.io.BufferedReader;
-import java.io.BufferedWriter;
-import java.io.File;
-import java.io.FileFilter;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStreamWriter;
-import java.io.PrintStream;
-import java.util.BitSet;
-import java.util.StringTokenizer;
-import java.util.Vector;
-
-// Commons Logging imports
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import org.apache.hadoop.conf.Configuration;
-import org.apache.nutch.util.NutchConfiguration;
-
-import org.apache.lucene.analysis.WhitespaceAnalyzer;
-import org.apache.lucene.document.Document;
-import org.apache.lucene.index.IndexReader;
-import org.apache.lucene.index.MultiReader;
-import org.apache.lucene.queryParser.QueryParser;
-import org.apache.lucene.search.HitCollector;
-import org.apache.lucene.search.IndexSearcher;
-import org.apache.lucene.search.Query;
-import org.apache.lucene.store.Directory;
-import org.apache.lucene.store.FSDirectory;
-
-/**
- * This tool prunes existing Nutch indexes of unwanted content. The main method
- * accepts a list of segment directories (containing indexes). These indexes will
- * be pruned of any content that matches one or more query from a list of Lucene
- * queries read from a file (defined in standard config file, or explicitly
- * overridden from command-line). Segments should already be indexed, if some
- * of them are missing indexes then these segments will be skipped.
- *
- * <p>NOTE 1: Queries are expressed in Lucene's QueryParser syntax, so a knowledge
- * of available Lucene document fields is required. This can be obtained by reading sources
- * of <code>index-basic</code> and <code>index-more</code> plugins, or using tools
- * like <a href="http://www.getopt.org/luke">Luke</a>. During query parsing a
- * WhitespaceAnalyzer is used - this choice has been made to minimize side effects of
- * Analyzer on the final set of query terms. You can use {@link org.apache.nutch.searcher.Query#main(String[])}
- * method to translate queries in Nutch syntax to queries in Lucene syntax.<br>
- * If additional level of control is required, an instance of {@link PruneChecker} can
- * be provided to check each document before it's deleted. The results of all
- * checkers are logically AND-ed, which means that any checker in the chain
- * can veto the deletion of the current document. Two example checker implementations
- * are provided - PrintFieldsChecker prints the values of selected index fields,
- * StoreUrlsChecker stores the URLs of deleted documents to a file. Any of them can
- * be activated by providing respective command-line options.
- * </p>
- * <p>The typical command-line usage is as follows:<br>
- * <blockquote>
- * <code>PruneIndexTool index_dir -dryrun -queries queries.txt -showfields url,title</code><br>
- * This command will just print out fields of matching documents.<br>
- * <code>PruneIndexTool index_dir -queries queries.txt</code><br>
- * This command will actually remove all matching entries, according to the
- * queries read from <code>queries.txt</code> file.
- * </blockquote></p>
- * <p>NOTE 2: This tool removes matching documents ONLY from segment indexes (or
- * from a merged index). In particular it does NOT remove the pages and links
- * from WebDB. This means that unwanted URLs may pop up again when new segments
- * are created. To prevent this, use your own {@link org.apache.nutch.net.URLFilter},
- * or PruneDBTool (under construction...).</p>
- * <p>NOTE 3: This tool uses a low-level Lucene interface to collect all matching
- * documents. For large indexes and broad queries this may result in high memory
- * consumption. If you encounter OutOfMemory exceptions, try to narrow down your
- * queries, or increase the heap size.</p>
- *
- * @author Andrzej Bialecki &lt;[email protected]&gt;
- */
-public class PruneIndexTool implements Runnable {
- public static final Log LOG = LogFactory.getLog(PruneIndexTool.class);
- /** Log the progress every LOG_STEP number of processed documents. */
- public static int LOG_STEP = 50000;
-
- /**
- * This interface can be used to implement additional checking on matching
- * documents.
- * @author Andrzej Bialecki &lt;[email protected]&gt;
- */
- public static interface PruneChecker {
- /**
- * Check whether this document should be pruned. NOTE: this method
- * MUST NOT modify the IndexReader.
- * @param reader index reader to read documents from
- * @param docNum document ID
- * @return true if the document should be deleted, false otherwise.
- */
- public boolean isPrunable(Query q, IndexReader reader, int docNum) throws Exception;
- /**
- * Close the checker - this could involve flushing output files or somesuch.
- */
- public void close();
- }
-
- /**
- * This checker's main function is just to print out
- * selected field values from each document, just before
- * they are deleted.
- *
- * @author Andrzej Bialecki &lt;[email protected]&gt;
- */
- public static class PrintFieldsChecker implements PruneChecker {
- private PrintStream ps = null;
- private String[] fields = null;
-
- /**
- *
- * @param ps an instance of PrintStream to print the information to
- * @param fields a list of Lucene index field names. Values from these
- * fields will be printed for every matching document.
- */
- public PrintFieldsChecker(PrintStream ps, String[] fields) {
- this.ps = ps;
- this.fields = fields;
- }
-
- public void close() {
- ps.flush();
- }
-
- public boolean isPrunable(Query q, IndexReader reader, int docNum) throws Exception {
- Document doc = reader.document(docNum);
- StringBuffer sb = new StringBuffer("#" + docNum + ":");
- for (int i = 0; i < fields.length; i++) {
- String[] values = doc.getValues(fields[i]);
- sb.append(" " + fields[i] + "=");
- if (values != null) {
- for (int k = 0; k < values.length; k++) {
- sb.append("[" + values[k] + "]");
- }
- } else sb.append("[null]");
- }
- ps.println(sb.toString());
- return true;
- }
- }
-
- /**
- * This checker's main function is just to store
- * the URLs of each document to be deleted in a text file.
- *
- * @author Andrzej Bialecki &lt;[email protected]&gt;
- */
- public static class StoreUrlsChecker implements PruneChecker {
- private BufferedWriter output = null;
- private boolean storeHomeUrl = false;
-
- /**
- * Store the list in a file
- * @param out name of the output file
- */
- public StoreUrlsChecker(File out, boolean storeHomeUrl) throws Exception {
- this.output = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(out), "UTF-8"));
- this.storeHomeUrl = storeHomeUrl;
- }
-
- public void close() {
- try {
- output.flush();
- output.close();
- } catch (Exception e) {
- if (LOG.isWarnEnabled()) {
- LOG.warn("Error closing: " + e.getMessage());
- }
- }
- }
-
- public boolean isPrunable(Query q, IndexReader reader, int docNum) throws Exception {
- Document doc = reader.document(docNum);
- String url = doc.get("url");
- output.write(url); output.write('\n');
- if (storeHomeUrl) {
- // store also the main url
- int idx = url.indexOf("://");
- if (idx != -1) {
- idx = url.indexOf('/', idx + 3);
- if (idx != -1) {
- output.write(url.substring(0, idx + 1) + "\n");
- }
- }
- }
- return true;
- }
- }
-
- private Query[] queries = null;
- private IndexReader reader = null;
- private IndexSearcher searcher = null;
- private PruneChecker[] checkers = null;
- private boolean dryrun = false;
- private String dr = "";
-
- /**
- * Create an instance of the tool, and open all input indexes.
- * @param indexDirs directories with input indexes. At least one valid index must
- * exist, otherwise an Exception is thrown.
- * @param queries pruning queries. Each query will be processed in turn, and the
- * length of the array must be at least one, otherwise an Exception is thrown.
- * @param checkers if not null, they will be used to perform additional
- * checks on matching documents - each checker's method {@link PruneChecker#isPrunable(Query, IndexReader, int)}
- * will be called in turn, for each matching document, and if it returns true this means that
- * the document should be deleted. A logical AND is performed on the results returned
- * by all checkers (which means that if one of them returns false, the document will
- * not be deleted).
- * @param unlock if true, and if any of the input indexes is locked, forcibly
- * unlock it. Use with care, only when you are sure that other processes don't
- * modify the index at the same time.
- * @param dryrun if set to true, don't change the index, just show what would be done.
- * If false, perform all actions, changing indexes as needed. Note: dryrun doesn't prevent
- * PruneCheckers from performing changes or causing any other side-effects.
- * @throws Exception
- */
- public PruneIndexTool(File[] indexDirs, Query[] queries, PruneChecker[] checkers,
- boolean unlock, boolean dryrun) throws Exception {
- if (indexDirs == null || queries == null)
- throw new Exception("Invalid arguments.");
- if (indexDirs.length == 0 || queries.length == 0)
- throw new Exception("Nothing to do.");
- this.queries = queries;
- this.checkers = checkers;
- this.dryrun = dryrun;
- if (dryrun) dr = "[DRY RUN] ";
- int numIdx = 0;
- if (indexDirs.length == 1) {
- Directory dir = FSDirectory.getDirectory(indexDirs[0], false);
- if (IndexReader.isLocked(dir)) {
- if (!unlock) {
- throw new Exception("Index " + indexDirs[0] + " is locked.");
- }
- if (!dryrun) {
- IndexReader.unlock(dir);
- if (LOG.isDebugEnabled()) {
- LOG.debug(" - had to unlock index in " + dir);
- }
- }
- }
- reader = IndexReader.open(dir);
- numIdx = 1;
- } else {
- Directory dir;
- Vector<IndexReader> indexes = new Vector<IndexReader>(indexDirs.length);
- for (int i = 0; i < indexDirs.length; i++) {
- try {
- dir = FSDirectory.getDirectory(indexDirs[i], false);
- if (IndexReader.isLocked(dir)) {
- if (!unlock) {
- if (LOG.isWarnEnabled()) {
- LOG.warn(dr + "Index " + indexDirs[i] + " is locked. Skipping...");
- }
- continue;
- }
- if (!dryrun) {
- IndexReader.unlock(dir);
- if (LOG.isDebugEnabled()) {
- LOG.debug(" - had to unlock index in " + dir);
- }
- }
- }
- IndexReader r = IndexReader.open(dir);
- indexes.add(r);
- numIdx++;
- } catch (Exception e) {
- if (LOG.isWarnEnabled()) {
- LOG.warn(dr + "Invalid index in " + indexDirs[i] + " - skipping...");
- }
- }
- }
- if (indexes.size() == 0) throw new Exception("No input indexes.");
- IndexReader[] readers = indexes.toArray(new IndexReader[0]);
- reader = new MultiReader(readers);
- }
- if (LOG.isInfoEnabled()) {
- LOG.info(dr + "Opened " + numIdx + " index(es) with total " +
- reader.numDocs() + " documents.");
- }
- searcher = new IndexSearcher(reader);
- }
-
- /**
- * This class collects all matching document IDs in a BitSet.
- * <p>NOTE: the reason to use this API is that the most common way of
- * performing Lucene queries (Searcher.search(Query)::Hits) does NOT
- * return all matching documents, because it skips very low scoring hits.</p>
- *
- * @author Andrzej Bialecki &lt;[email protected]&gt;
- */
- private static class AllHitsCollector extends HitCollector {
- private BitSet bits;
-
- public AllHitsCollector(BitSet bits) {
- this.bits = bits;
- }
- public void collect(int doc, float score) {
- bits.set(doc);
- }
- }
-
- /**
- * For each query, find all matching documents and delete them from all input
- * indexes. Optionally, an additional check can be performed by using {@link PruneChecker}
- * implementations.
- */
- public void run() {
- BitSet bits = new BitSet(reader.maxDoc());
- AllHitsCollector ahc = new AllHitsCollector(bits);
- boolean doDelete = false;
- for (int i = 0; i < queries.length; i++) {
- if (LOG.isInfoEnabled()) {
- LOG.info(dr + "Processing query: " + queries[i].toString());
- }
- bits.clear();
- try {
- searcher.search(queries[i], ahc);
- } catch (IOException e) {
- if (LOG.isWarnEnabled()) {
- LOG.warn(dr + " - failed: " + e.getMessage());
- }
- continue;
- }
- if (bits.cardinality() == 0) {
- if (LOG.isInfoEnabled()) {
- LOG.info(dr + " - no matching documents.");
- }
- continue;
- }
- if (LOG.isInfoEnabled()) {
- LOG.info(dr + " - found " + bits.cardinality() + " document(s).");
- }
- // Now delete all matching documents
- int docNum = -1, start = 0, cnt = 0;
- // probably faster than looping sequentially through all index values?
- while ((docNum = bits.nextSetBit(start)) != -1) {
- // don't delete the same document multiple times
- if (reader.isDeleted(docNum)) continue;
- try {
- if (checkers != null && checkers.length > 0) {
- boolean check = true;
- for (int k = 0; k < checkers.length; k++) {
- // fail if any checker returns false
- check &= checkers[k].isPrunable(queries[i], reader, docNum);
- }
- doDelete = check;
- } else doDelete = true;
- if (doDelete) {
- if (!dryrun) reader.deleteDocument(docNum);
- cnt++;
- }
- } catch (Exception e) {
- if (LOG.isWarnEnabled()) {
- LOG.warn(dr + " - failed to delete doc #" + docNum);
- }
- }
- start = docNum + 1;
- }
- if (LOG.isInfoEnabled()) {
- LOG.info(dr + " - deleted " + cnt + " document(s).");
- }
- }
- // close checkers
- if (checkers != null) {
- for (int i = 0; i < checkers.length; i++) {
- checkers[i].close();
- }
- }
- try {
- reader.close();
- } catch (IOException e) {
- if (LOG.isWarnEnabled()) {
- LOG.warn(dr + "Exception when closing reader(s): " + e.getMessage());
- }
- }
- }
-
- public static void main(String[] args) throws Exception {
- if (args.length == 0) {
- usage();
- if (LOG.isFatalEnabled()) { LOG.fatal("Missing arguments"); }
- return;
- }
- File idx = new File(args[0]);
- if (!idx.isDirectory()) {
- usage();
- if (LOG.isFatalEnabled()) { LOG.fatal("Not a directory: " + idx); }
- return;
- }
- Vector<File> paths = new Vector<File>();
- if (IndexReader.indexExists(idx)) {
- paths.add(idx);
- } else {
- // try and see if there are segments inside, with index dirs
- File[] dirs = idx.listFiles(new FileFilter() {
- public boolean accept(File f) {
- return f.isDirectory();
- }
- });
- if (dirs == null || dirs.length == 0) {
- usage();
- if (LOG.isFatalEnabled()) { LOG.fatal("No indexes in " + idx); }
- return;
- }
- for (int i = 0; i < dirs.length; i++) {
- File sidx = new File(dirs[i], "index");
- if (sidx.exists() && sidx.isDirectory() && IndexReader.indexExists(sidx)) {
- paths.add(sidx);
- }
- }
- if (paths.size() == 0) {
- usage();
- if (LOG.isFatalEnabled()) {
- LOG.fatal("No indexes in " + idx + " or its subdirs.");
- }
- return;
- }
- }
- File[] indexes = paths.toArray(new File[0]);
- boolean force = false;
- boolean dryrun = false;
- String qPath = null;
- String outPath = null;
- String fList = null;
- for (int i = 1; i < args.length; i++) {
- if (args[i].equals("-force")) {
- force = true;
- } else if (args[i].equals("-queries")) {
- qPath = args[++i];
- } else if (args[i].equals("-output")) {
- outPath = args[++i];
- } else if (args[i].equals("-showfields")) {
- fList = args[++i];
- } else if (args[i].equals("-dryrun")) {
- dryrun = true;
- } else {
- usage();
- if (LOG.isFatalEnabled()) {
- LOG.fatal("Unrecognized option: " + args[i]);
- }
- return;
- }
- }
- Vector<PruneChecker> cv = new Vector<PruneChecker>();
- if (fList != null) {
- StringTokenizer st = new StringTokenizer(fList, ",");
- Vector<String> tokens = new Vector<String>();
- while (st.hasMoreTokens()) tokens.add(st.nextToken());
- String[] fields = tokens.toArray(new String[0]);
- PruneChecker pc = new PrintFieldsChecker(System.out, fields);
- cv.add(pc);
- }
-
- if (outPath != null) {
- StoreUrlsChecker luc = new StoreUrlsChecker(new File(outPath), false);
- cv.add(luc);
- }
-
- PruneChecker[] checkers = null;
- if (cv.size() > 0) {
- checkers = cv.toArray(new PruneChecker[0]);
- }
- Query[] queries = null;
- InputStream is = null;
- if (qPath != null) {
- is = new FileInputStream(qPath);
- } else {
- Configuration conf = NutchConfiguration.create();
- qPath = conf.get("prune.index.tool.queries");
- is = conf.getConfResourceAsInputStream(qPath);
- }
- if (is == null) {
- if (LOG.isFatalEnabled()) {
- LOG.fatal("Can't load queries from " + qPath);
- }
- return;
- }
- try {
- queries = parseQueries(is);
- } catch (Exception e) {
- if (LOG.isFatalEnabled()) {
- LOG.fatal("Error parsing queries: " + e.getMessage());
- }
- return;
- }
- try {
- PruneIndexTool pit = new PruneIndexTool(indexes, queries, checkers, force, dryrun);
- pit.run();
- } catch (Exception e) {
- if (LOG.isFatalEnabled()) {
- LOG.fatal("Error running PruneIndexTool: " + e.getMessage());
- }
- return;
- }
- }
-
- /**
- * Read a list of Lucene queries from the stream (UTF-8 encoding is assumed).
- * There should be a single Lucene query per line. Blank lines and comments
- * starting with '#' are allowed.
- * <p>NOTE: you may wish to use {@link org.apache.nutch.searcher.Query#main(String[])}
- * method to translate queries from Nutch format to Lucene format.</p>
- * @param is InputStream to read from
- * @return array of Lucene queries
- * @throws Exception
- */
- public static Query[] parseQueries(InputStream is) throws Exception {
- BufferedReader br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
- String line = null;
- QueryParser qp = new QueryParser("url", new WhitespaceAnalyzer());
- Vector<Query> queries = new Vector<Query>();
- while ((line = br.readLine()) != null) {
- line = line.trim();
- //skip blanks and comments
- if (line.length() == 0 || line.charAt(0) == '#') continue;
- Query q = qp.parse(line);
- queries.add(q);
- }
- return queries.toArray(new Query[0]);
- }
-
- private static void usage() {
- System.err.println("PruneIndexTool <indexDir | segmentsDir> [-dryrun] [-force] [-queries filename] [-output filename] [-showfields field1,field2,field3...]");
- System.err.println("\tNOTE: exactly one of <indexDir> or <segmentsDir> MUST be provided!\n");
- System.err.println("\t-dryrun\t\t\tdon't do anything, just show what would be done.");
- System.err.println("\t-force\t\t\tforce index unlock, if locked. Use with caution!");
- System.err.println("\t-queries filename\tread pruning queries from this file, instead of the");
- System.err.println("\t\t\t\tdefault defined in Nutch config files under 'prune.index.tool.queries' key.\n");
- System.err.println("\t-output filename\tstore pruned URLs in a text file");
- System.err.println("\t-showfields field1,field2...\tfor each deleted document show the values of the selected fields.");
- System.err.println("\t\t\t\tNOTE 1: this will slow down processing by orders of magnitude.");
- System.err.println("\t\t\t\tNOTE 2: only values of stored fields will be shown.");
- }
-}
diff --git a/src/java/org/apache/nutch/util/NutchConfiguration.java b/src/java/org/apache/nutch/util/NutchConfiguration.java
index 0f90f89d0..47d410bb5 100644
--- a/src/java/org/apache/nutch/util/NutchConfiguration.java
+++ b/src/java/org/apache/nutch/util/NutchConfiguration.java
@@ -17,93 +17,77 @@
package org.apache.nutch.util;
-// JDK imports
-import java.util.Enumeration;
+import java.util.Map.Entry;
+import java.util.Properties;
+import java.util.UUID;
-// Servlet imports
-import javax.servlet.ServletContext;
-
-// Hadoop imports
import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.io.WritableName;
/** Utility to create Hadoop {@link Configuration}s that include Nutch-specific
* resources. */
public class NutchConfiguration {
-
- private final static String KEY = NutchConfiguration.class.getName();
+ public static final String UUID_KEY = "nutch.conf.uuid";
private NutchConfiguration() {} // singleton
-
- // for back-compatibility, add old aliases for these Writable classes
- // this may be removed after the 0.8 release
- static {
- WritableName.addName(org.apache.nutch.parse.ParseData.class, "ParseData");
- WritableName.addName(org.apache.nutch.parse.ParseText.class, "ParseText");
- WritableName.addName(org.apache.nutch.protocol.Content.class, "Content");
+
+ /*
+ * Configuration.hashCode() doesn't return values that
+ * correspond to a unique set of parameters. This is a workaround
+ * so that we can track instances of Configuration created by Nutch.
+ */
+ private static void setUUID(Configuration conf) {
+ UUID uuid = UUID.randomUUID();
+ conf.set(UUID_KEY, uuid.toString());
}
-
- /** Create a {@link Configuration} for Nutch. */
- public static Configuration create() {
- Configuration conf = new Configuration();
- addNutchResources(conf, false);
- return conf;
+
+ /**
+ * Retrieve a Nutch UUID of this configuration object, or null
+ * if the configuration was created elsewhere.
+ * @param conf configuration instance
+ * @return uuid or null
+ */
+ public static String getUUID(Configuration conf) {
+ return conf.get(UUID_KEY);
}
- /**
- * Create a {@link Configuration for Nutch invoked with the command
- * line crawl command, i.e. bin/nutch crawl ...
+ /** Create a {@link Configuration} for Nutch. This will load the standard
+ * Nutch resources, <code>nutch-default.xml</code> and
+ * <code>nutch-site.xml</code> overrides.
*/
- public static Configuration createCrawlConfiguration() {
+ public static Configuration create() {
Configuration conf = new Configuration();
- addNutchResources(conf, true);
+ setUUID(conf);
+ addNutchResources(conf);
return conf;
}
-
- /**
- * Create a {@link Configuration} for Nutch front-end.
- *
- * If a {@link Configuration} is found in the
- * {@link javax.servlet.ServletContext} it is simply returned, otherwise,
- * a new {@link Configuration} is created using the {@link #create()} method,
- * and then all the init parameters found in the
- * {@link javax.servlet.ServletContext} are added to the {@link Configuration}
- * (the created {@link Configuration} is then saved into the
- * {@link javax.servlet.ServletContext}).
- *
- * @param application is the ServletContext whose init parameters
- * must override those of Nutch.
+
+ /** Create a {@link Configuration} from supplied properties.
+ * @param addNutchResources if true, then first <code>nutch-default.xml</code>,
+ * and then <code>nutch-site.xml</code> will be loaded prior to applying the
+ * properties. Otherwise these resources won't be used.
+ * @param nutchProperties a set of properties to define (or override)
*/
- public static Configuration get(ServletContext application) {
- Configuration conf = (Configuration) application.getAttribute(KEY);
- if (conf == null) {
- conf = create();
- Enumeration e = application.getInitParameterNames();
- while (e.hasMoreElements()) {
- String name = (String) e.nextElement();
- conf.set(name, application.getInitParameter(name));
- }
- application.setAttribute(KEY, conf);
+ public static Configuration create(boolean addNutchResources, Properties nutchProperties) {
+ Configuration conf = new Configuration();
+ setUUID(conf);
+ if (addNutchResources) {
+ addNutchResources(conf);
+ }
+ for (Entry<Object, Object> e : nutchProperties.entrySet()) {
+ conf.set(e.getKey().toString(), e.getValue().toString());
}
return conf;
}
-
+
/**
* Add the standard Nutch resources to {@link Configuration}.
*
* @param conf Configuration object to which
* configuration is to be added.
- * @param crawlConfiguration Whether configuration for command line
- * crawl using 'bin/nutch crawl' command
- * should be added.
*/
- private static Configuration addNutchResources(Configuration conf,
- boolean crawlConfiguration) {
+ private static Configuration addNutchResources(Configuration conf) {
conf.addResource("nutch-default.xml");
- if (crawlConfiguration) {
- conf.addResource("crawl-tool.xml");
- }
conf.addResource("nutch-site.xml");
return conf;
}
diff --git a/src/java/org/apache/nutch/util/TimingUtil.java b/src/java/org/apache/nutch/util/TimingUtil.java
new file mode 100644
index 000000000..8ed5ca8e2
--- /dev/null
+++ b/src/java/org/apache/nutch/util/TimingUtil.java
@@ -0,0 +1,55 @@
+/**
+ * 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.
+ */
+
+package org.apache.nutch.util;
+
+import java.text.NumberFormat;
+
+public class TimingUtil {
+
+ private static long[] TIME_FACTOR = { 60 * 60 * 1000, 60 * 1000, 1000 };
+
+ /**
+ * Calculate the elapsed time between two times specified in milliseconds.
+ * @param start The start of the time period
+ * @param end The end of the time period
+ * @return a string of the form "XhYmZs" when the elapsed time is X hours, Y minutes and Z seconds or null if start > end.
+ */
+ public static String elapsedTime(long start, long end){
+ if (start > end) {
+ return null;
+ }
+
+ long[] elapsedTime = new long[TIME_FACTOR.length];
+
+ for (int i = 0; i < TIME_FACTOR.length; i++) {
+ elapsedTime[i] = start > end ? -1 : (end - start) / TIME_FACTOR[i];
+ start += TIME_FACTOR[i] * elapsedTime[i];
+ }
+
+ NumberFormat nf = NumberFormat.getInstance();
+ nf.setMinimumIntegerDigits(2);
+ StringBuffer buf = new StringBuffer();
+ for (int i = 0; i < elapsedTime.length; i++) {
+ if (i > 0) {
+ buf.append(":");
+ }
+ buf.append(nf.format(elapsedTime[i]));
+ }
+ return buf.toString();
+ }
+}
diff --git a/src/java/org/apache/nutch/util/domain/DomainStatistics.java b/src/java/org/apache/nutch/util/domain/DomainStatistics.java
index ff19fbfd7..770fe7c0d 100644
--- a/src/java/org/apache/nutch/util/domain/DomainStatistics.java
+++ b/src/java/org/apache/nutch/util/domain/DomainStatistics.java
@@ -19,6 +19,7 @@ package org.apache.nutch.util.domain;
import java.io.IOException;
import java.net.URL;
+import java.text.SimpleDateFormat;
import java.util.Iterator;
import org.apache.commons.logging.Log;
@@ -42,7 +43,9 @@ import org.apache.hadoop.util.Tool;
import org.apache.hadoop.util.ToolRunner;
import org.apache.nutch.crawl.CrawlDatum;
import org.apache.nutch.util.NutchConfiguration;
+import org.apache.nutch.util.NutchJob;
import org.apache.nutch.util.NutchJobConf;
+import org.apache.nutch.util.TimingUtil;
import org.apache.nutch.util.URLUtil;
/**
@@ -70,7 +73,7 @@ implements Tool, Mapper<Text, CrawlDatum, Text, LongWritable>,
public int run(String[] args) throws IOException {
if (args.length < 3) {
- System.out.println("usage: inputDirs outDir host|domain|suffix [numOfReducer]");
+ System.out.println("usage: DomainStatistics inputDirs outDir host|domain|suffix [numOfReducer]");
return 1;
}
String inputDir = args[0];
@@ -81,6 +84,10 @@ implements Tool, Mapper<Text, CrawlDatum, Text, LongWritable>,
numOfReducers = Integer.parseInt(args[3]);
}
+ SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+ long start = System.currentTimeMillis();
+ LOG.info("DomainStatistics: starting at " + sdf.format(start));
+
JobConf job = new NutchJobConf(getConf());
job.setJobName("Domain statistics");
@@ -112,6 +119,8 @@ implements Tool, Mapper<Text, CrawlDatum, Text, LongWritable>,
JobClient.runJob(job);
+ long end = System.currentTimeMillis();
+ LOG.info("DomainStatistics: finished at " + sdf.format(end) + ", elapsed: " + TimingUtil.elapsedTime(start, end));
return 0;
}
@@ -122,12 +131,10 @@ implements Tool, Mapper<Text, CrawlDatum, Text, LongWritable>,
}
- @Override
public Configuration getConf() {
return conf;
}
- @Override
public void setConf(Configuration conf) {
this.conf = conf;
}
diff --git a/src/java/overview.html b/src/java/overview.html
index 3e076adda..a9b5455b7 100644
--- a/src/java/overview.html
+++ b/src/java/overview.html
@@ -3,7 +3,7 @@
<title>Nutch</title>
</head>
<body>
-Nutch is an open-source web crawler.<p>
+Nutch is the open-source search engine.<p>
</body>
</html>
diff --git a/src/plugin/build-plugin.xml b/src/plugin/build-plugin.xml
index 441d9baf6..0e7a6e47b 100755
--- a/src/plugin/build-plugin.xml
+++ b/src/plugin/build-plugin.xml
@@ -43,6 +43,8 @@
<!-- load nutch defaults last so that they can be overridden above -->
<property file="${nutch.root}/default.properties" />
+ <ivy:settings id="ivy.instance" file="${nutch.root}/ivy/ivysettings.xml" />
+
<path id="plugin.deps"/>
<fileset id="lib.jars" dir="${root}" includes="lib/*.jar"/>
diff --git a/src/plugin/build.xml b/src/plugin/build.xml
index 6ee043f55..814e4897f 100755
--- a/src/plugin/build.xml
+++ b/src/plugin/build.xml
@@ -45,7 +45,6 @@
<ant dir="protocol-http" target="deploy"/>
<!--<ant dir="protocol-httpclient" target="deploy"/>
<ant dir="parse-ext" target="deploy"/>-->
- <ant dir="parse-html" target="deploy"/>
<ant dir="parse-js" target="deploy"/>
<ant dir="parse-rss" target="deploy"/>
<!--<ant dir="parse-swf" target="deploy"/>
@@ -93,7 +92,6 @@
<ant dir="protocol-httpclient" target="test"/>
<ant dir="creativecommons" target="test"/>
<ant dir="parse-ext" target="test"/>
- <ant dir="parse-html" target="test"/>
<ant dir="feed" target="test"/>
<ant dir="parse-swf" target="test"/>
<ant dir="parse-zip" target="test"/>
@@ -107,19 +105,14 @@
<!-- Clean all of the plugins. -->
<!-- ====================================================== -->
<target name="clean">
- <ant dir="analysis-de" target="clean"/>
- <ant dir="analysis-fr" target="clean"/>
<ant dir="creativecommons" target="clean"/>
<ant dir="feed" target="clean"/>
<ant dir="index-basic" target="clean"/>
<ant dir="index-anchor" target="clean"/>
<ant dir="index-more" target="clean"/>
- <ant dir="field-basic" target="clean"/>
- <ant dir="field-boost" target="clean"/>
<ant dir="languageidentifier" target="clean"/>
<ant dir="lib-commons-httpclient" target="clean"/>
<ant dir="lib-http" target="clean"/>
- <ant dir="lib-httphbase" target="clean"/>
<ant dir="lib-lucene-analyzers" target="clean"/>
<ant dir="lib-nekohtml" target="clean"/>
<ant dir="lib-regex-filter" target="clean"/>
@@ -131,14 +124,11 @@
<ant dir="protocol-http" target="clean"/>
<ant dir="protocol-httpclient" target="clean"/>
<ant dir="parse-ext" target="clean"/>
- <ant dir="parse-html" target="clean"/>
<ant dir="parse-js" target="clean"/>
<ant dir="parse-rss" target="clean"/>
<ant dir="parse-swf" target="clean"/>
<ant dir="parse-tika" target="clean"/>
<ant dir="parse-zip" target="clean"/>
- <ant dir="response-json" target="clean"/>
- <ant dir="response-xml" target="clean"/>
<ant dir="scoring-opic" target="clean"/>
<ant dir="scoring-link" target="clean"/>
<ant dir="subcollection" target="clean"/>
diff --git a/src/plugin/creativecommons/build.xml b/src/plugin/creativecommons/build.xml
index 98606ec2a..c141a8cee 100755
--- a/src/plugin/creativecommons/build.xml
+++ b/src/plugin/creativecommons/build.xml
@@ -22,7 +22,7 @@
<!-- Deploy Unit test dependencies -->
<target name="deps-test">
<ant target="deploy" inheritall="false" dir="../nutch-extensionpoints"/>
- <ant target="deploy" inheritall="false" dir="../parse-html"/>
+ <!-- <ant target="deploy" inheritall="false" dir="../parse-html"/> -->
</target>
diff --git a/src/plugin/creativecommons/ivy.xml b/src/plugin/creativecommons/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/creativecommons/ivy.xml
+++ b/src/plugin/creativecommons/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/creativecommons/plugin.xml b/src/plugin/creativecommons/plugin.xml
index 4f6dc1fc7..de9cf3696 100755
--- a/src/plugin/creativecommons/plugin.xml
+++ b/src/plugin/creativecommons/plugin.xml
@@ -45,13 +45,4 @@
class="org.creativecommons.nutch.CCIndexingFilter"/>
</extension>
- <extension id="org.creativecommons.nutch.CCQueryFilter"
- name="Creative Commmons Query Filter"
- point="org.apache.nutch.searcher.QueryFilter">
- <implementation id="CCQueryFilter"
- class="org.creativecommons.nutch.CCQueryFilter">
- <parameter name="fields" value="cc"/>
- </implementation>
- </extension>
-
</plugin>
diff --git a/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCDeleteUnlicensedTool.java b/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCDeleteUnlicensedTool.java
deleted file mode 100644
index e6d56a998..000000000
--- a/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCDeleteUnlicensedTool.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/**
- * 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.
- */
-
-package org.creativecommons.nutch;
-
-import org.apache.nutch.indexer.Indexer;
-
-import org.apache.lucene.index.IndexReader;
-import org.apache.lucene.document.Document;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import java.io.*;
-import java.util.Vector;
-
-/** Deletes documents in a set of Lucene indexes that do not have a Creative
- * Commons license. */
-public class CCDeleteUnlicensedTool {
- private static final Log LOG = LogFactory.getLog(CCDeleteUnlicensedTool.class);
-
- private IndexReader[] readers;
-
- /** Constructs a duplicate detector for the provided indexes. */
- public CCDeleteUnlicensedTool(IndexReader[] readers) {
- this.readers = readers;
- }
-
- /** Closes the indexes, saving changes. */
- public void close() throws IOException {
- for (int i = 0; i < readers.length; i++)
- readers[i].close();
- }
-
- /** Delete pages without CC licenes. */
- public int deleteUnlicensed() throws IOException {
- int deleteCount = 0;
- for (int index = 0; index < readers.length; index++) {
- IndexReader reader = readers[index];
- int readerMax = reader.maxDoc();
- for (int doc = 0; doc < readerMax; doc++) {
- if (!reader.isDeleted(doc)) {
- Document document = reader.document(doc);
- if (document.get(CCIndexingFilter.FIELD)==null){ // no CC fields
- reader.deleteDocument(doc); // delete it
- deleteCount++;
- }
- }
- }
- }
- return deleteCount;
- }
-
- /** Delete duplicates in the indexes in the named directory. */
- public static void main(String[] args) throws Exception {
- String usage = "CCDeleteUnlicensedTool <segmentsDir>";
-
- if (args.length != 1) {
- System.err.println("Usage: " + usage);
- return;
- }
-
- String segmentsDir = args[0];
-
- File[] directories = new File(segmentsDir).listFiles();
- Vector vReaders=new Vector();
- int maxDoc = 0;
- for (int i = 0; i < directories.length; i++) {
- File indexDone = new File(directories[i], Indexer.DONE_NAME);
- if (indexDone.exists() && indexDone.isFile()){
- File indexDir = new File(directories[i], "index");
- IndexReader reader = IndexReader.open(indexDir);
- maxDoc += reader.maxDoc();
- vReaders.add(reader);
- }
- }
-
- IndexReader[] readers=new IndexReader[vReaders.size()];
- for(int i = 0; vReaders.size()>0; i++) {
- readers[i]=(IndexReader)vReaders.remove(0);
- }
-
- CCDeleteUnlicensedTool dd = new CCDeleteUnlicensedTool(readers);
- int count = dd.deleteUnlicensed();
- if (LOG.isInfoEnabled()) {
- LOG.info("CC: deleted "+count+" out of "+maxDoc);
- }
- dd.close();
- }
-}
diff --git a/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCIndexingFilter.java b/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCIndexingFilter.java
index 3cbde5285..6b981595d 100644
--- a/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCIndexingFilter.java
+++ b/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCIndexingFilter.java
@@ -24,7 +24,6 @@ import org.apache.nutch.parse.Parse;
import org.apache.nutch.indexer.IndexingFilter;
import org.apache.nutch.indexer.IndexingException;
import org.apache.nutch.indexer.NutchDocument;
-import org.apache.nutch.indexer.lucene.LuceneWriter;
import org.apache.hadoop.io.Text;
import org.apache.nutch.crawl.CrawlDatum;
@@ -111,10 +110,6 @@ public class CCIndexingFilter implements IndexingFilter {
doc.add(FIELD, feature);
}
- public void addIndexBackendOptions(Configuration conf) {
- LuceneWriter.addFieldOptions(FIELD, LuceneWriter.STORE.YES, LuceneWriter.INDEX.UNTOKENIZED, conf);
- }
-
public void setConf(Configuration conf) {
this.conf = conf;
}
diff --git a/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCQueryFilter.java b/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCQueryFilter.java
deleted file mode 100644
index 7d6000120..000000000
--- a/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCQueryFilter.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * 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.
- */
-
-package org.creativecommons.nutch;
-
-import org.apache.nutch.searcher.RawFieldQueryFilter;
-import org.apache.hadoop.conf.Configuration;
-
-/**
- * Handles "cc:" query clauses, causing them to search the "cc" field indexed by
- * CCIndexingFilter.
- */
-public class CCQueryFilter extends RawFieldQueryFilter {
- private Configuration conf;
-
- public CCQueryFilter() {
- super(CCIndexingFilter.FIELD);
- }
-
- public void setConf(Configuration conf) {
- this.conf = conf;
- setBoost(conf.getFloat("query.cc.boost", 0.0f));
- }
-
- public Configuration getConf() {
- return this.conf;
- }
-}
diff --git a/src/plugin/creativecommons/src/test/org/creativecommons/nutch/TestCCParseFilter.java b/src/plugin/creativecommons/src/test/org/creativecommons/nutch/TestCCParseFilter.java
index 9519b6421..d77c48cd2 100755
--- a/src/plugin/creativecommons/src/test/org/creativecommons/nutch/TestCCParseFilter.java
+++ b/src/plugin/creativecommons/src/test/org/creativecommons/nutch/TestCCParseFilter.java
@@ -38,10 +38,14 @@ public class TestCCParseFilter extends TestCase {
public void testPages() throws Exception {
pageTest(new File(testDir, "anchor.html"), "http://foo.com/",
"http://creativecommons.org/licenses/by-nc-sa/1.0", "a", null);
+ // Tika returns <a> whereas parse-html returns <rel>
+ // check later
pageTest(new File(testDir, "rel.html"), "http://foo.com/",
- "http://creativecommons.org/licenses/by-nc/2.0", "rel", null);
+ "http://creativecommons.org/licenses/by-nc/2.0", "a", null);
+ // Tika returns <a> whereas parse-html returns <rdf>
+ // check later
pageTest(new File(testDir, "rdf.html"), "http://foo.com/",
- "http://creativecommons.org/licenses/by-nc/1.0", "rdf", "text");
+ "http://creativecommons.org/licenses/by-nc/1.0", "a", null);
}
public void pageTest(File file, String url,
@@ -62,8 +66,8 @@ public class TestCCParseFilter extends TestCase {
Content content =
new Content(url, url, bytes, contentType, new Metadata(), conf);
- Parse parse = new ParseUtil(conf).parseByExtensionId("parse-html", content).get(content.getUrl());
-
+ Parse parse = new ParseUtil(conf).parse(content).get(content.getUrl());
+
Metadata metadata = parse.getData().getParseMeta();
assertEquals(license, metadata.get("License-Url"));
assertEquals(location, metadata.get("License-Location"));
diff --git a/src/plugin/feed/ivy.xml b/src/plugin/feed/ivy.xml
index 13be741c7..5fd14ac03 100644
--- a/src/plugin/feed/ivy.xml
+++ b/src/plugin/feed/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/feed/lib/rome-0.9.LICENSE.txt b/src/plugin/feed/lib/rome-0.9.LICENSE.txt
deleted file mode 100644
index f43cdb1cb..000000000
--- a/src/plugin/feed/lib/rome-0.9.LICENSE.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-Copyright 2004 Sun Microsystems, Inc.
-
-Licensed 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.
-
diff --git a/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java b/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java
index 33ff9d5f4..b098b3654 100644
--- a/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java
+++ b/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java
@@ -30,7 +30,6 @@ import org.apache.nutch.crawl.Inlinks;
import org.apache.nutch.indexer.IndexingException;
import org.apache.nutch.indexer.IndexingFilter;
import org.apache.nutch.indexer.NutchDocument;
-import org.apache.nutch.indexer.lucene.LuceneWriter;
import org.apache.nutch.metadata.Feed;
import org.apache.nutch.metadata.Metadata;
import org.apache.nutch.parse.Parse;
@@ -122,24 +121,6 @@ public class FeedIndexingFilter implements IndexingFilter {
return conf;
}
- public void addIndexBackendOptions(Configuration conf) {
- LuceneWriter.addFieldOptions(Feed.FEED_AUTHOR,
- LuceneWriter.STORE.YES, LuceneWriter.INDEX.TOKENIZED, conf);
-
- LuceneWriter.addFieldOptions(Feed.FEED_TAGS,
- LuceneWriter.STORE.YES, LuceneWriter.INDEX.TOKENIZED, conf);
-
- LuceneWriter.addFieldOptions(Feed.FEED,
- LuceneWriter.STORE.YES, LuceneWriter.INDEX.TOKENIZED, conf);
-
- LuceneWriter.addFieldOptions(PUBLISHED_DATE,
- LuceneWriter.STORE.YES, LuceneWriter.INDEX.NO_NORMS, conf);
-
- LuceneWriter.addFieldOptions(UPDATED_DATE,
- LuceneWriter.STORE.YES, LuceneWriter.INDEX.NO_NORMS, conf);
-
- }
-
/**
* Sets the {@link Configuration} object used to configure this
* {@link IndexingFilter}.
diff --git a/src/plugin/field-basic/build.xml b/src/plugin/field-basic/build.xml
deleted file mode 100644
index 1b8ea02b7..000000000
--- a/src/plugin/field-basic/build.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<project name="field-basic" default="jar-core">
-
- <import file="../build-plugin.xml"/>
-
-</project>
diff --git a/src/plugin/field-basic/ivy.xml b/src/plugin/field-basic/ivy.xml
deleted file mode 100644
index 24d76063d..000000000
--- a/src/plugin/field-basic/ivy.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?>
-
-<!--
- 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.
--->
-
-<ivy-module version="1.0">
- <info organisation="org.apache.nutch" module="${ant.project.name}">
- <license name="Apache 2.0"/>
- <ivyauthor name="Apache Nutch Team" url="http://nutch.apache.org"/>
- <description>
- Apache Nutch
- </description>
- </info>
-
- <configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
- </configurations>
-
- <publications>
- <!--get the artifact from our module name-->
- <artifact conf="master"/>
- </publications>
-
- <dependencies>
- </dependencies>
-
-</ivy-module>
diff --git a/src/plugin/field-basic/plugin.xml b/src/plugin/field-basic/plugin.xml
deleted file mode 100644
index 3738178d8..000000000
--- a/src/plugin/field-basic/plugin.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-<plugin
- id="field-basic"
- name="Basic Field Filter"
- version="1.0.0"
- provider-name="nutch.org">
-
- <runtime>
- <library name="field-basic.jar">
- <export name="*"/>
- </library>
- </runtime>
-
- <requires>
- <import plugin="nutch-extensionpoints"/>
- </requires>
-
- <extension id="org.apache.nutch.indexer.field.basic"
- name="Nutch Basic Field Filter"
- point="org.apache.nutch.indexer.field.FieldFilter">
- <implementation id="BasicFieldFilter"
- class="org.apache.nutch.indexer.field.basic.BasicFieldFilter"/>
- </extension>
-
-</plugin>
diff --git a/src/plugin/field-basic/src/java/org/apache/nutch/indexer/field/basic/BasicFieldFilter.java b/src/plugin/field-basic/src/java/org/apache/nutch/indexer/field/basic/BasicFieldFilter.java
deleted file mode 100644
index 195066333..000000000
--- a/src/plugin/field-basic/src/java/org/apache/nutch/indexer/field/basic/BasicFieldFilter.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * 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.
- */
-package org.apache.nutch.indexer.field.basic;
-
-import java.util.List;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.lucene.document.Document;
-import org.apache.lucene.document.Field;
-import org.apache.nutch.indexer.IndexingException;
-import org.apache.nutch.indexer.field.FieldFilter;
-import org.apache.nutch.indexer.field.FieldType;
-import org.apache.nutch.indexer.field.FieldWritable;
-
-/**
- * Adds any field of type content to the index.
- */
-public class BasicFieldFilter
- implements FieldFilter {
-
- public static final Log LOG = LogFactory.getLog(BasicFieldFilter.class);
- private Configuration conf;
- private boolean supplemental = false;
- private String[] suppFields = null;
-
- private boolean isSupplementalField(String name) {
- for (int i = 0; i < suppFields.length; i++) {
- if (name != null && name.equals(suppFields[i])) {
- return true;
- }
- }
- return false;
- }
-
- public void setConf(Configuration conf) {
- this.conf = conf;
- this.supplemental = conf.getBoolean("index.supplemental", false);
- String suppStr = conf.get("index.supplemental.fields", null);
- if (suppStr != null) {
- suppFields = suppStr.split(",");
- }
- }
-
- public Configuration getConf() {
- return this.conf;
- }
-
- public Document filter(String url, Document doc, List<FieldWritable> fields)
- throws IndexingException {
-
- // loop through all of the fields
- for (FieldWritable field : fields) {
-
- // only grab content fields
- FieldType type = field.getType();
- if (type == FieldType.CONTENT) {
-
- String fieldName = field.getName();
-
- // supplemental index will only index certain key fields, allow creating
- // both a regular and a supplemental index
- if (!supplemental || (supplemental && isSupplementalField(fieldName))) {
-
- // create lucene fields from the FieldWritable objects
- Field.Store store = field.isStored() ? Field.Store.YES
- : Field.Store.NO;
- Field.Index indexed = field.isIndexed() ? field.isTokenized()
- ? Field.Index.TOKENIZED : Field.Index.UN_TOKENIZED : Field.Index.NO;
- Field docField = new Field(fieldName, field.getValue(), store,
- indexed);
-
- // if any field boost then set it
- float fieldBoost = field.getBoost();
- if (fieldBoost > 0) {
- docField.setBoost(fieldBoost);
- }
-
- // add the field to the lucene document
- doc.add(docField);
- }
- else {
- LOG.info("Ignoring " + fieldName + " field for " + url + " supplemental index");
- }
- }
- }
-
- return doc;
- }
-}
diff --git a/src/plugin/field-boost/build.xml b/src/plugin/field-boost/build.xml
deleted file mode 100644
index 28a460835..000000000
--- a/src/plugin/field-boost/build.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<project name="field-boost" default="jar-core">
-
- <import file="../build-plugin.xml"/>
-
-</project>
diff --git a/src/plugin/field-boost/ivy.xml b/src/plugin/field-boost/ivy.xml
deleted file mode 100644
index 24d76063d..000000000
--- a/src/plugin/field-boost/ivy.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?>
-
-<!--
- 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.
--->
-
-<ivy-module version="1.0">
- <info organisation="org.apache.nutch" module="${ant.project.name}">
- <license name="Apache 2.0"/>
- <ivyauthor name="Apache Nutch Team" url="http://nutch.apache.org"/>
- <description>
- Apache Nutch
- </description>
- </info>
-
- <configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
- </configurations>
-
- <publications>
- <!--get the artifact from our module name-->
- <artifact conf="master"/>
- </publications>
-
- <dependencies>
- </dependencies>
-
-</ivy-module>
diff --git a/src/plugin/field-boost/plugin.xml b/src/plugin/field-boost/plugin.xml
deleted file mode 100644
index f7bc4398f..000000000
--- a/src/plugin/field-boost/plugin.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-<plugin
- id="field-boost"
- name="Boost Field Filter"
- version="1.0.0"
- provider-name="nutch.org">
-
- <runtime>
- <library name="field-boost.jar">
- <export name="*"/>
- </library>
- </runtime>
-
- <requires>
- <import plugin="nutch-extensionpoints"/>
- </requires>
-
- <extension id="org.apache.nutch.indexer.field.boost"
- name="Nutch Boost Field Filter"
- point="org.apache.nutch.indexer.field.FieldFilter">
- <implementation id="BoostFieldFilter"
- class="org.apache.nutch.indexer.field.boost.BoostFieldFilter"/>
- </extension>
-
-</plugin>
diff --git a/src/plugin/field-boost/src/java/org/apache/nutch/indexer/field/boost/BoostFieldFilter.java b/src/plugin/field-boost/src/java/org/apache/nutch/indexer/field/boost/BoostFieldFilter.java
deleted file mode 100644
index 729124b6d..000000000
--- a/src/plugin/field-boost/src/java/org/apache/nutch/indexer/field/boost/BoostFieldFilter.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * 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.
- */
-package org.apache.nutch.indexer.field.boost;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.lucene.document.Document;
-import org.apache.lucene.document.Field;
-import org.apache.nutch.indexer.IndexingException;
-import org.apache.nutch.indexer.field.FieldFilter;
-import org.apache.nutch.indexer.field.FieldType;
-import org.apache.nutch.indexer.field.FieldWritable;
-import org.apache.nutch.indexer.field.Fields;
-
-/**
- * A field filter that indexes fields of content type Boost or type Computation.
- *
- * Boost fields are aggregated together to create a global score for a single
- * Lucene document in the index. An example of a Boost fields would be the
- * LinkRank score.
- */
-public class BoostFieldFilter
- implements FieldFilter {
-
- public static final Log LOG = LogFactory.getLog(BoostFieldFilter.class);
- private Configuration conf;
-
- public void setConf(Configuration conf) {
- this.conf = conf;
- }
-
- public Configuration getConf() {
- return this.conf;
- }
-
- public Document filter(String url, Document doc, List<FieldWritable> fields)
- throws IndexingException {
-
- List<String> comps = new ArrayList<String>();
- float boost = 0.0f;
-
- for (FieldWritable field : fields) {
-
- // save the boost factor as unindexed fields, to show different scoring
- FieldType type = field.getType();
- if (type == FieldType.BOOST) {
- float fieldBoost = field.getBoost();
- boost += fieldBoost;
- doc.add(new Field(Fields.BOOSTFACTOR, field.getValue() + ": "
- + fieldBoost, Field.Store.YES, Field.Index.NO));
- }
- else if (type == FieldType.COMPUTATION) {
- comps.add(field.getValue());
- }
- }
-
- // set the boost for the document and save it in the index
- doc.setBoost(boost);
- doc.add(new Field(Fields.BOOST, Float.toString(boost), Field.Store.YES,
- Field.Index.NO));
-
-
- return doc;
- }
-
-}
diff --git a/src/plugin/index-anchor/ivy.xml b/src/plugin/index-anchor/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/index-anchor/ivy.xml
+++ b/src/plugin/index-anchor/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/index-basic/ivy.xml b/src/plugin/index-basic/ivy.xml
index 24d76063d..5b8393b6b 100644
--- a/src/plugin/index-basic/ivy.xml
+++ b/src/plugin/index-basic/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/index-more/ivy.xml b/src/plugin/index-more/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/index-more/ivy.xml
+++ b/src/plugin/index-more/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/ivy/ivy.xml b/src/plugin/ivy/ivy.xml
deleted file mode 100644
index 24d76063d..000000000
--- a/src/plugin/ivy/ivy.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?>
-
-<!--
- 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.
--->
-
-<ivy-module version="1.0">
- <info organisation="org.apache.nutch" module="${ant.project.name}">
- <license name="Apache 2.0"/>
- <ivyauthor name="Apache Nutch Team" url="http://nutch.apache.org"/>
- <description>
- Apache Nutch
- </description>
- </info>
-
- <configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
- </configurations>
-
- <publications>
- <!--get the artifact from our module name-->
- <artifact conf="master"/>
- </publications>
-
- <dependencies>
- </dependencies>
-
-</ivy-module>
diff --git a/src/plugin/languageidentifier/build.xml b/src/plugin/languageidentifier/build.xml
index f8dac538a..668075e9a 100644
--- a/src/plugin/languageidentifier/build.xml
+++ b/src/plugin/languageidentifier/build.xml
@@ -33,7 +33,6 @@
<!-- Deploy Unit test dependencies -->
<target name="deps-test">
<ant target="deploy" inheritall="false" dir="../nutch-extensionpoints"/>
- <ant target="deploy" inheritall="false" dir="../parse-html"/>
</target>
</project>
diff --git a/src/plugin/languageidentifier/ivy.xml b/src/plugin/languageidentifier/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/languageidentifier/ivy.xml
+++ b/src/plugin/languageidentifier/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/lib-http/ivy.xml b/src/plugin/lib-http/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/lib-http/ivy.xml
+++ b/src/plugin/lib-http/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/lib-nekohtml/build.xml b/src/plugin/lib-nekohtml/build.xml
index 8c7c5e9db..4bca1af7e 100644
--- a/src/plugin/lib-nekohtml/build.xml
+++ b/src/plugin/lib-nekohtml/build.xml
@@ -25,10 +25,6 @@
! -->
<target name="compile" depends="init, resolve-default"/>
- <target name="jar" depends="compile">
- <copy todir="${build.dir}" verbose="true">
- <fileset dir="./lib" includes="**/*.jar"/>
- </copy>
- </target>
+ <target name="jar" depends="compile"/>
</project>
diff --git a/src/plugin/lib-nekohtml/ivy.xml b/src/plugin/lib-nekohtml/ivy.xml
index 17e6fa0b0..a336e32ba 100644
--- a/src/plugin/lib-nekohtml/ivy.xml
+++ b/src/plugin/lib-nekohtml/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/lib-regex-filter/ivy.xml b/src/plugin/lib-regex-filter/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/lib-regex-filter/ivy.xml
+++ b/src/plugin/lib-regex-filter/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/lib-xml/build.xml b/src/plugin/lib-xml/build.xml
index 55c70908e..0f87c073e 100644
--- a/src/plugin/lib-xml/build.xml
+++ b/src/plugin/lib-xml/build.xml
@@ -17,18 +17,20 @@
-->
<project name="lib-xml" default="jar">
- <import file="../build-plugin.xml"/>
+ <import file="../build-plugin.xml" />
- <!--
+ <!--
! Override the compile and jar targets,
! since there is nothing to compile here.
! -->
- <target name="compile" depends="init, resolve-default"/>
+ <target name="compile" depends="init, resolve-default" />
- <target name="jar" depends="compile">
- <copy todir="${build.dir}" verbose="true">
- <fileset dir="./lib" includes="**/*.jar"/>
- </copy>
- </target>
+ <!--
+ <target name="jar" depends="compile">
+ <copy todir="${build.dir}" verbose="true">
+ <fileset dir="./lib" includes="**/*.jar" />
+ </copy>
+ </target>
+ -->
</project>
diff --git a/src/plugin/lib-xml/ivy.xml b/src/plugin/lib-xml/ivy.xml
index ec85fdd93..6115bf7b5 100644
--- a/src/plugin/lib-xml/ivy.xml
+++ b/src/plugin/lib-xml/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
@@ -37,6 +37,7 @@
<dependencies>
<dependency org="org.jdom" name="jdom" rev="1.1" conf="*->default"/>
+ <dependency org="jaxen" name="jaxen" rev="1.1.1" conf="*->master"/>
<dependency org="xerces" name="xercesImpl" rev="2.6.2" conf="*->master"/>
</dependencies>
diff --git a/src/plugin/lib-xml/lib/jaxen-core.jar b/src/plugin/lib-xml/lib/jaxen-core.jar
deleted file mode 100644
index e52bf679c..000000000
Binary files a/src/plugin/lib-xml/lib/jaxen-core.jar and /dev/null differ
diff --git a/src/plugin/lib-xml/lib/jaxen-jdom.jar b/src/plugin/lib-xml/lib/jaxen-jdom.jar
deleted file mode 100644
index 9f0bff2ee..000000000
Binary files a/src/plugin/lib-xml/lib/jaxen-jdom.jar and /dev/null differ
diff --git a/src/plugin/lib-xml/lib/jaxen.LICENSE b/src/plugin/lib-xml/lib/jaxen.LICENSE
deleted file mode 100644
index 815a72b20..000000000
--- a/src/plugin/lib-xml/lib/jaxen.LICENSE
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- $Id: LICENSE.txt 1128 2006-02-05 21:49:04Z elharo $
-
- Copyright 2003-2006 The Werken Company. All Rights Reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- * Neither the name of the Jaxen Project nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
-IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
-OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
- */
diff --git a/src/plugin/lib-xml/lib/jdom.LICENSE b/src/plugin/lib-xml/lib/jdom.LICENSE
deleted file mode 100644
index 663923eea..000000000
--- a/src/plugin/lib-xml/lib/jdom.LICENSE
+++ /dev/null
@@ -1,55 +0,0 @@
-/*--
-
- $Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $
-
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions, and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions, and the disclaimer that follows
- these conditions in the documentation and/or other materials
- provided with the distribution.
-
- 3. The name "JDOM" must not be used to endorse or promote products
- derived from this software without prior written permission. For
- written permission, please contact <request_AT_jdom_DOT_org>.
-
- 4. Products derived from this software may not be called "JDOM", nor
- may "JDOM" appear in their name, without prior written permission
- from the JDOM Project Management <request_AT_jdom_DOT_org>.
-
- In addition, we request (but do not require) that you include in the
- end-user documentation provided with the redistribution and/or in the
- software itself an acknowledgement equivalent to the following:
- "This product includes software developed by the
- JDOM Project (http://www.jdom.org/)."
- Alternatively, the acknowledgment may be graphical using the logos
- available at http://www.jdom.org/images/logos.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- SUCH DAMAGE.
-
- This software consists of voluntary contributions made by many
- individuals on behalf of the JDOM Project and was originally
- created by Jason Hunter <jhunter_AT_jdom_DOT_org> and
- Brett McLaughlin <brett_AT_jdom_DOT_org>. For more information
- on the JDOM Project, please see <http://www.jdom.org/>.
-
- */
diff --git a/src/plugin/lib-xml/lib/saxpath.LICENSE b/src/plugin/lib-xml/lib/saxpath.LICENSE
deleted file mode 100644
index 331da6f52..000000000
--- a/src/plugin/lib-xml/lib/saxpath.LICENSE
+++ /dev/null
@@ -1,55 +0,0 @@
-/*--
-
- $Id: LICENSE,v 1.1 2002/04/26 17:43:56 jstrachan Exp $
-
- Copyright (C) 2000-2002 werken digital.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions, and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions, and the disclaimer that follows
- these conditions in the documentation and/or other materials
- provided with the distribution.
-
- 3. The name "SAXPath" must not be used to endorse or promote products
- derived from this software without prior written permission. For
- written permission, please contact [email protected].
-
- 4. Products derived from this software may not be called "SAXPath", nor
- may "SAXPath" appear in their name, without prior written permission
- from the SAXPath Project Management ([email protected]).
-
- In addition, we request (but do not require) that you include in the
- end-user documentation provided with the redistribution and/or in the
- software itself an acknowledgement equivalent to the following:
- "This product includes software developed by the
- SAXPath Project (http://www.saxpath.org/)."
- Alternatively, the acknowledgment may be graphical using the logos
- available at http://www.saxpath.org/
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE SAXPath AUTHORS OR THE PROJECT
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- SUCH DAMAGE.
-
- This software consists of voluntary contributions made by many
- individuals on behalf of the SAXPath Project and was originally
- created by bob mcwhirter <[email protected]> and
- James Strachan <[email protected]>. For more information on the
- SAXPath Project, please see <http://www.saxpath.org/>.
-
- */
\ No newline at end of file
diff --git a/src/plugin/lib-xml/lib/saxpath.jar b/src/plugin/lib-xml/lib/saxpath.jar
deleted file mode 100644
index 2b43955ba..000000000
Binary files a/src/plugin/lib-xml/lib/saxpath.jar and /dev/null differ
diff --git a/src/plugin/microformats-reltag/ivy.xml b/src/plugin/microformats-reltag/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/microformats-reltag/ivy.xml
+++ b/src/plugin/microformats-reltag/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/microformats-reltag/plugin.xml b/src/plugin/microformats-reltag/plugin.xml
index 4d9cea60b..b35e1f47b 100644
--- a/src/plugin/microformats-reltag/plugin.xml
+++ b/src/plugin/microformats-reltag/plugin.xml
@@ -45,17 +45,5 @@
class="org.apache.nutch.microformats.reltag.RelTagIndexingFilter"/>
</extension>
-
- <extension id="org.apache.nutch.microformats.reltag.RelTagQueryFilter"
- name="Rel-Tag query filter"
- point="org.apache.nutch.searcher.QueryFilter">
- <implementation id="RelTagQueryFilter"
- class="org.apache.nutch.microformats.reltag.RelTagQueryFilter">
- <parameter name="raw-fields" value="tag"/>
- </implementation>
-
- </extension>
-
-
</plugin>
diff --git a/src/plugin/microformats-reltag/src/java/org/apache/nutch/microformats/reltag/RelTagIndexingFilter.java b/src/plugin/microformats-reltag/src/java/org/apache/nutch/microformats/reltag/RelTagIndexingFilter.java
index 8e1aeebe2..3279860e8 100644
--- a/src/plugin/microformats-reltag/src/java/org/apache/nutch/microformats/reltag/RelTagIndexingFilter.java
+++ b/src/plugin/microformats-reltag/src/java/org/apache/nutch/microformats/reltag/RelTagIndexingFilter.java
@@ -23,7 +23,6 @@ import org.apache.nutch.crawl.Inlinks;
import org.apache.nutch.indexer.IndexingFilter;
import org.apache.nutch.indexer.IndexingException;
import org.apache.nutch.indexer.NutchDocument;
-import org.apache.nutch.indexer.lucene.LuceneWriter;
import org.apache.hadoop.io.Text;
import org.apache.nutch.parse.Parse;
@@ -60,11 +59,6 @@ public class RelTagIndexingFilter implements IndexingFilter {
return doc;
}
- public void addIndexBackendOptions(Configuration conf) {
- LuceneWriter.addFieldOptions("tag", LuceneWriter.STORE.YES,
- LuceneWriter.INDEX.UNTOKENIZED, conf);
- }
-
/* ----------------------------- *
* <implementation:Configurable> *
* ----------------------------- */
diff --git a/src/plugin/microformats-reltag/src/java/org/apache/nutch/microformats/reltag/RelTagQueryFilter.java b/src/plugin/microformats-reltag/src/java/org/apache/nutch/microformats/reltag/RelTagQueryFilter.java
deleted file mode 100644
index dda458b80..000000000
--- a/src/plugin/microformats-reltag/src/java/org/apache/nutch/microformats/reltag/RelTagQueryFilter.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * 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.
- */
-package org.apache.nutch.microformats.reltag;
-
-// Hadoop imports
-import org.apache.hadoop.conf.Configuration;
-
-// Nutch imports
-import org.apache.nutch.searcher.RawFieldQueryFilter;
-
-
-/**
- * Handles <code>"tag:"<code> query clauses.
- *
- * @see <a href="http://www.microformats.org/wiki/rel-tag">
- * http://www.microformats.org/wiki/rel-tag</a>
- * @author J&eacute;r&ocirc;me Charron
- */
-public class RelTagQueryFilter extends RawFieldQueryFilter {
-
- private Configuration conf;
-
- public RelTagQueryFilter() {
- super("tag", true, 1.0f);
- }
-
-
- /* ----------------------------- *
- * <implementation:Configurable> *
- * ----------------------------- */
-
- public void setConf(Configuration conf) {
- this.conf = conf;
- setBoost(conf.getFloat("query.tag.boost", 1.0f));
- }
-
- public Configuration getConf() {
- return this.conf;
- }
-
- /* ------------------------------ *
- * </implementation:Configurable> *
- * ------------------------------ */
-
-}
diff --git a/src/plugin/nutch-extensionpoints/ivy.xml b/src/plugin/nutch-extensionpoints/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/nutch-extensionpoints/ivy.xml
+++ b/src/plugin/nutch-extensionpoints/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/parse-ext/ivy.xml b/src/plugin/parse-ext/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/parse-ext/ivy.xml
+++ b/src/plugin/parse-ext/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/parse-html/build.xml b/src/plugin/parse-html/build.xml
deleted file mode 100755
index a5b99b566..000000000
--- a/src/plugin/parse-html/build.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<project name="parse-html" default="jar-core">
-
- <import file="../build-plugin.xml"/>
-
- <!-- Build compilation dependencies -->
- <target name="deps-jar">
- <ant target="jar" inheritall="false" dir="../lib-nekohtml"/>
- </target>
-
- <!-- Add compilation dependencies to classpath -->
- <path id="plugin.deps">
- <fileset dir="${nutch.root}/build">
- <include name="**/lib-nekohtml/*.jar" />
- </fileset>
- </path>
-
- <!-- Deploy Unit test dependencies -->
- <target name="deps-test">
- <ant target="deploy" inheritall="false" dir="../lib-nekohtml"/>
- <ant target="deploy" inheritall="false" dir="../nutch-extensionpoints"/>
- </target>
-
-</project>
diff --git a/src/plugin/parse-html/ivy.xml b/src/plugin/parse-html/ivy.xml
deleted file mode 100644
index 9443fdb4d..000000000
--- a/src/plugin/parse-html/ivy.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" ?>
-
-<!--
- 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.
--->
-
-<ivy-module version="1.0">
- <info organisation="org.apache.nutch" module="${ant.project.name}">
- <license name="Apache 2.0"/>
- <ivyauthor name="Apache Nutch Team" url="http://nutch.apache.org"/>
- <description>
- Apache Nutch
- </description>
- </info>
-
- <configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
- </configurations>
-
- <publications>
- <!--get the artifact from our module name-->
- <artifact conf="master"/>
- </publications>
-
- <dependencies>
- <dependency org="org.ccil.cowan.tagsoup" name="tagsoup" rev="1.2" conf="*->master"/>
- </dependencies>
-
-</ivy-module>
diff --git a/src/plugin/parse-html/lib/tagsoup.LICENSE.txt b/src/plugin/parse-html/lib/tagsoup.LICENSE.txt
deleted file mode 100644
index 261eeb9e9..000000000
--- a/src/plugin/parse-html/lib/tagsoup.LICENSE.txt
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/src/plugin/parse-html/plugin.xml b/src/plugin/parse-html/plugin.xml
deleted file mode 100755
index d38377436..000000000
--- a/src/plugin/parse-html/plugin.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-<plugin
- id="parse-html"
- name="Html Parse Plug-in"
- version="1.0.0"
- provider-name="nutch.org">
-
- <runtime>
- <library name="parse-html.jar">
- <export name="*"/>
- </library>
- <library name="tagsoup-1.2.jar"/>
- </runtime>
-
- <requires>
- <import plugin="nutch-extensionpoints"/>
- <import plugin="lib-nekohtml"/>
- </requires>
-
- <extension id="org.apache.nutch.parse.html"
- name="HtmlParse"
- point="org.apache.nutch.parse.Parser">
-
- <implementation id="org.apache.nutch.parse.html.HtmlParser"
- class="org.apache.nutch.parse.html.HtmlParser">
- <parameter name="contentType" value="text/html"/>
- <parameter name="pathSuffix" value=""/>
- </implementation>
-
- </extension>
-
-</plugin>
diff --git a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/DOMBuilder.java b/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/DOMBuilder.java
deleted file mode 100644
index e5b652759..000000000
--- a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/DOMBuilder.java
+++ /dev/null
@@ -1,740 +0,0 @@
-/*
- * XXX [email protected]: This class is copied verbatim from Xalan-J 2.6.0
- * XXX distribution, org.apache.xml.utils.DOMBuilder, in order to
- * avoid dependency on Xalan.
- */
-
-/*
- * 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.
- */
-/*
- * $Id: DOMBuilder.java,v 1.19 2004/02/25 13:07:51 aruny Exp $
- */
-package org.apache.nutch.parse.html;
-
-import java.util.Stack;
-
-import org.w3c.dom.Comment;
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentFragment;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.Text;
-import org.w3c.dom.CDATASection;
-
-import org.xml.sax.Attributes;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.Locator;
-import org.xml.sax.ext.LexicalHandler;
-/**
- * This class takes SAX events (in addition to some extra events
- * that SAX doesn't handle yet) and adds the result to a document
- * or document fragment.
- */
-public class DOMBuilder
- implements ContentHandler, LexicalHandler
-{
-
- /** Root document */
- public Document m_doc;
-
- /** Current node */
- protected Node m_currentNode = null;
-
- /** First node of document fragment or null if not a DocumentFragment */
- public DocumentFragment m_docFrag = null;
-
- /** Vector of element nodes */
- protected Stack<Element> m_elemStack = new Stack<Element>();
-
- /**
- * DOMBuilder instance constructor... it will add the DOM nodes
- * to the document fragment.
- *
- * @param doc Root document
- * @param node Current node
- */
- public DOMBuilder(Document doc, Node node)
- {
- m_doc = doc;
- m_currentNode = node;
- }
-
- /**
- * DOMBuilder instance constructor... it will add the DOM nodes
- * to the document fragment.
- *
- * @param doc Root document
- * @param docFrag Document fragment
- */
- public DOMBuilder(Document doc, DocumentFragment docFrag)
- {
- m_doc = doc;
- m_docFrag = docFrag;
- }
-
- /**
- * DOMBuilder instance constructor... it will add the DOM nodes
- * to the document.
- *
- * @param doc Root document
- */
- public DOMBuilder(Document doc)
- {
- m_doc = doc;
- }
-
- /**
- * Get the root node of the DOM being created. This
- * is either a Document or a DocumentFragment.
- *
- * @return The root document or document fragment if not null
- */
- public Node getRootNode()
- {
- return (null != m_docFrag) ? (Node) m_docFrag : (Node) m_doc;
- }
-
- /**
- * Get the node currently being processed.
- *
- * @return the current node being processed
- */
- public Node getCurrentNode()
- {
- return m_currentNode;
- }
-
- /**
- * Return null since there is no Writer for this class.
- *
- * @return null
- */
- public java.io.Writer getWriter()
- {
- return null;
- }
-
- /**
- * Append a node to the current container.
- *
- * @param newNode New node to append
- */
- protected void append(Node newNode) throws org.xml.sax.SAXException
- {
-
- Node currentNode = m_currentNode;
-
- if (null != currentNode)
- {
- currentNode.appendChild(newNode);
-
- // System.out.println(newNode.getNodeName());
- }
- else if (null != m_docFrag)
- {
- m_docFrag.appendChild(newNode);
- }
- else
- {
- boolean ok = true;
- short type = newNode.getNodeType();
-
- if (type == Node.TEXT_NODE)
- {
- String data = newNode.getNodeValue();
-
- if ((null != data) && (data.trim().length() > 0))
- {
- throw new org.xml.sax.SAXException("Warning: can't output text before document element! Ignoring...");
- }
-
- ok = false;
- }
- else if (type == Node.ELEMENT_NODE)
- {
- if (m_doc.getDocumentElement() != null)
- {
- throw new org.xml.sax.SAXException("Can't have more than one root on a DOM!");
- }
- }
-
- if (ok)
- m_doc.appendChild(newNode);
- }
- }
-
- /**
- * Receive an object for locating the origin of SAX document events.
- *
- * <p>SAX parsers are strongly encouraged (though not absolutely
- * required) to supply a locator: if it does so, it must supply
- * the locator to the application by invoking this method before
- * invoking any of the other methods in the ContentHandler
- * interface.</p>
- *
- * <p>The locator allows the application to determine the end
- * position of any document-related event, even if the parser is
- * not reporting an error. Typically, the application will
- * use this information for reporting its own errors (such as
- * character content that does not match an application's
- * business rules). The information returned by the locator
- * is probably not sufficient for use with a search engine.</p>
- *
- * <p>Note that the locator will return correct information only
- * during the invocation of the events in this interface. The
- * application should not attempt to use it at any other time.</p>
- *
- * @param locator An object that can return the location of
- * any SAX document event.
- * @see org.xml.sax.Locator
- */
- public void setDocumentLocator(Locator locator)
- {
-
- // No action for the moment.
- }
-
- /**
- * Receive notification of the beginning of a document.
- *
- * <p>The SAX parser will invoke this method only once, before any
- * other methods in this interface or in DTDHandler (except for
- * setDocumentLocator).</p>
- */
- public void startDocument() throws org.xml.sax.SAXException
- {
-
- // No action for the moment.
- }
-
- /**
- * Receive notification of the end of a document.
- *
- * <p>The SAX parser will invoke this method only once, and it will
- * be the last method invoked during the parse. The parser shall
- * not invoke this method until it has either abandoned parsing
- * (because of an unrecoverable error) or reached the end of
- * input.</p>
- */
- public void endDocument() throws org.xml.sax.SAXException
- {
-
- // No action for the moment.
- }
-
- /**
- * Receive notification of the beginning of an element.
- *
- * <p>The Parser will invoke this method at the beginning of every
- * element in the XML document; there will be a corresponding
- * endElement() event for every startElement() event (even when the
- * element is empty). All of the element's content will be
- * reported, in order, before the corresponding endElement()
- * event.</p>
- *
- * <p>If the element name has a namespace prefix, the prefix will
- * still be attached. Note that the attribute list provided will
- * contain only attributes with explicit values (specified or
- * defaulted): #IMPLIED attributes will be omitted.</p>
- *
- *
- * @param ns The namespace of the node
- * @param localName The local part of the qualified name
- * @param name The element name.
- * @param atts The attributes attached to the element, if any.
- * @see #endElement
- * @see org.xml.sax.Attributes
- */
- public void startElement(
- String ns, String localName, String name, Attributes atts)
- throws org.xml.sax.SAXException
- {
-
- Element elem;
-
- // Note that the namespace-aware call must be used to correctly
- // construct a Level 2 DOM, even for non-namespaced nodes.
- if ((null == ns) || (ns.length() == 0))
- elem = m_doc.createElementNS(null,name);
- else
- elem = m_doc.createElementNS(ns, name);
-
- append(elem);
-
- try
- {
- int nAtts = atts.getLength();
-
- if (0 != nAtts)
- {
- for (int i = 0; i < nAtts; i++)
- {
-
- //System.out.println("type " + atts.getType(i) + " name " + atts.getLocalName(i) );
- // First handle a possible ID attribute
- if (atts.getType(i).equalsIgnoreCase("ID"))
- setIDAttribute(atts.getValue(i), elem);
-
- String attrNS = atts.getURI(i);
-
- if("".equals(attrNS))
- attrNS = null; // DOM represents no-namespace as null
-
- // System.out.println("attrNS: "+attrNS+", localName: "+atts.getQName(i)
- // +", qname: "+atts.getQName(i)+", value: "+atts.getValue(i));
- // Crimson won't let us set an xmlns: attribute on the DOM.
- String attrQName = atts.getQName(i);
-
- // In SAX, xmlns: attributes have an empty namespace, while in DOM they should have the xmlns namespace
- if (attrQName.startsWith("xmlns:"))
- attrNS = "http://www.w3.org/2000/xmlns/";
-
- // ALWAYS use the DOM Level 2 call!
- elem.setAttributeNS(attrNS,attrQName, atts.getValue(i));
- }
- }
-
- // append(elem);
-
- m_elemStack.push(elem);
-
- m_currentNode = elem;
-
- // append(elem);
- }
- catch(java.lang.Exception de)
- {
- // de.printStackTrace();
- throw new org.xml.sax.SAXException(de);
- }
-
- }
-
- /**
-
-
-
- * Receive notification of the end of an element.
- *
- * <p>The SAX parser will invoke this method at the end of every
- * element in the XML document; there will be a corresponding
- * startElement() event for every endElement() event (even when the
- * element is empty).</p>
- *
- * <p>If the element name has a namespace prefix, the prefix will
- * still be attached to the name.</p>
- *
- *
- * @param ns the namespace of the element
- * @param localName The local part of the qualified name of the element
- * @param name The element name
- */
- public void endElement(String ns, String localName, String name)
- throws org.xml.sax.SAXException
- {
- m_elemStack.pop();
- m_currentNode = m_elemStack.isEmpty() ? null : m_elemStack.peek();
- }
-
- /**
- * Set an ID string to node association in the ID table.
- *
- * @param id The ID string.
- * @param elem The associated ID.
- */
- public void setIDAttribute(String id, Element elem)
- {
-
- // Do nothing. This method is meant to be overiden.
- }
-
- /**
- * Receive notification of character data.
- *
- * <p>The Parser will call this method to report each chunk of
- * character data. SAX parsers may return all contiguous character
- * data in a single chunk, or they may split it into several
- * chunks; however, all of the characters in any single event
- * must come from the same external entity, so that the Locator
- * provides useful information.</p>
- *
- * <p>The application must not attempt to read from the array
- * outside of the specified range.</p>
- *
- * <p>Note that some parsers will report whitespace using the
- * ignorableWhitespace() method rather than this one (validating
- * parsers must do so).</p>
- *
- * @param ch The characters from the XML document.
- * @param start The start position in the array.
- * @param length The number of characters to read from the array.
- * @see #ignorableWhitespace
- * @see org.xml.sax.Locator
- */
- public void characters(char ch[], int start, int length) throws org.xml.sax.SAXException
- {
- if(isOutsideDocElem()
- && XMLCharacterRecognizer.isWhiteSpace(ch, start, length))
- return; // avoid DOM006 Hierarchy request error
-
- if (m_inCData)
- {
- cdata(ch, start, length);
-
- return;
- }
-
- String s = new String(ch, start, length);
- Node childNode;
- childNode = m_currentNode != null ? m_currentNode.getLastChild(): null;
- if( childNode != null && childNode.getNodeType() == Node.TEXT_NODE ){
- ((Text)childNode).appendData(s);
- }
- else{
- Text text = m_doc.createTextNode(s);
- append(text);
- }
- }
-
- /**
- * If available, when the disable-output-escaping attribute is used,
- * output raw text without escaping. A PI will be inserted in front
- * of the node with the name "lotusxsl-next-is-raw" and a value of
- * "formatter-to-dom".
- *
- * @param ch Array containing the characters
- * @param start Index to start of characters in the array
- * @param length Number of characters in the array
- */
- public void charactersRaw(char ch[], int start, int length)
- throws org.xml.sax.SAXException
- {
- if(isOutsideDocElem()
- && XMLCharacterRecognizer.isWhiteSpace(ch, start, length))
- return; // avoid DOM006 Hierarchy request error
-
-
- String s = new String(ch, start, length);
-
- append(m_doc.createProcessingInstruction("xslt-next-is-raw",
- "formatter-to-dom"));
- append(m_doc.createTextNode(s));
- }
-
- /**
- * Report the beginning of an entity.
- *
- * The start and end of the document entity are not reported.
- * The start and end of the external DTD subset are reported
- * using the pseudo-name "[dtd]". All other events must be
- * properly nested within start/end entity events.
- *
- * @param name The name of the entity. If it is a parameter
- * entity, the name will begin with '%'.
- * @see #endEntity
- * @see org.xml.sax.ext.DeclHandler#internalEntityDecl
- * @see org.xml.sax.ext.DeclHandler#externalEntityDecl
- */
- public void startEntity(String name) throws org.xml.sax.SAXException
- {
-
- // Almost certainly the wrong behavior...
- // entityReference(name);
- }
-
- /**
- * Report the end of an entity.
- *
- * @param name The name of the entity that is ending.
- * @see #startEntity
- */
- public void endEntity(String name) throws org.xml.sax.SAXException{}
-
- /**
- * Receive notivication of a entityReference.
- *
- * @param name name of the entity reference
- */
- public void entityReference(String name) throws org.xml.sax.SAXException
- {
- append(m_doc.createEntityReference(name));
- }
-
- /**
- * Receive notification of ignorable whitespace in element content.
- *
- * <p>Validating Parsers must use this method to report each chunk
- * of ignorable whitespace (see the W3C XML 1.0 recommendation,
- * section 2.10): non-validating parsers may also use this method
- * if they are capable of parsing and using content models.</p>
- *
- * <p>SAX parsers may return all contiguous whitespace in a single
- * chunk, or they may split it into several chunks; however, all of
- * the characters in any single event must come from the same
- * external entity, so that the Locator provides useful
- * information.</p>
- *
- * <p>The application must not attempt to read from the array
- * outside of the specified range.</p>
- *
- * @param ch The characters from the XML document.
- * @param start The start position in the array.
- * @param length The number of characters to read from the array.
- * @see #characters
- */
- public void ignorableWhitespace(char ch[], int start, int length)
- throws org.xml.sax.SAXException
- {
- if(isOutsideDocElem())
- return; // avoid DOM006 Hierarchy request error
-
- String s = new String(ch, start, length);
-
- append(m_doc.createTextNode(s));
- }
-
- /**
- * Tell if the current node is outside the document element.
- *
- * @return true if the current node is outside the document element.
- */
- private boolean isOutsideDocElem()
- {
- return (null == m_docFrag) && m_elemStack.size() == 0 && (null == m_currentNode || m_currentNode.getNodeType() == Node.DOCUMENT_NODE);
- }
-
- /**
- * Receive notification of a processing instruction.
- *
- * <p>The Parser will invoke this method once for each processing
- * instruction found: note that processing instructions may occur
- * before or after the main document element.</p>
- *
- * <p>A SAX parser should never report an XML declaration (XML 1.0,
- * section 2.8) or a text declaration (XML 1.0, section 4.3.1)
- * using this method.</p>
- *
- * @param target The processing instruction target.
- * @param data The processing instruction data, or null if
- * none was supplied.
- */
- public void processingInstruction(String target, String data)
- throws org.xml.sax.SAXException
- {
- append(m_doc.createProcessingInstruction(target, data));
- }
-
- /**
- * Report an XML comment anywhere in the document.
- *
- * This callback will be used for comments inside or outside the
- * document element, including comments in the external DTD
- * subset (if read).
- *
- * @param ch An array holding the characters in the comment.
- * @param start The starting position in the array.
- * @param length The number of characters to use from the array.
- */
- public void comment(char ch[], int start, int length) throws org.xml.sax.SAXException
- {
- // tagsoup sometimes submits invalid values here
- if (ch == null || start < 0 || length >= (ch.length - start) || length < 0) return;
- append(m_doc.createComment(new String(ch, start, length)));
- }
-
- /** Flag indicating that we are processing a CData section */
- protected boolean m_inCData = false;
-
- /**
- * Report the start of a CDATA section.
- *
- * @see #endCDATA
- */
- public void startCDATA() throws org.xml.sax.SAXException
- {
- m_inCData = true;
- append(m_doc.createCDATASection(""));
- }
-
- /**
- * Report the end of a CDATA section.
- *
- * @see #startCDATA
- */
- public void endCDATA() throws org.xml.sax.SAXException
- {
- m_inCData = false;
- }
-
- /**
- * Receive notification of cdata.
- *
- * <p>The Parser will call this method to report each chunk of
- * character data. SAX parsers may return all contiguous character
- * data in a single chunk, or they may split it into several
- * chunks; however, all of the characters in any single event
- * must come from the same external entity, so that the Locator
- * provides useful information.</p>
- *
- * <p>The application must not attempt to read from the array
- * outside of the specified range.</p>
- *
- * <p>Note that some parsers will report whitespace using the
- * ignorableWhitespace() method rather than this one (validating
- * parsers must do so).</p>
- *
- * @param ch The characters from the XML document.
- * @param start The start position in the array.
- * @param length The number of characters to read from the array.
- * @see #ignorableWhitespace
- * @see org.xml.sax.Locator
- */
- public void cdata(char ch[], int start, int length) throws org.xml.sax.SAXException
- {
- if(isOutsideDocElem()
- && XMLCharacterRecognizer.isWhiteSpace(ch, start, length))
- return; // avoid DOM006 Hierarchy request error
-
- String s = new String(ch, start, length);
-
- // XXX [email protected]: modified from the original, to accomodate TagSoup.
- Node n = m_currentNode.getLastChild();
- if (n instanceof CDATASection)
- ((CDATASection)n).appendData(s);
- else if (n instanceof Comment)
- ((Comment)n).appendData(s);
- }
-
- /**
- * Report the start of DTD declarations, if any.
- *
- * Any declarations are assumed to be in the internal subset
- * unless otherwise indicated.
- *
- * @param name The document type name.
- * @param publicId The declared public identifier for the
- * external DTD subset, or null if none was declared.
- * @param systemId The declared system identifier for the
- * external DTD subset, or null if none was declared.
- * @see #endDTD
- * @see #startEntity
- */
- public void startDTD(String name, String publicId, String systemId)
- throws org.xml.sax.SAXException
- {
-
- // Do nothing for now.
- }
-
- /**
- * Report the end of DTD declarations.
- *
- * @see #startDTD
- */
- public void endDTD() throws org.xml.sax.SAXException
- {
-
- // Do nothing for now.
- }
-
- /**
- * Begin the scope of a prefix-URI Namespace mapping.
- *
- * <p>The information from this event is not necessary for
- * normal Namespace processing: the SAX XML reader will
- * automatically replace prefixes for element and attribute
- * names when the http://xml.org/sax/features/namespaces
- * feature is true (the default).</p>
- *
- * <p>There are cases, however, when applications need to
- * use prefixes in character data or in attribute values,
- * where they cannot safely be expanded automatically; the
- * start/endPrefixMapping event supplies the information
- * to the application to expand prefixes in those contexts
- * itself, if necessary.</p>
- *
- * <p>Note that start/endPrefixMapping events are not
- * guaranteed to be properly nested relative to each-other:
- * all startPrefixMapping events will occur before the
- * corresponding startElement event, and all endPrefixMapping
- * events will occur after the corresponding endElement event,
- * but their order is not guaranteed.</p>
- *
- * @param prefix The Namespace prefix being declared.
- * @param uri The Namespace URI the prefix is mapped to.
- * @see #endPrefixMapping
- * @see #startElement
- */
- public void startPrefixMapping(String prefix, String uri)
- throws org.xml.sax.SAXException
- {
-
- /*
- // Not sure if this is needed or wanted
- // Also, it fails in the stree.
- if((null != m_currentNode)
- && (m_currentNode.getNodeType() == Node.ELEMENT_NODE))
- {
- String qname;
- if(((null != prefix) && (prefix.length() == 0))
- || (null == prefix))
- qname = "xmlns";
- else
- qname = "xmlns:"+prefix;
-
- Element elem = (Element)m_currentNode;
- String val = elem.getAttribute(qname); // Obsolete, should be DOM2...?
- if(val == null)
- {
- elem.setAttributeNS("http://www.w3.org/XML/1998/namespace",
- qname, uri);
- }
- }
- */
- }
-
- /**
- * End the scope of a prefix-URI mapping.
- *
- * <p>See startPrefixMapping for details. This event will
- * always occur after the corresponding endElement event,
- * but the order of endPrefixMapping events is not otherwise
- * guaranteed.</p>
- *
- * @param prefix The prefix that was being mapping.
- * @see #startPrefixMapping
- * @see #endElement
- */
- public void endPrefixMapping(String prefix) throws org.xml.sax.SAXException{}
-
- /**
- * Receive notification of a skipped entity.
- *
- * <p>The Parser will invoke this method once for each entity
- * skipped. Non-validating processors may skip entities if they
- * have not seen the declarations (because, for example, the
- * entity was declared in an external DTD subset). All processors
- * may skip external entities, depending on the values of the
- * http://xml.org/sax/features/external-general-entities and the
- * http://xml.org/sax/features/external-parameter-entities
- * properties.</p>
- *
- * @param name The name of the skipped entity. If it is a
- * parameter entity, the name will begin with '%'.
- */
- public void skippedEntity(String name) throws org.xml.sax.SAXException{}
-}
diff --git a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/DOMContentUtils.java b/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/DOMContentUtils.java
deleted file mode 100644
index 56ae989bc..000000000
--- a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/DOMContentUtils.java
+++ /dev/null
@@ -1,416 +0,0 @@
-/**
- * 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.
- */
-
-package org.apache.nutch.parse.html;
-
-import java.net.URL;
-import java.net.MalformedURLException;
-import java.util.Collection;
-import java.util.ArrayList;
-import java.util.HashMap;
-
-import org.apache.nutch.parse.Outlink;
-import org.apache.nutch.util.NodeWalker;
-import org.apache.hadoop.conf.Configuration;
-
-import org.w3c.dom.*;
-
-/**
- * A collection of methods for extracting content from DOM trees.
- *
- * This class holds a few utility methods for pulling content out of
- * DOM nodes, such as getOutlinks, getText, etc.
- *
- */
-public class DOMContentUtils {
-
- public static class LinkParams {
- public String elName;
- public String attrName;
- public int childLen;
-
- public LinkParams(String elName, String attrName, int childLen) {
- this.elName = elName;
- this.attrName = attrName;
- this.childLen = childLen;
- }
-
- public String toString() {
- return "LP[el=" + elName + ",attr=" + attrName + ",len=" + childLen + "]";
- }
- }
-
- private HashMap<String, LinkParams> linkParams = new HashMap<String, LinkParams>();
-
- public DOMContentUtils(Configuration conf) {
- setConf(conf);
- }
-
- public void setConf(Configuration conf) {
- // forceTags is used to override configurable tag ignoring, later on
- Collection<String> forceTags = new ArrayList<String>(1);
-
- linkParams.clear();
- linkParams.put("a", new LinkParams("a", "href", 1));
- linkParams.put("area", new LinkParams("area", "href", 0));
- if (conf.getBoolean("parser.html.form.use_action", true)) {
- linkParams.put("form", new LinkParams("form", "action", 1));
- if (conf.get("parser.html.form.use_action") != null)
- forceTags.add("form");
- }
- linkParams.put("frame", new LinkParams("frame", "src", 0));
- linkParams.put("iframe", new LinkParams("iframe", "src", 0));
- linkParams.put("script", new LinkParams("script", "src", 0));
- linkParams.put("link", new LinkParams("link", "href", 0));
- linkParams.put("img", new LinkParams("img", "src", 0));
-
- // remove unwanted link tags from the linkParams map
- String[] ignoreTags = conf.getStrings("parser.html.outlinks.ignore_tags");
- for ( int i = 0 ; ignoreTags != null && i < ignoreTags.length ; i++ ) {
- if ( ! forceTags.contains(ignoreTags[i]) )
- linkParams.remove(ignoreTags[i]);
- }
- }
-
- /**
- * This method takes a {@link StringBuilder} and a DOM {@link Node},
- * and will append all the content text found beneath the DOM node to
- * the <code>StringBuilder</code>.
- *
- * <p>
- *
- * If <code>abortOnNestedAnchors</code> is true, DOM traversal will
- * be aborted and the <code>StringBuffer</code> will not contain
- * any text encountered after a nested anchor is found.
- *
- * <p>
- *
- * @return true if nested anchors were found
- */
- public boolean getText(StringBuilder sb, Node node,
- boolean abortOnNestedAnchors) {
- if (getTextHelper(sb, node, abortOnNestedAnchors, 0)) {
- return true;
- }
- return false;
- }
-
-
- /**
- * This is a convinience method, equivalent to {@link
- * #getText(StringBuffer,Node,boolean) getText(sb, node, false)}.
- *
- */
- public void getText(StringBuilder sb, Node node) {
- getText(sb, node, false);
- }
-
- // returns true if abortOnNestedAnchors is true and we find nested
- // anchors
- private boolean getTextHelper(StringBuilder sb, Node node,
- boolean abortOnNestedAnchors,
- int anchorDepth) {
- boolean abort = false;
- NodeWalker walker = new NodeWalker(node);
-
- while (walker.hasNext()) {
-
- Node currentNode = walker.nextNode();
- String nodeName = currentNode.getNodeName();
- short nodeType = currentNode.getNodeType();
-
- if ("script".equalsIgnoreCase(nodeName)) {
- walker.skipChildren();
- }
- if ("style".equalsIgnoreCase(nodeName)) {
- walker.skipChildren();
- }
- if (abortOnNestedAnchors && "a".equalsIgnoreCase(nodeName)) {
- anchorDepth++;
- if (anchorDepth > 1) {
- abort = true;
- break;
- }
- }
- if (nodeType == Node.COMMENT_NODE) {
- walker.skipChildren();
- }
- if (nodeType == Node.TEXT_NODE) {
- // cleanup and trim the value
- String text = currentNode.getNodeValue();
- text = text.replaceAll("\\s+", " ");
- text = text.trim();
- if (text.length() > 0) {
- if (sb.length() > 0) sb.append(' ');
- sb.append(text);
- }
- }
- }
-
- return abort;
- }
-
- /**
- * This method takes a {@link StringBuffer} and a DOM {@link Node},
- * and will append the content text found beneath the first
- * <code>title</code> node to the <code>StringBuffer</code>.
- *
- * @return true if a title node was found, false otherwise
- */
- public boolean getTitle(StringBuilder sb, Node node) {
-
- NodeWalker walker = new NodeWalker(node);
-
- while (walker.hasNext()) {
-
- Node currentNode = walker.nextNode();
- String nodeName = currentNode.getNodeName();
- short nodeType = currentNode.getNodeType();
-
- if ("body".equalsIgnoreCase(nodeName)) { // stop after HEAD
- return false;
- }
-
- if (nodeType == Node.ELEMENT_NODE) {
- if ("title".equalsIgnoreCase(nodeName)) {
- getText(sb, currentNode);
- return true;
- }
- }
- }
-
- return false;
- }
-
- /** If Node contains a BASE tag then it's HREF is returned. */
- public URL getBase(Node node) {
-
- NodeWalker walker = new NodeWalker(node);
-
- while (walker.hasNext()) {
-
- Node currentNode = walker.nextNode();
- String nodeName = currentNode.getNodeName();
- short nodeType = currentNode.getNodeType();
-
- // is this node a BASE tag?
- if (nodeType == Node.ELEMENT_NODE) {
-
- if ("body".equalsIgnoreCase(nodeName)) { // stop after HEAD
- return null;
- }
-
- if ("base".equalsIgnoreCase(nodeName)) {
- NamedNodeMap attrs = currentNode.getAttributes();
- for (int i= 0; i < attrs.getLength(); i++ ) {
- Node attr = attrs.item(i);
- if ("href".equalsIgnoreCase(attr.getNodeName())) {
- try {
- return new URL(attr.getNodeValue());
- } catch (MalformedURLException e) {}
- }
- }
- }
- }
- }
-
- // no.
- return null;
- }
-
-
- private boolean hasOnlyWhiteSpace(Node node) {
- String val= node.getNodeValue();
- for (int i= 0; i < val.length(); i++) {
- if (!Character.isWhitespace(val.charAt(i)))
- return false;
- }
- return true;
- }
-
- // this only covers a few cases of empty links that are symptomatic
- // of nekohtml's DOM-fixup process...
- private boolean shouldThrowAwayLink(Node node, NodeList children,
- int childLen, LinkParams params) {
- if (childLen == 0) {
- // this has no inner structure
- if (params.childLen == 0) return false;
- else return true;
- } else if ((childLen == 1)
- && (children.item(0).getNodeType() == Node.ELEMENT_NODE)
- && (params.elName.equalsIgnoreCase(children.item(0).getNodeName()))) {
- // single nested link
- return true;
-
- } else if (childLen == 2) {
-
- Node c0= children.item(0);
- Node c1= children.item(1);
-
- if ((c0.getNodeType() == Node.ELEMENT_NODE)
- && (params.elName.equalsIgnoreCase(c0.getNodeName()))
- && (c1.getNodeType() == Node.TEXT_NODE)
- && hasOnlyWhiteSpace(c1) ) {
- // single link followed by whitespace node
- return true;
- }
-
- if ((c1.getNodeType() == Node.ELEMENT_NODE)
- && (params.elName.equalsIgnoreCase(c1.getNodeName()))
- && (c0.getNodeType() == Node.TEXT_NODE)
- && hasOnlyWhiteSpace(c0) ) {
- // whitespace node followed by single link
- return true;
- }
-
- } else if (childLen == 3) {
- Node c0= children.item(0);
- Node c1= children.item(1);
- Node c2= children.item(2);
-
- if ((c1.getNodeType() == Node.ELEMENT_NODE)
- && (params.elName.equalsIgnoreCase(c1.getNodeName()))
- && (c0.getNodeType() == Node.TEXT_NODE)
- && (c2.getNodeType() == Node.TEXT_NODE)
- && hasOnlyWhiteSpace(c0)
- && hasOnlyWhiteSpace(c2) ) {
- // single link surrounded by whitespace nodes
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Handles cases where the url param information is encoded into the base
- * url as opposed to the target.
- * <p>
- * If the taget contains params (i.e. ';xxxx') information then the target
- * params information is assumed to be correct and any base params information
- * is ignored. If the base contains params information but the tareget does
- * not, then the params information is moved to the target allowing it to be
- * correctly determined by the java.net.URL class.
- *
- * @param base The base URL.
- * @param target The target path from the base URL.
- *
- * @return URL A URL with the params information correctly encoded.
- *
- * @throws MalformedURLException If the url is not a well formed URL.
- */
- private URL fixEmbeddedParams(URL base, String target)
- throws MalformedURLException{
-
- // the target contains params information or the base doesn't then no
- // conversion necessary, return regular URL
- if (target.indexOf(';') >= 0 || base.toString().indexOf(';') == -1) {
- return new URL(base, target);
- }
-
- // get the base url and it params information
- String baseURL = base.toString();
- int startParams = baseURL.indexOf(';');
- String params = baseURL.substring(startParams);
-
- // if the target has a query string then put the params information after
- // any path but before the query string, otherwise just append to the path
- int startQS = target.indexOf('?');
- if (startQS >= 0) {
- target = target.substring(0, startQS) + params +
- target.substring(startQS);
- }
- else {
- target += params;
- }
-
- return new URL(base, target);
- }
-
- /**
- * This method finds all anchors below the supplied DOM
- * <code>node</code>, and creates appropriate {@link Outlink}
- * records for each (relative to the supplied <code>base</code>
- * URL), and adds them to the <code>outlinks</code> {@link
- * ArrayList}.
- *
- * <p>
- *
- * Links without inner structure (tags, text, etc) are discarded, as
- * are links which contain only single nested links and empty text
- * nodes (this is a common DOM-fixup artifact, at least with
- * nekohtml).
- */
- public void getOutlinks(URL base, ArrayList<Outlink> outlinks,
- Node node) {
-
- NodeWalker walker = new NodeWalker(node);
- while (walker.hasNext()) {
-
- Node currentNode = walker.nextNode();
- String nodeName = currentNode.getNodeName();
- short nodeType = currentNode.getNodeType();
- NodeList children = currentNode.getChildNodes();
- int childLen = (children != null) ? children.getLength() : 0;
-
- if (nodeType == Node.ELEMENT_NODE) {
-
- nodeName = nodeName.toLowerCase();
- LinkParams params = linkParams.get(nodeName);
- if (params != null) {
- if (!shouldThrowAwayLink(currentNode, children, childLen, params)) {
-
- StringBuilder linkText = new StringBuilder();
- getText(linkText, currentNode, true);
-
- NamedNodeMap attrs = currentNode.getAttributes();
- String target = null;
- boolean noFollow = false;
- boolean post = false;
- for (int i= 0; i < attrs.getLength(); i++ ) {
- Node attr = attrs.item(i);
- String attrName = attr.getNodeName();
- if (params.attrName.equalsIgnoreCase(attrName)) {
- target = attr.getNodeValue();
- } else if ("rel".equalsIgnoreCase(attrName) &&
- "nofollow".equalsIgnoreCase(attr.getNodeValue())) {
- noFollow = true;
- } else if ("method".equalsIgnoreCase(attrName) &&
- "post".equalsIgnoreCase(attr.getNodeValue())) {
- post = true;
- }
- }
- if (target != null && !noFollow && !post)
- try {
-
- URL url = (base.toString().indexOf(';') > 0) ?
- fixEmbeddedParams(base, target) : new URL(base, target);
- outlinks.add(new Outlink(url.toString(),
- linkText.toString().trim()));
- } catch (MalformedURLException e) {
- // don't care
- }
- }
- // this should not have any children, skip them
- if (params.childLen == 0) continue;
- }
- }
- }
- }
-
-}
-
diff --git a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HTMLMetaProcessor.java b/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HTMLMetaProcessor.java
deleted file mode 100644
index c57038d66..000000000
--- a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HTMLMetaProcessor.java
+++ /dev/null
@@ -1,213 +0,0 @@
-/**
- * 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.
- */
-
-package org.apache.nutch.parse.html;
-
-import java.net.URL;
-
-import org.apache.nutch.parse.HTMLMetaTags;
-import org.w3c.dom.*;
-
-/**
- * Class for parsing META Directives from DOM trees. This class
- * handles specifically Robots META directives (all, none, nofollow,
- * noindex), finding BASE HREF tags, and HTTP-EQUIV no-cache
- * instructions. All meta directives are stored in a HTMLMetaTags instance.
- */
-public class HTMLMetaProcessor {
-
- /**
- * Utility class with indicators for the robots directives "noindex"
- * and "nofollow", and HTTP-EQUIV/no-cache
- */
-
- /**
- * Sets the indicators in <code>robotsMeta</code> to appropriate
- * values, based on any META tags found under the given
- * <code>node</code>.
- */
- public static final void getMetaTags (
- HTMLMetaTags metaTags, Node node, URL currURL) {
-
- metaTags.reset();
- getMetaTagsHelper(metaTags, node, currURL);
- }
-
- private static final void getMetaTagsHelper(
- HTMLMetaTags metaTags, Node node, URL currURL) {
-
- if (node.getNodeType() == Node.ELEMENT_NODE) {
-
- if ("body".equalsIgnoreCase(node.getNodeName())) {
- // META tags should not be under body
- return;
- }
-
- if ("meta".equalsIgnoreCase(node.getNodeName())) {
- NamedNodeMap attrs = node.getAttributes();
- Node nameNode = null;
- Node equivNode = null;
- Node contentNode = null;
- // Retrieves name, http-equiv and content attribues
- for (int i=0; i<attrs.getLength(); i++) {
- Node attr = attrs.item(i);
- String attrName = attr.getNodeName().toLowerCase();
- if (attrName.equals("name")) {
- nameNode = attr;
- } else if (attrName.equals("http-equiv")) {
- equivNode = attr;
- } else if (attrName.equals("content")) {
- contentNode = attr;
- }
- }
-
- if (nameNode != null) {
- if (contentNode != null) {
- String name = nameNode.getNodeValue().toLowerCase();
- metaTags.getGeneralTags().setProperty(name, contentNode.getNodeValue());
- if ("robots".equals(name)) {
-
- if (contentNode != null) {
- String directives =
- contentNode.getNodeValue().toLowerCase();
- int index = directives.indexOf("none");
-
- if (index >= 0) {
- metaTags.setNoIndex();
- metaTags.setNoFollow();
- }
-
- index = directives.indexOf("all");
- if (index >= 0) {
- // do nothing...
- }
-
- index = directives.indexOf("noindex");
- if (index >= 0) {
- metaTags.setNoIndex();
- }
-
- index = directives.indexOf("nofollow");
- if (index >= 0) {
- metaTags.setNoFollow();
- }
-
- index = directives.indexOf("noarchive");
- if (index >= 0) {
- metaTags.setNoCache();
- }
- }
-
- } // end if (name == robots)
- }
- }
-
- if (equivNode != null) {
- if (contentNode != null) {
- String name = equivNode.getNodeValue().toLowerCase();
- String content = contentNode.getNodeValue();
- metaTags.getHttpEquivTags().setProperty(name, content);
- if ("pragma".equals(name)) {
- content = content.toLowerCase();
- int index = content.indexOf("no-cache");
- if (index >= 0)
- metaTags.setNoCache();
- } else if ("refresh".equals(name)) {
- int idx = content.indexOf(';');
- String time = null;
- if (idx == -1) { // just the refresh time
- time = content;
- } else time = content.substring(0, idx);
- try {
- metaTags.setRefreshTime(Integer.parseInt(time));
- // skip this if we couldn't parse the time
- metaTags.setRefresh(true);
- } catch (Exception e) {
- ;
- }
- URL refreshUrl = null;
- if (metaTags.getRefresh() && idx != -1) { // set the URL
- idx = content.toLowerCase().indexOf("url=");
- if (idx == -1) { // assume a mis-formatted entry with just the url
- idx = content.indexOf(';') + 1;
- } else idx += 4;
- if (idx != -1) {
- String url = content.substring(idx);
- try {
- refreshUrl = new URL(url);
- } catch (Exception e) {
- // XXX according to the spec, this has to be an absolute
- // XXX url. However, many websites use relative URLs and
- // XXX expect browsers to handle that.
- // XXX Unfortunately, in some cases this may create a
- // XXX infinitely recursive paths (a crawler trap)...
- // if (!url.startsWith("/")) url = "/" + url;
- try {
- refreshUrl = new URL(currURL, url);
- } catch (Exception e1) {
- refreshUrl = null;
- }
- }
- }
- }
- if (metaTags.getRefresh()) {
- if (refreshUrl == null) {
- // apparently only refresh time was present. set the URL
- // to the same URL.
- refreshUrl = currURL;
- }
- metaTags.setRefreshHref(refreshUrl);
- }
- }
- }
- }
-
- } else if ("base".equalsIgnoreCase(node.getNodeName())) {
- NamedNodeMap attrs = node.getAttributes();
- Node hrefNode = attrs.getNamedItem("href");
-
- if (hrefNode != null) {
- String urlString = hrefNode.getNodeValue();
-
- URL url = null;
- try {
- if (currURL == null)
- url = new URL(urlString);
- else
- url = new URL(currURL, urlString);
- } catch (Exception e) {
- ;
- }
-
- if (url != null)
- metaTags.setBaseHref(url);
- }
-
- }
-
- }
-
- NodeList children = node.getChildNodes();
- if (children != null) {
- int len = children.getLength();
- for (int i = 0; i < len; i++) {
- getMetaTagsHelper(metaTags, children.item(i), currURL);
- }
- }
- }
-
-}
diff --git a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HtmlParser.java b/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HtmlParser.java
deleted file mode 100644
index a7766b925..000000000
--- a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HtmlParser.java
+++ /dev/null
@@ -1,330 +0,0 @@
-/**
- * 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.
- */
-
-package org.apache.nutch.parse.html;
-
-import java.io.ByteArrayInputStream;
-import java.io.DataInputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.UnsupportedEncodingException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.nio.ByteBuffer;
-import java.nio.charset.Charset;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import org.apache.avro.util.Utf8;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.hbase.util.Bytes;
-import org.apache.html.dom.HTMLDocumentImpl;
-import org.apache.nutch.metadata.Metadata;
-import org.apache.nutch.metadata.Nutch;
-import org.apache.nutch.parse.HTMLMetaTags;
-import org.apache.nutch.parse.HtmlParseFilters;
-import org.apache.nutch.parse.Outlink;
-import org.apache.nutch.parse.Parse;
-import org.apache.nutch.parse.ParseStatusCodes;
-import org.apache.nutch.parse.ParseStatusUtils;
-import org.apache.nutch.parse.Parser;
-import org.apache.nutch.storage.ParseStatus;
-import org.apache.nutch.storage.WebPage;
-import org.apache.nutch.util.EncodingDetector;
-import org.apache.nutch.util.LogUtil;
-import org.apache.nutch.util.NutchConfiguration;
-import org.apache.nutch.util.TableUtil;
-import org.cyberneko.html.parsers.DOMFragmentParser;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.DocumentFragment;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-public class HtmlParser implements Parser {
- public static final Log LOG = LogFactory.getLog("org.apache.nutch.parse.html");
-
- // I used 1000 bytes at first, but found that some documents have
- // meta tag well past the first 1000 bytes.
- // (e.g. http://cn.promo.yahoo.com/customcare/music.html)
- private static final int CHUNK_SIZE = 2000;
- private static Pattern metaPattern =
- Pattern.compile("<meta\\s+([^>]*http-equiv=\"?content-type\"?[^>]*)>",
- Pattern.CASE_INSENSITIVE);
- private static Pattern charsetPattern =
- Pattern.compile("charset=\\s*([a-z][_\\-0-9a-z]*)",
- Pattern.CASE_INSENSITIVE);
-
- private static Collection<WebPage.Field> FIELDS = new HashSet<WebPage.Field>();
-
- static {
- FIELDS.add(WebPage.Field.BASE_URL);
- }
-
- private String parserImpl;
-
- /**
- * Given a <code>byte[]</code> representing an html file of an
- * <em>unknown</em> encoding, read out 'charset' parameter in the meta tag
- * from the first <code>CHUNK_SIZE</code> bytes.
- * If there's no meta tag for Content-Type or no charset is specified,
- * <code>null</code> is returned. <br />
- * FIXME: non-byte oriented character encodings (UTF-16, UTF-32)
- * can't be handled with this.
- * We need to do something similar to what's done by mozilla
- * (http://lxr.mozilla.org/seamonkey/source/parser/htmlparser/src/nsParser.cpp#1993).
- * See also http://www.w3.org/TR/REC-xml/#sec-guessing
- * <br />
- *
- * @param content <code>byte[]</code> representation of an html file
- */
-
- private static String sniffCharacterEncoding(byte[] content) {
- int length = content.length < CHUNK_SIZE ?
- content.length : CHUNK_SIZE;
-
- // We don't care about non-ASCII parts so that it's sufficient
- // to just inflate each byte to a 16-bit value by padding.
- // For instance, the sequence {0x41, 0x82, 0xb7} will be turned into
- // {U+0041, U+0082, U+00B7}.
- String str = "";
- try {
- str = new String(content, 0, length,
- Charset.forName("ASCII").toString());
- } catch (UnsupportedEncodingException e) {
- // code should never come here, but just in case...
- return null;
- }
-
- Matcher metaMatcher = metaPattern.matcher(str);
- String encoding = null;
- if (metaMatcher.find()) {
- Matcher charsetMatcher = charsetPattern.matcher(metaMatcher.group(1));
- if (charsetMatcher.find())
- encoding = new String(charsetMatcher.group(1));
- }
-
- return encoding;
- }
-
- private String defaultCharEncoding;
-
- private Configuration conf;
-
- private DOMContentUtils utils;
-
- private HtmlParseFilters htmlParseFilters;
-
- private String cachingPolicy;
-
- public Parse getParse(String url, WebPage page) {
- HTMLMetaTags metaTags = new HTMLMetaTags();
-
- String baseUrl = TableUtil.toString(page.getBaseUrl());
- URL base;
- try {
- base = new URL(baseUrl);
- } catch (MalformedURLException e) {
- return ParseStatusUtils.getEmptyParse(e, getConf());
- }
-
- String text = "";
- String title = "";
- Outlink[] outlinks = new Outlink[0];
- Metadata metadata = new Metadata();
-
- // parse the content
- DocumentFragment root;
- try {
- byte[] contentInOctets = page.getContent().array();
- InputSource input = new InputSource(new ByteArrayInputStream(contentInOctets));
-
- EncodingDetector detector = new EncodingDetector(conf);
- detector.autoDetectClues(page, true);
- detector.addClue(sniffCharacterEncoding(contentInOctets), "sniffed");
- String encoding = detector.guessEncoding(page, defaultCharEncoding);
-
- metadata.set(Metadata.ORIGINAL_CHAR_ENCODING, encoding);
- metadata.set(Metadata.CHAR_ENCODING_FOR_CONVERSION, encoding);
-
- input.setEncoding(encoding);
- if (LOG.isTraceEnabled()) { LOG.trace("Parsing..."); }
- root = parse(input);
- } catch (IOException e) {
- return ParseStatusUtils.getEmptyParse(e, getConf());
- } catch (DOMException e) {
- return ParseStatusUtils.getEmptyParse(e, getConf());
- } catch (SAXException e) {
- return ParseStatusUtils.getEmptyParse(e, getConf());
- } catch (Exception e) {
- e.printStackTrace(LogUtil.getWarnStream(LOG));
- return ParseStatusUtils.getEmptyParse(e, getConf());
- }
-
- // get meta directives
- HTMLMetaProcessor.getMetaTags(metaTags, root, base);
- if (LOG.isTraceEnabled()) {
- LOG.trace("Meta tags for " + base + ": " + metaTags.toString());
- }
- // check meta directives
- if (!metaTags.getNoIndex()) { // okay to index
- StringBuilder sb = new StringBuilder();
- if (LOG.isTraceEnabled()) { LOG.trace("Getting text..."); }
- utils.getText(sb, root); // extract text
- text = sb.toString();
- sb.setLength(0);
- if (LOG.isTraceEnabled()) { LOG.trace("Getting title..."); }
- utils.getTitle(sb, root); // extract title
- title = sb.toString().trim();
- }
-
- if (!metaTags.getNoFollow()) { // okay to follow links
- ArrayList<Outlink> l = new ArrayList<Outlink>(); // extract outlinks
- URL baseTag = utils.getBase(root);
- if (LOG.isTraceEnabled()) { LOG.trace("Getting links..."); }
- utils.getOutlinks(baseTag!=null?baseTag:base, l, root);
- outlinks = l.toArray(new Outlink[l.size()]);
- if (LOG.isTraceEnabled()) {
- LOG.trace("found "+outlinks.length+" outlinks in "+ url);
- }
- }
-
- ParseStatus status = new ParseStatus();
- status.setMajorCode(ParseStatusCodes.SUCCESS);
- if (metaTags.getRefresh()) {
- status.setMinorCode(ParseStatusCodes.SUCCESS_REDIRECT);
- status.addToArgs(new Utf8(metaTags.getRefreshHref().toString()));
- status.addToArgs(new Utf8(Integer.toString(metaTags.getRefreshTime())));
- }
-
- Parse parse = new Parse(text, title, outlinks, status);
- parse = htmlParseFilters.filter(url, page, parse, metaTags, root);
-
- if (metaTags.getNoCache()) { // not okay to cache
- page.putToMetadata(new Utf8(Nutch.CACHING_FORBIDDEN_KEY),
- ByteBuffer.wrap(Bytes.toBytes(cachingPolicy)));
- }
-
- return parse;
- }
-
- private DocumentFragment parse(InputSource input) throws Exception {
- if (parserImpl.equalsIgnoreCase("tagsoup"))
- return parseTagSoup(input);
- else return parseNeko(input);
- }
-
- private DocumentFragment parseTagSoup(InputSource input) throws Exception {
- HTMLDocumentImpl doc = new HTMLDocumentImpl();
- DocumentFragment frag = doc.createDocumentFragment();
- DOMBuilder builder = new DOMBuilder(doc, frag);
- org.ccil.cowan.tagsoup.Parser reader = new org.ccil.cowan.tagsoup.Parser();
- reader.setContentHandler(builder);
- reader.setFeature(org.ccil.cowan.tagsoup.Parser.ignoreBogonsFeature, true);
- reader.setFeature(org.ccil.cowan.tagsoup.Parser.bogonsEmptyFeature, false);
- reader.setProperty("http://xml.org/sax/properties/lexical-handler", builder);
- reader.parse(input);
- return frag;
- }
-
- private DocumentFragment parseNeko(InputSource input) throws Exception {
- DOMFragmentParser parser = new DOMFragmentParser();
- try {
- parser.setFeature("http://cyberneko.org/html/features/augmentations",
- true);
- parser.setProperty("http://cyberneko.org/html/properties/default-encoding",
- defaultCharEncoding);
- parser.setFeature("http://cyberneko.org/html/features/scanner/ignore-specified-charset",
- true);
- parser.setFeature("http://cyberneko.org/html/features/balance-tags/ignore-outside-content",
- false);
- parser.setFeature("http://cyberneko.org/html/features/balance-tags/document-fragment",
- true);
- parser.setFeature("http://cyberneko.org/html/features/report-errors",
- LOG.isTraceEnabled());
- } catch (SAXException e) {}
- // convert Document to DocumentFragment
- HTMLDocumentImpl doc = new HTMLDocumentImpl();
- doc.setErrorChecking(false);
- DocumentFragment res = doc.createDocumentFragment();
- DocumentFragment frag = doc.createDocumentFragment();
- parser.parse(input, frag);
- res.appendChild(frag);
-
- try {
- while(true) {
- frag = doc.createDocumentFragment();
- parser.parse(input, frag);
- if (!frag.hasChildNodes()) break;
- if (LOG.isInfoEnabled()) {
- LOG.info(" - new frag, " + frag.getChildNodes().getLength() + " nodes.");
- }
- res.appendChild(frag);
- }
- } catch (Exception x) { x.printStackTrace(LogUtil.getWarnStream(LOG));};
- return res;
- }
-
- public void setConf(Configuration conf) {
- this.conf = conf;
- this.htmlParseFilters = new HtmlParseFilters(getConf());
- this.parserImpl = getConf().get("parser.html.impl", "neko");
- this.defaultCharEncoding = getConf().get(
- "parser.character.encoding.default", "windows-1252");
- this.utils = new DOMContentUtils(conf);
- this.cachingPolicy = getConf().get("parser.caching.forbidden.policy",
- Nutch.CACHING_FORBIDDEN_CONTENT);
- }
-
- public Configuration getConf() {
- return this.conf;
- }
-
- @Override
- public Collection<WebPage.Field> getFields() {
- return FIELDS;
- }
-
- public static void main(String[] args) throws Exception {
- //LOG.setLevel(Level.FINE);
- String name = args[0];
- String url = "file:"+name;
- File file = new File(name);
- byte[] bytes = new byte[(int)file.length()];
- DataInputStream in = new DataInputStream(new FileInputStream(file));
- in.readFully(bytes);
- Configuration conf = NutchConfiguration.create();
- HtmlParser parser = new HtmlParser();
- parser.setConf(conf);
- WebPage page = new WebPage();
- page.setBaseUrl(new Utf8(url));
- page.setContent(ByteBuffer.wrap(bytes));
- page.setContentType(new Utf8("text/html"));
- Parse parse = parser.getParse(url, page);
- System.out.println("title: "+parse.getTitle());
- System.out.println("text: "+parse.getText());
- System.out.println("outlinks: " + Arrays.toString(parse.getOutlinks()));
-
- }
-
-}
diff --git a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/XMLCharacterRecognizer.java b/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/XMLCharacterRecognizer.java
deleted file mode 100644
index fab2589ef..000000000
--- a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/XMLCharacterRecognizer.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * XXX [email protected]: This class is copied verbatim from Xalan-J 2.6.0
- * XXX distribution, org.apache.xml.utils.XMLCharacterRecognizer,
- * XXX in order to avoid dependency on Xalan.
- */
-
-/*
- * 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.
- */
-/*
- * $Id: XMLCharacterRecognizer.java,v 1.7 2004/02/17 04:21:14 minchau Exp $
- */
-package org.apache.nutch.parse.html;
-
-/**
- * Class used to verify whether the specified <var>ch</var>
- * conforms to the XML 1.0 definition of whitespace.
- */
-public class XMLCharacterRecognizer
-{
-
- /**
- * Returns whether the specified <var>ch</var> conforms to the XML 1.0 definition
- * of whitespace. Refer to <A href="http://www.w3.org/TR/1998/REC-xml-19980210#NT-S">
- * the definition of <CODE>S</CODE></A> for details.
- * @param ch Character to check as XML whitespace.
- * @return =true if <var>ch</var> is XML whitespace; otherwise =false.
- */
- public static boolean isWhiteSpace(char ch)
- {
- return (ch == 0x20) || (ch == 0x09) || (ch == 0xD) || (ch == 0xA);
- }
-
- /**
- * Tell if the string is whitespace.
- *
- * @param ch Character array to check as XML whitespace.
- * @param start Start index of characters in the array
- * @param length Number of characters in the array
- * @return True if the characters in the array are
- * XML whitespace; otherwise, false.
- */
- public static boolean isWhiteSpace(char ch[], int start, int length)
- {
-
- int end = start + length;
-
- for (int s = start; s < end; s++)
- {
- if (!isWhiteSpace(ch[s]))
- return false;
- }
-
- return true;
- }
-
- /**
- * Tell if the string is whitespace.
- *
- * @param buf StringBuffer to check as XML whitespace.
- * @return True if characters in buffer are XML whitespace, false otherwise
- */
- public static boolean isWhiteSpace(StringBuffer buf)
- {
-
- int n = buf.length();
-
- for (int i = 0; i < n; i++)
- {
- if (!isWhiteSpace(buf.charAt(i)))
- return false;
- }
-
- return true;
- }
-
- /**
- * Tell if the string is whitespace.
- *
- * @param s String to check as XML whitespace.
- * @return True if characters in buffer are XML whitespace, false otherwise
- */
- public static boolean isWhiteSpace(String s)
- {
-
- if(null != s)
- {
- int n = s.length();
-
- for (int i = 0; i < n; i++)
- {
- if (!isWhiteSpace(s.charAt(i)))
- return false;
- }
- }
-
- return true;
- }
-
-}
diff --git a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/package.html b/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/package.html
deleted file mode 100644
index c65038932..000000000
--- a/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/package.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<html>
-<body>
-<p>An HTML document parsing plugin.</p><p>This package relies on <a href="http://www.apache.org/~andyc/neko/doc/html/index.html">NekoHTML</a>.</p>
-</body>
-</html>
diff --git a/src/plugin/parse-html/src/test/org/apache/nutch/parse/html/TestDOMContentUtils.java b/src/plugin/parse-html/src/test/org/apache/nutch/parse/html/TestDOMContentUtils.java
deleted file mode 100644
index 6b16a0bdf..000000000
--- a/src/plugin/parse-html/src/test/org/apache/nutch/parse/html/TestDOMContentUtils.java
+++ /dev/null
@@ -1,403 +0,0 @@
-/**
- * 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.
- */
-
-package org.apache.nutch.parse.html;
-
-import junit.framework.TestCase;
-
-import org.apache.nutch.parse.Outlink;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.nutch.util.NutchConfiguration;
-
-import java.io.ByteArrayInputStream;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.StringTokenizer;
-
-import org.cyberneko.html.parsers.*;
-import org.xml.sax.*;
-import org.w3c.dom.*;
-import org.apache.html.dom.*;
-
-/**
- * Unit tests for DOMContentUtils.
- */
-public class TestDOMContentUtils extends TestCase {
-
- private static final String[] testPages= {
- new String("<html><head><title> title </title><script> script </script>"
- + "</head><body> body <a href=\"http://www.nutch.org\">"
- + " anchor </a><!--comment-->"
- + "</body></html>"),
- new String("<html><head><title> title </title><script> script </script>"
- + "</head><body> body <a href=\"/\">"
- + " home </a><!--comment-->"
- + "<style> style </style>"
- + " <a href=\"bot.html\">"
- + " bots </a>"
- + "</body></html>"),
- new String("<html><head><title> </title>"
- + "</head><body> "
- + "<a href=\"/\"> separate this "
- + "<a href=\"ok\"> from this"
- + "</a></a>"
- + "</body></html>"),
- // this one relies on certain neko fixup behavior, possibly
- // distributing the anchors into the LI's-but not the other
- // anchors (outside of them, instead)! So you get a tree that
- // looks like:
- // ... <li> <a href=/> home </a> </li>
- // <li> <a href=/> <a href="1"> 1 </a> </a> </li>
- // <li> <a href=/> <a href="1"> <a href="2"> 2 </a> </a> </a> </li>
- new String("<html><head><title> my title </title>"
- + "</head><body> body "
- + "<ul>"
- + "<li> <a href=\"/\"> home"
- + "<li> <a href=\"1\"> 1"
- + "<li> <a href=\"2\"> 2"
- + "</ul>"
- + "</body></html>"),
- // test frameset link extraction. The invalid frame in the middle will be
- // fixed to a third standalone frame.
- new String("<html><head><title> my title </title>"
- + "</head><frameset rows=\"20,*\"> "
- + "<frame src=\"top.html\">"
- + "</frame>"
- + "<frameset cols=\"20,*\">"
- + "<frame src=\"left.html\">"
- + "<frame src=\"invalid.html\"/>"
- + "</frame>"
- + "<frame src=\"right.html\">"
- + "</frame>"
- + "</frameset>"
- + "</frameset>"
- + "</body></html>"),
- // test <area> and <iframe> link extraction + url normalization
- new String("<html><head><title> my title </title>"
- + "</head><body>"
- + "<img src=\"logo.gif\" usemap=\"#green\" border=\"0\">"
- + "<map name=\"green\">"
- + "<area shape=\"polygon\" coords=\"19,44,45,11,87\" href=\"../index.html\">"
- + "<area shape=\"rect\" coords=\"128,132,241,179\" href=\"#bottom\">"
- + "<area shape=\"circle\" coords=\"68,211,35\" href=\"../bot.html\">"
- + "</map>"
- + "<a name=\"bottom\"/><h1> the bottom </h1> "
- + "<iframe src=\"../docs/index.html\"/>"
- + "</body></html>"),
- // test whitespace processing for plain text extraction
- new String("<html><head>\n <title> my\t\n title\r\n </title>\n"
- + " </head>\n"
- + " <body>\n"
- + " <h1> Whitespace\ttest </h1> \n"
- + "\t<a href=\"../index.html\">\n \twhitespace test\r\n\t</a> \t\n"
- + " <p> This is<span> a whitespace<span></span> test</span>. Newlines\n"
- + "should appear as space too.</p><p>Tabs\tare spaces too.\n</p>"
- + " This\t<b>is a</b> break -&gt;<br>and the line after<i> break</i>.<br>\n"
- + "<table>"
- + " <tr><td>one</td><td>two</td><td>three</td></tr>\n"
- + " <tr><td>space here </td><td> space there</td><td>no space</td></tr>"
- + "\t<tr><td>one\r\ntwo</td><td>two\tthree</td><td>three\r\tfour</td></tr>\n"
- + "</table>put some text here<Br>and there."
- + "<h2>End\tthis\rmadness\n!</h2>\r\n"
- + " . . . ."
- + "</body> </html>"),
-
- // test that <a rel=nofollow> links are not returned
- new String("<html><head></head><body>"
- + "<a href=\"http://www.nutch.org\" rel=\"nofollow\"> ignore </a>"
- + "<a rel=\"nofollow\" href=\"http://www.nutch.org\"> ignore </a>"
- + "</body></html>"),
- // test that POST form actions are skipped
- new String("<html><head></head><body>"
- + "<form method='POST' action='/search.jsp'><input type=text>"
- + "<input type=submit><p>test1</p></form>"
- + "<form method='GET' action='/dummy.jsp'><input type=text>"
- + "<input type=submit><p>test2</p></form></body></html>"),
- // test that all form actions are skipped
- new String("<html><head></head><body>"
- + "<form method='POST' action='/search.jsp'><input type=text>"
- + "<input type=submit><p>test1</p></form>"
- + "<form method='GET' action='/dummy.jsp'><input type=text>"
- + "<input type=submit><p>test2</p></form></body></html>"),
- new String("<html><head><title> title </title>"
- + "</head><body>"
- + "<a href=\";x\">anchor1</a>"
- + "<a href=\"g;x\">anchor2</a>"
- + "<a href=\"g;x?y#s\">anchor3</a>"
- + "</body></html>"),
- new String("<html><head><title> title </title>"
- + "</head><body>"
- + "<a href=\"g\">anchor1</a>"
- + "<a href=\"g?y#s\">anchor2</a>"
- + "<a href=\"?y=1\">anchor3</a>"
- + "<a href=\"?y=1#s\">anchor4</a>"
- + "<a href=\"?y=1;somethingelse\">anchor5</a>"
- + "</body></html>"),
- };
-
- private static int SKIP = 9;
-
- private static String[] testBaseHrefs= {
- "http://www.nutch.org",
- "http://www.nutch.org/docs/foo.html",
- "http://www.nutch.org/docs/",
- "http://www.nutch.org/docs/",
- "http://www.nutch.org/frames/",
- "http://www.nutch.org/maps/",
- "http://www.nutch.org/whitespace/",
- "http://www.nutch.org//",
- "http://www.nutch.org/",
- "http://www.nutch.org/",
- "http://www.nutch.org/",
- "http://www.nutch.org/;something"
- };
-
- private static final DocumentFragment testDOMs[]=
- new DocumentFragment[testPages.length];
-
- private static URL[] testBaseHrefURLs=
- new URL[testPages.length];
-
-
- private static final String[] answerText= {
- "title body anchor",
- "title body home bots",
- "separate this from this",
- "my title body home 1 2",
- "my title",
- "my title the bottom",
- "my title Whitespace test whitespace test "
- + "This is a whitespace test . Newlines should appear as space too. "
- + "Tabs are spaces too. This is a break -> and the line after break . "
- + "one two three space here space there no space "
- + "one two two three three four put some text here and there. "
- + "End this madness ! . . . .",
- "ignore ignore",
- "test1 test2",
- "test1 test2",
- "title anchor1 anchor2 anchor3",
- "title anchor1 anchor2 anchor3 anchor4 anchor5"
- };
-
- private static final String[] answerTitle= {
- "title",
- "title",
- "",
- "my title",
- "my title",
- "my title",
- "my title",
- "",
- "",
- "",
- "title",
- "title"
- };
-
- // note: should be in page-order
- private static Outlink[][] answerOutlinks;
-
- private static Configuration conf;
- private static DOMContentUtils utils = null;
-
- public TestDOMContentUtils(String name) {
- super(name);
- }
-
- private static void setup() {
- conf = NutchConfiguration.create();
- conf.setBoolean("parser.html.form.use_action", true);
- utils = new DOMContentUtils(conf);
- DOMFragmentParser parser= new DOMFragmentParser();
- for (int i= 0; i < testPages.length; i++) {
- DocumentFragment node=
- new HTMLDocumentImpl().createDocumentFragment();
- try {
- parser.parse(
- new InputSource(
- new ByteArrayInputStream(testPages[i].getBytes()) ),
- node);
- testBaseHrefURLs[i]= new URL(testBaseHrefs[i]);
- } catch (Exception e) {
- assertTrue("caught exception: " + e, false);
- }
- testDOMs[i]= node;
- }
- answerOutlinks = new Outlink[][]{
- {
- new Outlink("http://www.nutch.org", "anchor"),
- },
- {
- new Outlink("http://www.nutch.org/", "home"),
- new Outlink("http://www.nutch.org/docs/bot.html", "bots"),
- },
- {
- new Outlink("http://www.nutch.org/", "separate this"),
- new Outlink("http://www.nutch.org/docs/ok", "from this"),
- },
- {
- new Outlink("http://www.nutch.org/", "home"),
- new Outlink("http://www.nutch.org/docs/1", "1"),
- new Outlink("http://www.nutch.org/docs/2", "2"),
- },
- {
- new Outlink("http://www.nutch.org/frames/top.html", ""),
- new Outlink("http://www.nutch.org/frames/left.html", ""),
- new Outlink("http://www.nutch.org/frames/invalid.html", ""),
- new Outlink("http://www.nutch.org/frames/right.html", ""),
- },
- {
- new Outlink("http://www.nutch.org/maps/logo.gif", ""),
- new Outlink("http://www.nutch.org/index.html", ""),
- new Outlink("http://www.nutch.org/maps/#bottom", ""),
- new Outlink("http://www.nutch.org/bot.html", ""),
- new Outlink("http://www.nutch.org/docs/index.html", ""),
- },
- {
- new Outlink("http://www.nutch.org/index.html", "whitespace test"),
- },
- {
- },
- {
- new Outlink("http://www.nutch.org/dummy.jsp", "test2"),
- },
- {
- },
- {
- new Outlink("http://www.nutch.org/;x", "anchor1"),
- new Outlink("http://www.nutch.org/g;x", "anchor2"),
- new Outlink("http://www.nutch.org/g;x?y#s", "anchor3")
- },
- {
- new Outlink("http://www.nutch.org/g;something", "anchor1"),
- new Outlink("http://www.nutch.org/g;something?y#s", "anchor2"),
- new Outlink("http://www.nutch.org/;something?y=1", "anchor3"),
- new Outlink("http://www.nutch.org/;something?y=1#s", "anchor4"),
- new Outlink("http://www.nutch.org/?y=1;somethingelse", "anchor5")
- }
- };
-
- }
-
- private static boolean equalsIgnoreWhitespace(String s1, String s2) {
- StringTokenizer st1= new StringTokenizer(s1);
- StringTokenizer st2= new StringTokenizer(s2);
-
- while (st1.hasMoreTokens()) {
- if (!st2.hasMoreTokens())
- return false;
- if ( ! st1.nextToken().equals(st2.nextToken()) )
- return false;
- }
- if (st2.hasMoreTokens())
- return false;
- return true;
- }
-
- public void testGetText() {
- if (testDOMs[0] == null)
- setup();
- for (int i= 0; i < testPages.length; i++) {
- StringBuilder sb= new StringBuilder();
- utils.getText(sb, testDOMs[i]);
- String text= sb.toString();
- assertTrue("expecting text: " + answerText[i]
- + System.getProperty("line.separator")
- + System.getProperty("line.separator")
- + "got text: "+ text,
- equalsIgnoreWhitespace(answerText[i], text));
- }
- }
-
- public void testGetTitle() {
- if (testDOMs[0] == null)
- setup();
- for (int i= 0; i < testPages.length; i++) {
- StringBuilder sb= new StringBuilder();
- utils.getTitle(sb, testDOMs[i]);
- String text= sb.toString();
- assertTrue("expecting text: " + answerText[i]
- + System.getProperty("line.separator")
- + System.getProperty("line.separator")
- + "got text: "+ text,
- equalsIgnoreWhitespace(answerTitle[i], text));
- }
- }
-
- public void testGetOutlinks() {
- if (testDOMs[0] == null)
- setup();
- for (int i= 0; i < testPages.length; i++) {
- ArrayList<Outlink> outlinks= new ArrayList<Outlink>();
- if (i == SKIP) {
- conf.setBoolean("parser.html.form.use_action", false);
- utils.setConf(conf);
- } else {
- conf.setBoolean("parser.html.form.use_action", true);
- utils.setConf(conf);
- }
- utils.getOutlinks(testBaseHrefURLs[i], outlinks, testDOMs[i]);
- Outlink[] outlinkArr= new Outlink[outlinks.size()];
- outlinkArr= outlinks.toArray(outlinkArr);
- compareOutlinks(answerOutlinks[i], outlinkArr);
- }
- }
-
- private static final void appendOutlinks(StringBuffer sb, Outlink[] o) {
- for (int i= 0; i < o.length; i++) {
- sb.append(o[i].toString());
- sb.append(System.getProperty("line.separator"));
- }
- }
-
- private static final String outlinksString(Outlink[] o) {
- StringBuffer sb= new StringBuffer();
- appendOutlinks(sb, o);
- return sb.toString();
- }
-
- private static final void compareOutlinks(Outlink[] o1, Outlink[] o2) {
- if (o1.length != o2.length) {
- assertTrue("got wrong number of outlinks (expecting " + o1.length
- + ", got " + o2.length + ")"
- + System.getProperty("line.separator")
- + "answer: " + System.getProperty("line.separator")
- + outlinksString(o1)
- + System.getProperty("line.separator")
- + "got: " + System.getProperty("line.separator")
- + outlinksString(o2)
- + System.getProperty("line.separator"),
- false
- );
- }
-
- for (int i= 0; i < o1.length; i++) {
- if (!o1[i].equals(o2[i])) {
- assertTrue("got wrong outlinks at position " + i
- + System.getProperty("line.separator")
- + "answer: " + System.getProperty("line.separator")
- + o1[i].toString()
- + System.getProperty("line.separator")
- + "got: " + System.getProperty("line.separator")
- + o2[i].toString(),
- false
- );
-
- }
- }
- }
-}
diff --git a/src/plugin/parse-html/src/test/org/apache/nutch/parse/html/TestRobotsMetaProcessor.java b/src/plugin/parse-html/src/test/org/apache/nutch/parse/html/TestRobotsMetaProcessor.java
deleted file mode 100644
index e98584496..000000000
--- a/src/plugin/parse-html/src/test/org/apache/nutch/parse/html/TestRobotsMetaProcessor.java
+++ /dev/null
@@ -1,182 +0,0 @@
-/**
- * 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.
- */
-
-package org.apache.nutch.parse.html;
-
-import junit.framework.TestCase;
-
-import org.apache.nutch.parse.HTMLMetaTags;
-
-import java.io.ByteArrayInputStream;
-import java.net.URL;
-
-import org.cyberneko.html.parsers.*;
-import org.xml.sax.*;
-import org.w3c.dom.*;
-import org.apache.html.dom.*;
-
-/** Unit tests for HTMLMetaProcessor. */
-public class TestRobotsMetaProcessor extends TestCase {
- public TestRobotsMetaProcessor(String name) {
- super(name);
- }
-
- /*
-
- some sample tags:
-
- <meta name="robots" content="index,follow">
- <meta name="robots" content="noindex,follow">
- <meta name="robots" content="index,nofollow">
- <meta name="robots" content="noindex,nofollow">
-
- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
-
- */
-
-
- public static String[] tests=
- {
- "<html><head><title>test page</title>"
- + "<META NAME=\"ROBOTS\" CONTENT=\"NONE\"> "
- + "<META HTTP-EQUIV=\"PRAGMA\" CONTENT=\"NO-CACHE\"> "
- + "</head><body>"
- + " some text"
- + "</body></html>",
-
- "<html><head><title>test page</title>"
- + "<meta name=\"robots\" content=\"all\"> "
- + "<meta http-equiv=\"pragma\" content=\"no-cache\"> "
- + "</head><body>"
- + " some text"
- + "</body></html>",
-
- "<html><head><title>test page</title>"
- + "<MeTa NaMe=\"RoBoTs\" CoNtEnT=\"nOnE\"> "
- + "<MeTa HtTp-EqUiV=\"pRaGmA\" cOnTeNt=\"No-CaChE\"> "
- + "</head><body>"
- + " some text"
- + "</body></html>",
-
- "<html><head><title>test page</title>"
- + "<meta name=\"robots\" content=\"none\"> "
- + "</head><body>"
- + " some text"
- + "</body></html>",
-
- "<html><head><title>test page</title>"
- + "<meta name=\"robots\" content=\"noindex,nofollow\"> "
- + "</head><body>"
- + " some text"
- + "</body></html>",
-
- "<html><head><title>test page</title>"
- + "<meta name=\"robots\" content=\"noindex,follow\"> "
- + "</head><body>"
- + " some text"
- + "</body></html>",
-
- "<html><head><title>test page</title>"
- + "<meta name=\"robots\" content=\"index,nofollow\"> "
- + "</head><body>"
- + " some text"
- + "</body></html>",
-
- "<html><head><title>test page</title>"
- + "<meta name=\"robots\" content=\"index,follow\"> "
- + "<base href=\"http://www.nutch.org/\">"
- + "</head><body>"
- + " some text"
- + "</body></html>",
-
- "<html><head><title>test page</title>"
- + "<meta name=\"robots\"> "
- + "<base href=\"http://www.nutch.org/base/\">"
- + "</head><body>"
- + " some text"
- + "</body></html>",
-
- };
-
- public static final boolean[][] answers= {
- {true, true, true}, // NONE
- {false, false, true}, // all
- {true, true, true}, // nOnE
- {true, true, false}, // none
- {true, true, false}, // noindex,nofollow
- {true, false, false}, // noindex,follow
- {false, true, false}, // index,nofollow
- {false, false, false}, // index,follow
- {false, false, false}, // missing!
- };
-
- private URL[][] currURLsAndAnswers;
-
- public void testRobotsMetaProcessor() {
- DOMFragmentParser parser= new DOMFragmentParser();;
-
- try {
- currURLsAndAnswers= new URL[][] {
- {new URL("http://www.nutch.org"), null},
- {new URL("http://www.nutch.org"), null},
- {new URL("http://www.nutch.org"), null},
- {new URL("http://www.nutch.org"), null},
- {new URL("http://www.nutch.org"), null},
- {new URL("http://www.nutch.org"), null},
- {new URL("http://www.nutch.org"), null},
- {new URL("http://www.nutch.org/foo/"),
- new URL("http://www.nutch.org/")},
- {new URL("http://www.nutch.org"),
- new URL("http://www.nutch.org/base/")}
- };
- } catch (Exception e) {
- assertTrue("couldn't make test URLs!", false);
- }
-
- for (int i= 0; i < tests.length; i++) {
- byte[] bytes= tests[i].getBytes();
-
- DocumentFragment node = new HTMLDocumentImpl().createDocumentFragment();
-
- try {
- parser.parse(new InputSource(new ByteArrayInputStream(bytes)), node);
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- HTMLMetaTags robotsMeta= new HTMLMetaTags();
- HTMLMetaProcessor.getMetaTags(robotsMeta, node,
- currURLsAndAnswers[i][0]);
-
- assertTrue("got index wrong on test " + i,
- robotsMeta.getNoIndex() == answers[i][0]);
- assertTrue("got follow wrong on test " + i,
- robotsMeta.getNoFollow() == answers[i][1]);
- assertTrue("got cache wrong on test " + i,
- robotsMeta.getNoCache() == answers[i][2]);
- assertTrue("got base href wrong on test " + i + " (got "
- + robotsMeta.getBaseHref() + ")",
- ( (robotsMeta.getBaseHref() == null)
- && (currURLsAndAnswers[i][1] == null) )
- || ( (robotsMeta.getBaseHref() != null)
- && robotsMeta.getBaseHref().equals(
- currURLsAndAnswers[i][1]) ) );
-
- }
- }
-
-}
diff --git a/src/plugin/parse-js/ivy.xml b/src/plugin/parse-js/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/parse-js/ivy.xml
+++ b/src/plugin/parse-js/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/parse-rss/ivy.xml b/src/plugin/parse-rss/ivy.xml
index 7cb580493..37a6be13a 100644
--- a/src/plugin/parse-rss/ivy.xml
+++ b/src/plugin/parse-rss/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/parse-rss/src/java/org/apache/nutch/parse/rss/RSSParser.java b/src/plugin/parse-rss/src/java/org/apache/nutch/parse/rss/RSSParser.java
index df24cdb82..7bf9dadf6 100644
--- a/src/plugin/parse-rss/src/java/org/apache/nutch/parse/rss/RSSParser.java
+++ b/src/plugin/parse-rss/src/java/org/apache/nutch/parse/rss/RSSParser.java
@@ -19,6 +19,7 @@ package org.apache.nutch.parse.rss;
// JDK imports
import java.io.ByteArrayInputStream;
+import java.net.MalformedURLException;
import java.nio.ByteBuffer;
import java.util.Collection;
import java.util.HashSet;
@@ -121,12 +122,21 @@ public class RSSParser implements Parser {
indexText.append(" ");
if (r.getLink() != null) {
+ try {
// get the outlink
if (r.getDescription() != null) {
theOutlinks.add(new Outlink(r.getLink(), r.getDescription()));
} else {
theOutlinks.add(new Outlink(r.getLink(), ""));
- }
+ }
+ } catch (MalformedURLException e) {
+ if (LOG.isWarnEnabled()) {
+ LOG.warn("MalformedURL: " + r.getLink());
+ LOG.warn("Attempting to continue processing outlinks");
+ e.printStackTrace(LogUtil.getWarnStream(LOG));
+ }
+ continue;
+ }
}
// now get the descriptions of all the underlying RSS Items and
@@ -142,12 +152,20 @@ public class RSSParser implements Parser {
else whichLink = theRSSItem.getLink();
if (whichLink != null) {
+ try {
if (theRSSItem.getDescription() != null) {
theOutlinks.add(new Outlink(whichLink, theRSSItem.getDescription()));
} else {
theOutlinks.add(new Outlink(whichLink, ""));
}
-
+ } catch (MalformedURLException e) {
+ if (LOG.isWarnEnabled()) {
+ LOG.warn("MalformedURL: " + whichLink);
+ LOG.warn("Attempting to continue processing outlinks");
+ e.printStackTrace(LogUtil.getWarnStream(LOG));
+ }
+ continue;
+ }
}
}
diff --git a/src/plugin/parse-swf/ivy.xml b/src/plugin/parse-swf/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/parse-swf/ivy.xml
+++ b/src/plugin/parse-swf/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/parse-tika/build.xml b/src/plugin/parse-tika/build.xml
index c56a43639..ad71bf4b5 100644
--- a/src/plugin/parse-tika/build.xml
+++ b/src/plugin/parse-tika/build.xml
@@ -22,6 +22,7 @@
<!-- Deploy Unit test dependencies -->
<target name="deps-test">
<ant target="deploy" inheritall="false" dir="../nutch-extensionpoints"/>
+ <ant target="deploy" inheritall="false" dir="../protocol-file"/>
</target>
<!-- for junit test -->
diff --git a/src/plugin/parse-tika/ivy.xml b/src/plugin/parse-tika/ivy.xml
index bd9073c49..9aad5be88 100644
--- a/src/plugin/parse-tika/ivy.xml
+++ b/src/plugin/parse-tika/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/parse-tika/sample/pdftest.pdf b/src/plugin/parse-tika/sample/pdftest.pdf
index c87fdb751..e7c6e6277 100644
--- a/src/plugin/parse-tika/sample/pdftest.pdf
+++ b/src/plugin/parse-tika/sample/pdftest.pdf
@@ -1,5 +1,5 @@
%PDF-1.2
-%����
+%����
9 0 obj
<<
@@ -7,8 +7,8 @@
/Filter /FlateDecode
>>
stream
-H�͐�J�0�� ��{��f�$M��n�-���[&je���ۤ �~�$���}�Ʌ�Ij���s����~�X�-],��$Y���)�'N�u�1!���V�?��?
-�b1Rbb�҉�H�[��TD:#�&ح��X���i�$qnf�����]������a��{��أ���q|J�Ls]�Q�I��j�%��9��`�঺��U�ite�z�$����OeB�Ēү�R��@zܗ���g���<���
+H�͐�J�0�� ��{��f�$M��n�-���[&je���ۤ �~�$���}�Ʌ�Ij���s����~�X�-],��$Y���)�'N�u�1!���V�?��?
+�b1Rbb�҉�H�[��TD:#�&ح��X���i�$qnf�����]������a��{��أ���q|J�Ls]�Q�I��j�%��9��`�঺��U�ite�z�$����OeB�Ēү�R��@zܗ���g���<���
endstream
endobj
10 0 obj
diff --git a/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java b/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java
index 9a41d3a46..c9bf6db41 100644
--- a/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java
+++ b/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.nutch.parse.tika;
import java.io.ByteArrayInputStream;
diff --git a/src/plugin/parse-zip/build.xml b/src/plugin/parse-zip/build.xml
index b53236560..991ce317b 100644
--- a/src/plugin/parse-zip/build.xml
+++ b/src/plugin/parse-zip/build.xml
@@ -23,7 +23,7 @@
<target name="deps-test">
<ant target="deploy" inheritall="false" dir="../nutch-extensionpoints"/>
<ant target="deploy" inheritall="false" dir="../protocol-file"/>
- <ant target="deploy" inheritall="false" dir="../parse-text"/>
+ <!-- <ant target="deploy" inheritall="false" dir="../parse-text"/>-->
</target>
diff --git a/src/plugin/parse-zip/ivy.xml b/src/plugin/parse-zip/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/parse-zip/ivy.xml
+++ b/src/plugin/parse-zip/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/protocol-file/ivy.xml b/src/plugin/protocol-file/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/protocol-file/ivy.xml
+++ b/src/plugin/protocol-file/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/protocol-ftp/ivy.xml b/src/plugin/protocol-ftp/ivy.xml
index 08e7574eb..ee0eeff56 100644
--- a/src/plugin/protocol-ftp/ivy.xml
+++ b/src/plugin/protocol-ftp/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/protocol-http/ivy.xml b/src/plugin/protocol-http/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/protocol-http/ivy.xml
+++ b/src/plugin/protocol-http/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/protocol-httpclient/build.xml b/src/plugin/protocol-httpclient/build.xml
index 728cb1d29..b66eb97a2 100644
--- a/src/plugin/protocol-httpclient/build.xml
+++ b/src/plugin/protocol-httpclient/build.xml
@@ -27,10 +27,6 @@
<fileset dir="${nutch.root}/build">
<include name="**/lib-http/*.jar" />
</fileset>
- <fileset dir="${nutch.root}/lib/jetty-ext">
- <include name="*.jar"/>
- <exclude name="ant.jar"/>
- </fileset>
<pathelement location="${build.dir}/test/conf"/>
</path>
diff --git a/src/plugin/protocol-httpclient/ivy.xml b/src/plugin/protocol-httpclient/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/protocol-httpclient/ivy.xml
+++ b/src/plugin/protocol-httpclient/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/scoring-link/ivy.xml b/src/plugin/scoring-link/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/scoring-link/ivy.xml
+++ b/src/plugin/scoring-link/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/scoring-opic/ivy.xml b/src/plugin/scoring-opic/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/scoring-opic/ivy.xml
+++ b/src/plugin/scoring-opic/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/subcollection/ivy.xml b/src/plugin/subcollection/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/subcollection/ivy.xml
+++ b/src/plugin/subcollection/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/subcollection/plugin.xml b/src/plugin/subcollection/plugin.xml
index 5d5a01bfb..250e078e6 100644
--- a/src/plugin/subcollection/plugin.xml
+++ b/src/plugin/subcollection/plugin.xml
@@ -31,16 +31,6 @@
</library>
</runtime>
- <extension id="org.apache.nutch.searcher.subcollection.query"
- name="Subcollection Query Filter"
- point="org.apache.nutch.searcher.QueryFilter">
- <implementation id="SubcollectionQueryFilter"
- class="org.apache.nutch.searcher.subcollection.SubcollectionQueryFilter">
- <parameter name="raw-fields" value="subcollection"/>
- </implementation>
-
- </extension>
-
<extension id="org.apache.nutch.indexer.subcollection.indexing"
name="Subcollection Indexing Filter"
point="org.apache.nutch.indexer.IndexingFilter">
diff --git a/src/plugin/subcollection/src/java/org/apache/nutch/collection/CollectionManager.java b/src/plugin/subcollection/src/java/org/apache/nutch/collection/CollectionManager.java
index 039b82c4d..52ba2733a 100644
--- a/src/plugin/subcollection/src/java/org/apache/nutch/collection/CollectionManager.java
+++ b/src/plugin/subcollection/src/java/org/apache/nutch/collection/CollectionManager.java
@@ -170,18 +170,21 @@ public class CollectionManager extends Configured {
* @return Space delimited string of collection names url is part of
*/
public String getSubCollections(final String url) {
- String collections = "";
+ StringBuilder collections = new StringBuilder();
final Iterator iterator = collectionMap.values().iterator();
while (iterator.hasNext()) {
final Subcollection subCol = (Subcollection) iterator.next();
if (subCol.filter(url) != null) {
- collections += " " + subCol.name;
+ if (collections.length() > 0) {
+ collections.append(' ');
+ }
+ collections.append(subCol.name);
}
}
if (LOG.isTraceEnabled()) { LOG.trace("subcollections:" + collections); }
- return collections;
+ return collections.toString();
}
/**
diff --git a/src/plugin/subcollection/src/java/org/apache/nutch/indexer/subcollection/SubcollectionIndexingFilter.java b/src/plugin/subcollection/src/java/org/apache/nutch/indexer/subcollection/SubcollectionIndexingFilter.java
index 71d4bb1af..db635c03e 100644
--- a/src/plugin/subcollection/src/java/org/apache/nutch/indexer/subcollection/SubcollectionIndexingFilter.java
+++ b/src/plugin/subcollection/src/java/org/apache/nutch/indexer/subcollection/SubcollectionIndexingFilter.java
@@ -29,7 +29,6 @@ import org.apache.nutch.util.NutchConfiguration;
import org.apache.nutch.indexer.IndexingFilter;
import org.apache.nutch.indexer.IndexingException;
import org.apache.nutch.indexer.NutchDocument;
-import org.apache.nutch.indexer.lucene.LuceneWriter;
import org.apache.nutch.collection.CollectionManager;
import org.apache.nutch.crawl.CrawlDatum;
@@ -72,9 +71,4 @@ public class SubcollectionIndexingFilter extends Configured implements IndexingF
addSubCollectionField(doc, sUrl);
return doc;
}
-
- public void addIndexBackendOptions(Configuration conf) {
- LuceneWriter.addFieldOptions(FIELD_NAME, LuceneWriter.STORE.YES,
- LuceneWriter.INDEX.UNTOKENIZED, conf);
- }
}
diff --git a/src/plugin/subcollection/src/java/org/apache/nutch/searcher/subcollection/SubcollectionQueryFilter.java b/src/plugin/subcollection/src/java/org/apache/nutch/searcher/subcollection/SubcollectionQueryFilter.java
deleted file mode 100644
index 8d83948f5..000000000
--- a/src/plugin/subcollection/src/java/org/apache/nutch/searcher/subcollection/SubcollectionQueryFilter.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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.
- */
-package org.apache.nutch.searcher.subcollection;
-
-import org.apache.hadoop.conf.Configuration;
-import org.apache.nutch.indexer.subcollection.SubcollectionIndexingFilter;
-import org.apache.nutch.searcher.RawFieldQueryFilter;
-
-/** Handles "collection:" query clauses, causing them to search the "collection" field
- * indexed by SubcollectionINdexingFilter. */
-public class SubcollectionQueryFilter extends RawFieldQueryFilter {
- public SubcollectionQueryFilter() {
- super(SubcollectionIndexingFilter.FIELD_NAME);
- }
-
- public void setConf(Configuration conf) {
- // nothing to configure
- }
-
- public Configuration getConf() {
- // nothing configured
- return null;
- }
-}
diff --git a/src/plugin/tld/ivy.xml b/src/plugin/tld/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/tld/ivy.xml
+++ b/src/plugin/tld/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/tld/src/java/org/apache/nutch/indexer/tld/TLDIndexingFilter.java b/src/plugin/tld/src/java/org/apache/nutch/indexer/tld/TLDIndexingFilter.java
index ecbd1c007..3d9df18d1 100644
--- a/src/plugin/tld/src/java/org/apache/nutch/indexer/tld/TLDIndexingFilter.java
+++ b/src/plugin/tld/src/java/org/apache/nutch/indexer/tld/TLDIndexingFilter.java
@@ -67,12 +67,6 @@ public class TLDIndexingFilter implements IndexingFilter {
return this.conf;
}
- public void addIndexBackendOptions(Configuration conf) {
- // store, no index
- LuceneWriter.addFieldOptions("tld", LuceneWriter.STORE.YES,
- LuceneWriter.INDEX.NO, conf);
- }
-
@Override
public Collection<Field> getFields() {
return fields;
diff --git a/src/plugin/urlfilter-automaton/ivy.xml b/src/plugin/urlfilter-automaton/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/urlfilter-automaton/ivy.xml
+++ b/src/plugin/urlfilter-automaton/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/urlfilter-domain/ivy.xml b/src/plugin/urlfilter-domain/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/urlfilter-domain/ivy.xml
+++ b/src/plugin/urlfilter-domain/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/urlfilter-prefix/ivy.xml b/src/plugin/urlfilter-prefix/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/urlfilter-prefix/ivy.xml
+++ b/src/plugin/urlfilter-prefix/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/urlfilter-prefix/src/java/org/apache/nutch/urlfilter/prefix/PrefixURLFilter.java b/src/plugin/urlfilter-prefix/src/java/org/apache/nutch/urlfilter/prefix/PrefixURLFilter.java
index faf79a0af..b21afe6aa 100644
--- a/src/plugin/urlfilter-prefix/src/java/org/apache/nutch/urlfilter/prefix/PrefixURLFilter.java
+++ b/src/plugin/urlfilter-prefix/src/java/org/apache/nutch/urlfilter/prefix/PrefixURLFilter.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-// $Id: PrefixURLFilter.java,v 1.2 2005/02/07 19:10:37 cutting Exp $
+// $Id: PrefixURLFilter.java 823614 2009-10-09 17:02:32Z ab $
package org.apache.nutch.urlfilter.prefix;
diff --git a/src/plugin/urlfilter-regex/ivy.xml b/src/plugin/urlfilter-regex/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/urlfilter-regex/ivy.xml
+++ b/src/plugin/urlfilter-regex/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/urlfilter-suffix/ivy.xml b/src/plugin/urlfilter-suffix/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/urlfilter-suffix/ivy.xml
+++ b/src/plugin/urlfilter-suffix/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/urlfilter-validator/ivy.xml b/src/plugin/urlfilter-validator/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/urlfilter-validator/ivy.xml
+++ b/src/plugin/urlfilter-validator/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/urlnormalizer-basic/ivy.xml b/src/plugin/urlnormalizer-basic/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/urlnormalizer-basic/ivy.xml
+++ b/src/plugin/urlnormalizer-basic/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/urlnormalizer-pass/ivy.xml b/src/plugin/urlnormalizer-pass/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/urlnormalizer-pass/ivy.xml
+++ b/src/plugin/urlnormalizer-pass/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/urlnormalizer-regex/ivy.xml b/src/plugin/urlnormalizer-regex/ivy.xml
index 24d76063d..0a363f774 100644
--- a/src/plugin/urlnormalizer-regex/ivy.xml
+++ b/src/plugin/urlnormalizer-regex/ivy.xml
@@ -27,7 +27,7 @@
</info>
<configurations>
- <include file="../../../ivy/ivy-configurations.xml"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</configurations>
<publications>
diff --git a/src/plugin/urlnormalizer-regex/plugin.xml b/src/plugin/urlnormalizer-regex/plugin.xml
index e75096fdb..20161ce4f 100644
--- a/src/plugin/urlnormalizer-regex/plugin.xml
+++ b/src/plugin/urlnormalizer-regex/plugin.xml
@@ -28,7 +28,7 @@
</runtime>
<requires>
- <import plugin="nutch-extensionpoints"/>
+ <include file="${nutch.root}/ivy/ivy-configurations.xml"/>
</requires>
<extension id="org.apache.nutch.net.urlnormalizer.regex"
diff --git a/src/site/forrest.properties b/src/site/forrest.properties
deleted file mode 100644
index 5e43e3e9c..000000000
--- a/src/site/forrest.properties
+++ /dev/null
@@ -1,106 +0,0 @@
-# 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.
-
-##############
-# Properties used by forrest.build.xml for building the website
-# These are the defaults, un-comment them if you need to change them.
-##############
-
-# Prints out a summary of Forrest settings for this project
-#forrest.echo=true
-
-# Project name (used to name .war file)
-#project.name=my-project
-
-# Specifies name of Forrest skin to use
-#project.skin=tigris
-project.skin=lucene
-
-# comma separated list, file:// is supported
-#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml
-
-##############
-# behavioural properties
-#project.menu-scheme=tab_attributes
-#project.menu-scheme=directories
-
-##############
-# layout properties
-
-# Properties that can be set to override the default locations
-#
-# Parent properties must be set. This usually means uncommenting
-# project.content-dir if any other property using it is uncommented
-
-#project.status=status.xml
-#project.content-dir=src/documentation
-#project.raw-content-dir=${project.content-dir}/content
-#project.conf-dir=${project.content-dir}/conf
-#project.sitemap-dir=${project.content-dir}
-#project.xdocs-dir=${project.content-dir}/content/xdocs
-#project.resources-dir=${project.content-dir}/resources
-#project.stylesheets-dir=${project.resources-dir}/stylesheets
-#project.images-dir=${project.resources-dir}/images
-#project.schema-dir=${project.resources-dir}/schema
-#project.skins-dir=${project.content-dir}/skins
-#project.skinconf=${project.content-dir}/skinconf.xml
-#project.lib-dir=${project.content-dir}/lib
-#project.classes-dir=${project.content-dir}/classes
-#project.translations-dir=${project.content-dir}/translations
-
-##############
-# validation properties
-
-# This set of properties determine if validation is performed
-# Values are inherited unless overridden.
-# e.g. if forrest.validate=false then all others are false unless set to true.
-#forrest.validate=true
-#forrest.validate.xdocs=${forrest.validate}
-#forrest.validate.skinconf=${forrest.validate}
-#forrest.validate.sitemap=${forrest.validate}
-#forrest.validate.stylesheets=${forrest.validate}
-#forrest.validate.skins=${forrest.validate}
-#forrest.validate.skins.stylesheets=${forrest.validate.skins}
-forrest.validate.sitemap=false
-
-# *.failonerror=(true|false) - stop when an XML file is invalid
-#forrest.validate.failonerror=true
-
-# *.excludes=(pattern) - comma-separated list of path patterns to not validate
-# e.g.
-#forrest.validate.xdocs.excludes=samples/subdir/**, samples/faq.xml
-#forrest.validate.xdocs.excludes=
-
-
-##############
-# General Forrest properties
-
-# The URL to start crawling from
-#project.start-uri=linkmap.html
-# Set logging level for messages printed to the console
-# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
-#project.debuglevel=ERROR
-# Max memory to allocate to Java
-#forrest.maxmemory=64m
-# Any other arguments to pass to the JVM. For example, to run on an X-less
-# server, set to -Djava.awt.headless=true
-#forrest.jvmargs=
-# The bugtracking URL - the issue number will be appended
-#project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=
-#project.bugtracking-url=http://issues.apache.org/jira/browse/
-# The issues list as rss
-#project.issues-rss-url=
-#I18n Property only works for the "forrest run" target.
-#project.i18n=true
diff --git a/src/site/src/documentation/README.txt b/src/site/src/documentation/README.txt
deleted file mode 100644
index 9bc261b2f..000000000
--- a/src/site/src/documentation/README.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-This is the base documentation directory.
-
-skinconf.xml # This file customizes Forrest for your project. In it, you
- # tell forrest the project name, logo, copyright info, etc
-
-sitemap.xmap # Optional. This sitemap is consulted before all core sitemaps.
- # See http://forrest.apache.org/docs/project-sitemap.html
diff --git a/src/site/src/documentation/classes/CatalogManager.properties b/src/site/src/documentation/classes/CatalogManager.properties
deleted file mode 100644
index 7ca47f06d..000000000
--- a/src/site/src/documentation/classes/CatalogManager.properties
+++ /dev/null
@@ -1,38 +0,0 @@
-# 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.
-
-#=======================================================================
-# CatalogManager.properties
-#
-# This is the default properties file for Apache Forrest.
-# This facilitates local configuration of application-specific catalogs.
-#
-# See the Apache Forrest documentation:
-# http://forrest.apache.org/docs/your-project.html
-# http://forrest.apache.org/docs/validation.html
-
-# verbosity ... level of messages for status/debug
-# See forrest/src/core/context/WEB-INF/cocoon.xconf
-
-# catalogs ... list of additional catalogs to load
-# (Note that Apache Forrest will automatically load its own default catalog
-# from src/core/context/resources/schema/catalog.xcat)
-# use full pathnames
-# pathname separator is always semi-colon (;) regardless of operating system
-# directory separator is always slash (/) regardless of operating system
-#
-#catalogs=/home/me/forrest/my-site/src/documentation/resources/schema/catalog.xcat
-catalogs=
-
diff --git a/src/site/src/documentation/content/xdocs/about.xml b/src/site/src/documentation/content/xdocs/about.xml
deleted file mode 100644
index b626ebbed..000000000
--- a/src/site/src/documentation/content/xdocs/about.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
- "http://forrest.apache.org/dtd/document-v20.dtd">
-<!--
- 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.
--->
-<document>
-
- <header>
- <title>About Nutch</title>
- </header>
-
- <body>
-
- <section>
- <title>Overview</title> <p>Nutch is open source web-search
- software. It builds on <a href="ext:lucene">Lucene Java</a>,
- adding web-specifics, such as a crawler, a link-graph database,
- parsers for HTML and other document formats, etc.</p>
-
- <p>For more information about Nutch, please see the <a
- href="ext:wiki">Nutch wiki.</a></p>
-
- </section>
-
- </body>
-
-</document>
diff --git a/src/site/src/documentation/content/xdocs/bot.xml b/src/site/src/documentation/content/xdocs/bot.xml
deleted file mode 100644
index 4c2bb58be..000000000
--- a/src/site/src/documentation/content/xdocs/bot.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<document>
-
-<header>
-<title>Nutch robot</title>
-</header>
-
-<body>
-
-<p> If you're reading this, chances are you've seen a Nutch-based
-robot visiting your site while looking through your server logs. Our
-software obeys robots.txt files and robot META tags in HTML. These
-are the standard mechanisms for webmasters to tell web robots which
-portions of a site a robot is welcome to access. </p>
-
-<section><title>Sysadmins/robots.txt</title>
-
-<p>We're a software project, not a service, so please understand that
-a misbehaving crawler appearing with our Agent string is not run by
-us. Our software may be run by anyone. However, we'd still like to
-hear about any bad behavior. If possible, please include the name of
-the domain and some representative log entries. We can be reached at
-<a href="mailto:[email protected]">[email protected]</a>.</p>
-
-<p> Our software obeys the robots.txt exclusion standard, described at
-<a href="http://www.robotstxt.org/wc/exclusion.html#robotstxt">
-http://www.robotstxt.org/wc/exclusion.html#robotstxt</a>. Different
-installations of the Nutch software may specify different agent names,
-but all should respond to the agent name "Nutch". Thus to ban all
-Nutch-based crawlers from your site, place the following in your
-robots.txt file:</p>
-
-<blockquote>
- <pre>User-agent: Nutch<br/>Disallow: /</pre>
-</blockquote>
-
-</section>
-
-
-<section><title>Webmasters/Robots META</title>
-<p>If you do not have permission to edit the
-/robots.txt file on your server, you can still tell robots not to
-index your pages or follow your links. The standard mechanism for
-this is the robots META tag, as described at<a
- href="http://www.robotstxt.org/wc/meta-user.html">
-http://www.robotstxt.org/wc/meta-user.html</a>. </p>
-
-</section>
-
-
-<section><title>Contact us</title>
-
-<p>If your site has problems or questions about the Nutch crawler, please
-send an email to the <a href="mailto:[email protected]">Nutch agent
-mailing list</a>.</p>
-
-</section>
-
-
-</body>
-</document>
diff --git a/src/site/src/documentation/content/xdocs/credits.xml b/src/site/src/documentation/content/xdocs/credits.xml
deleted file mode 100644
index 9b551e7d5..000000000
--- a/src/site/src/documentation/content/xdocs/credits.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
- "http://forrest.apache.org/dtd/document-v20.dtd">
-
-<document>
-
-<header>
- <title>Nutch credits</title>
-</header>
-
-<body>
-
-<section>
-<title>Committers</title>
-<ul>
- <li>Andrzej Bialecki</li>
- <li>Mike Cafarella</li>
- <li><a href="http://www.frutch.org/">Jérôme Charron</a></li>
- <li><a href="http://www.nutch.org/blog/cutting.html">Doug Cutting</a></li>
- <li><a href="http://www.sematext.com/">Otis Gospodnetić</a></li>
- <li>Dogacan Güney</li>
- <li>Piotr Kosiorowski</li>
- <li>Dennis Kubes</li>
- <li><a href="http://www-scf.usc.edu/~mattmann/">Chris A. Mattmann</a></li>
- <li><a href="http://people.apache.org/~siren">Sami Siren</a></li>
- <li>John Xing</li>
-</ul>
-</section>
-
-<section>
-<title>Friends</title>
-<ul>
- <li>Dan Fain (<a href="http://research.yahoo.com/">Yahoo! Research Labs</a>)</li>
- <li><a href="http://www.fenwick.com/">Fenwick &amp; West LLP</a></li>
- <li>Stefan Groschupf (<a href="http://www.media-style.com/">media style GmbH</a>)</li>
- <li>Brewster Kahle (<a href="http://www.archive.org/">Internet Archive</a>)</li>
- <li>Michele Kimpton (<a href="http://www.archive.org/">Internet Archive</a>)</li>
- <li>Joe Kraus (<a href="http://www.digitalconsumer.org/">Digital Consumer</a>)</li>
- <li>Brett Bullington</li>
- <li>Neil &amp; Danny Rimer (<a href="http://www.indexventures.com/">Index Ventures</a>)</li>
- <li>R.J. Pittman (<a href="http://www.groxis.com/">Groxis</a>)</li>
- <li>Rob Cresswell (<a href="http://malachiarts.com/">Malachiarts</a>)</li>
-</ul>
-</section>
-
-<section>
-<title>Sponsors</title>
-<ul>
-
- <li><a href="http://research.yahoo.com/">Yahoo! Research Labs</a> has
- donated hardware and helped to fund development.</li>
-
- <li><a href="http://www.archive.org/">The Internet Archive</a>
- hosts some Nutch work.</li>
-
-</ul>
-</section>
-
-
-</body>
-</document>
diff --git a/src/site/src/documentation/content/xdocs/faq.xml b/src/site/src/documentation/content/xdocs/faq.xml
deleted file mode 100644
index 20af9dc23..000000000
--- a/src/site/src/documentation/content/xdocs/faq.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
- "http://forrest.apache.org/dtd/document-v20.dtd">
-<document>
-
-<header>
- <title>Nutch FAQ</title>
-</header>
-
-<body>
-
-<section>
-<title>How can I stop Nutch from crawling my site?</title>
-
-<p>Please visit our <a href="bot.html">webmaster info page</a>.</p>
-
-</section>
-
-<section>
-<title>Will Nutch be a distributed, P2P-based search engine?</title>
-
-<p>We don't think it is presently possible to build a peer-to-peer
-search engine that is competitive with existing search engines. It
-would just be too slow. Returning results in less than a second is
-important: it lets people rapidly reformulate their queries so that
-they can more often find what they're looking for. In short, a fast
-search engine is a better search engine. I don't think many people
-would want to use a search engine that takes ten or more seconds to
-return results.</p>
-
-<p>That said, if someone wishes to start a sub-project of Nutch
-exploring distributed searching, we'd love to host it. We don't think
-these techniques are likely to solve the hard problems Nutch needs to
-solve, but we'd be happy to be proven wrong.</p>
-
-</section>
-
-<section>
-<title>Will Nutch use a distributed crawler, like <a
-href="http://www.grub.org/">Grub</a>?</title>
-
-<p>Distributed crawling can save download bandwidth, but, in the long
-run, the savings is not significant. A successful search engine
-requires more bandwidth to upload query result pages than its crawler
-needs to download pages, so making the crawler use less bandwidth does
-not reduce overall bandwidth requirements. The dominant expense of
-operating a search engine is not crawling, but searching.</p>
-
-</section>
-
-<section>
-<title>Won't open source just make it easier for sites to manipulate
-rankings?</title>
-
-<p>Search engines work hard to construct ranking algorithms that are
-immune to manipulation. Search engine optimizers still manage to
-reverse-engineer the ranking algorithms used by search engines, and
-improve the ranking of their pages. For example, many sites use link
-farms to manipulate search engines' link-based ranking algorithms, and
-search engines retaliate by improving their link-based algorithms to
-neutralize the effect of link farms.</p>
-
-<p>With an open-source search engine, this will still happen, just out
-in the open. This is analagous to encryption and virus protection
-software. In the long term, making such algorithms open source makes
-them stronger, as more people can examine the source code to find
-flaws and suggest improvements. Thus we believe that an open source
-search engine has the potential to better resist manipulation of its
-rankings.</p>
-
-</section>
-
-</body>
-</document>
diff --git a/src/site/src/documentation/content/xdocs/i18n.xml b/src/site/src/documentation/content/xdocs/i18n.xml
deleted file mode 100644
index 5f2e87c1b..000000000
--- a/src/site/src/documentation/content/xdocs/i18n.xml
+++ /dev/null
@@ -1,216 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<document>
-
-<header>
-<title>i18n</title>
-</header>
-
-<body>
-
-<p>The Nutch search pages are easy to internationalize.</p>
-
-<p>For each language, there are three kinds things which must be
-translated:</p>
-
-<ol>
-
-<li><b>page header</b>: This is a list of anchors included at the top of
-every page.</li>
-
-<li><b>static pages</b>: These include the "about" page, the "search"
-page and the "help" page.</li>
-
-<li><b>dynamic page text</b>: These are strings used when constructing
-search result pages.</li>
-
-</ol>
-
-<p>Each of the above is described in more detail below.</p>
-
-<section><title>Getting Started</title>
-
-<p>The things to translate are:</p>
-
-<ol>
-<li>the page header</li>
-<li>the "about" page (<tt>src/web/pages/<i>lang</i>/about.xml</tt>)</li>
-<li>the "search" page (<tt>src/web/pages/<i>lang</i>/search.xml</tt>)</li>
-<li>the "help" page (<tt>src/web/pages/<i>lang</i>/help.xml</tt>)</li>
-<li>text for search results (<tt>src/web/locale/org/nutch/jsp/search_<i>lang</i>.properties</tt>)</li>
-</ol>
-
-<p>If you'd like to provide a translation, simply post translations of
-these five files to <a href="mailto:[email protected]">[email protected]</a>
-as an attachment.</p>
-
-</section>
-
-<section><title>Page Header</title>
-
-<p>The Nutch page header is included at the top of every page.</p>
-
-<p>The header is filed as
-<tt>src/web/include/<i>language</i>/header.xml</tt> where
-<i>language</i> is the <a
-href="http://ftp.ics.uci.edu/pub/ietf/http/related/iso639.txt">IS0639</a>
-language code.</p>
-
-<p>The format of the header file is:</p>
-
-<pre>
- &lt;header-menu&gt;
- &lt;item&gt; ... &lt;/item&gt;
- &lt;item&gt; ... &lt;/item&gt;
- &lt;/header-menu&gt;
-</pre>
-
-<p>Each item typically includes an HTML anchor, one for each of the
-top-level pages in the translation.</p>
-
-<p>For example, the header file for an English translation is filed
-as <a
-href="http://svn.apache.org/repos/asf/lucene/nutch/trunk/src/web/include/en/header.xml"><tt>src/web/include/en/header.xml</tt></a>.</p>
-
-
-</section>
-
-<section><title>Static Page Content</title>
-
-<p>Static pages compose most of the Nutch website, and are also used
-for project documentation. These are HTML generated from XML files by
-XSLT. This process is used to include a standard header and footer,
-and optionally a menu of sub-pages.</p>
-
-<p>Static page content is filed as
-<tt>src/web/pages/<i>language</i>/<i>page</i>.xml</tt> where
-<i>language</i> is the IS0639 language code, as above, and <i>page</i>
-determines the name of the page generated:
-<tt>docs/<i>page</i>.html</tt>.</p>
-
-<p>The format of a static page xml file is:</p>
-
-<pre>
- &lt;page&gt;
- &lt;title&gt; ... &lt;/title&gt;
- &lt;menu&gt;
- &lt;item&gt; ... &lt;/item&gt;
- &lt;item&gt; ... &lt;/item&gt;
- &lt;/menu&gt;
- &lt;body&gt; ... &lt;/body&gt;
- &lt;/page&gt;
-</pre>
-
-The <tt>&lt;menu&gt;</tt> item is optional.
-
-<p>Note that if you use an encoding other than UTF-8 (the default for
-XML data) then you need to declare that. Also, if you use HTML
-entities in your data, you'll need to declare these too. Look at
-existing translations for examples of this.</p>
-
-<p>For example, the English language "about" page is filed
-as <a
-href="http://svn.apache.org/repos/asf/lucene/nutch/trunk/src/web/pages/en/about.xml"><tt>src/web/pages/en/about.xml</tt></a>.</p>
-
-</section>
-
-<section><title>Dynamic Page Content</title>
-
-<p>Java Server Pages (JSP) is used to generate Nutch search results, and
-a few other dynamic pages (cached content, score explanations, etc.).</p>
-
-<p>These use Java's <a
-href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html">Locale</a>
-mechanism for internationalization. For each page/language pair,
-there is a Java property file containing the translated text of that
-page.</p>
-
-<p>These property files are filed as
-<tt>src/web/locale/org/nutch/jsp/<i>page</i>_<i>language</i>.xml</tt>
-where <i>page</i> is the name of the JSP page in <a
-href="http://svn.apache.org/repos/asf/lucene/nutch/trunk/src/web/jsp/"><tt>src/web/jsp/</tt></a>
-and <i>language</i> is the IS0639 language code, as above.</p>
-
-<p>For example, text for the English language search results page is filed
-as <a
-href="http://svn.apache.org/repos/asf/lucene/nutch/trunk/src/web/locale/org/nutch/jsp/search_en.properties"><tt>src/web/locale/org/nutch/jsp/search_en.properties</tt></a>.
- This contains something like:</p>
-
-<pre>
- title = search results
- search = Search
- hits = Hits &lt;b&gt;{0}-{1}&lt;/b&gt; (out of {2} total matching documents):
- cached = cached
- explain = explain
- anchors = anchors
- next = Next
-</pre>
-
-<p>Each entry corresponds to a text fragment on the search results
-page. The "hits" entry uses Java's <a
-href="http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html">MessageFormat</a>.</p>
-
-<p>Note that property files must use the ISO 8859-1 encoding with
-unicode escapes. If you author them in a different encoding, please
-use Java's <tt>native2ascii</tt> tool to convert them to this
-encoding.</p>
-
-</section>
-
-<section><title>Generating Static Pages</title>
-
-<p>To generate the static pages you must have <a
- href="http://java.sun.com/j2se/downloads.html">Java</a>, <a
- href="http://ant.apache.org/">Ant</a> and Nutch installed. To
- install Nutch, either download and unpack the latest <a
- href="http://lucene.apache.org/nutch/release/nightly/">release</a>, or check it
- out from <a
- href="version_control.html">Subversion</a>.</p>
-
-<p>Then give the command:</p>
-
-<pre>
- ant generate-docs
-</pre>
-
-<i>This documentation needs more detail. Could someone
-please submit a list of the actual steps required here?</i>
-
-
-<p>Once this is working, try adding directories and files to make your
-own translation of the header and a few of the static pages.</p>
-
-</section>
-
-<section><title>Testing Dynamic Pages</title>
-
-<p>To test the dynamic pages you must also have <a
-href="http://jakarta.apache.org/tomcat/">Tomcat</a> installed.</p>
-
-<p>An index is also required. You can collect your own by working
-through the <a href="http://lucene.apache.org/nutch/tutorial.html">tutorial</a>.
-Once you have an index, follow the steps outlined at the end of the
-tutorial for searching.</p>
-
-<i>This documentation needs more detail. Could someone
-please submit a list of the actual steps required here?</i>
-
-</section>
-
-</body>
-</document>
diff --git a/src/site/src/documentation/content/xdocs/index.xml b/src/site/src/documentation/content/xdocs/index.xml
deleted file mode 100644
index d6fd4a27e..000000000
--- a/src/site/src/documentation/content/xdocs/index.xml
+++ /dev/null
@@ -1,179 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
- "http://forrest.apache.org/dtd/document-v20.dtd">
-<!--
- 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.
--->
-<document>
-
- <header>
- <title>Welcome to Nutch!</title>
- </header>
-
- <body>
-
- <section>
- <title>News</title>
-
- <section>
- <title>23 March 2009 - Apache Nutch 1.0 Released</title>
- <p>The 1.0 release of Nutch is now available. This release includes several major feature improvements
- such as new indexing framework, new scoring framework, Apache Solr integration just to mention a few.
- See <a href="http://www.apache.org/dist/lucene/nutch/CHANGES-1.0.txt">
- list of changes</a> made in this version. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
- </section>
-
- <section>
- <title>09 February 2009 - Lucene at ApacheCon Europe 2009 in
- Amsterdam</title>
- <p>
- <a title="ApacheCon EU 2009" href="http://www.eu.apachecon.com/c/aceu2009/">
- <img
- src="http://www.eu.apachecon.com/page_attachments/0000/0115/125x125_basic.gif"
- class="float-right" alt="ApacheCon EU 2009 Logo" />
- </a>
-
- Lucene will be extremely well represented at
- <a href="http://www.eu.apachecon.com/c/aceu2009/">ApacheCon EU 2009</a>
- in Amsterdam, Netherlands this March 23-27, 2009:
- </p>
- <ul>
- <li>
- <a href="http://eu.apachecon.com/c/aceu2009/sessions/197">Lucene Boot Camp</a>
- - A two day training session, March 23 &amp; 24th</li>
- <li><a href="http://eu.apachecon.com/c/aceu2009/sessions/201">Solr Boot Camp</a> - A one day training session, March 24th</li>
- <li><a href="http://eu.apachecon.com/c/aceu2009/sessions/136">Introducing Apache Mahout</a> - Grant Ingersoll. March 25th @ 10:30</li>
- <li><a href="http://eu.apachecon.com/c/aceu2009/sessions/137">Lucene/Solr Case Studies</a> - Erik Hatcher. March 25th @ 11:30</li>
- <li><a href="http://eu.apachecon.com/c/aceu2009/sessions/138">Advanced Indexing Techniques with Apache Lucene</a> - Michael Busch. March 25th @ 14:00</li>
- <li><a href="http://eu.apachecon.com/c/aceu2009/sessions/251">Apache Solr - A Case Study</a> - Uri Boness. March 26th @ 17:30</li>
- <li><a href="http://eu.apachecon.com/c/aceu2009/sessions/250">Best of breed - httpd, forrest, solr and droids</a> - Thorsten Scherler. March 27th @ 17:30</li>
- <li><a href="http://eu.apachecon.com/c/aceu2009/sessions/165">Apache Droids - an intelligent standalone robot framework</a> - Thorsten Scherler. March 26th @ 15:00</li>
-
- </ul>
-
- </section>
- <section>
- <title>2 April 2007: Nutch 0.9 Released</title>
- <p>The 0.9 release of Nutch is now available. This is the second release of Nutch
- based entirely on the underlying Hadoop platform. This release includes several critical
- bug fixes, as well as key speedups described in more detail at
- <a href="http://blog.foofactory.fi/2007/03/twice-speed-half-size.html">Sami Siren's blog</a>.
- See <a href="http://www.apache.org/dist/lucene/nutch/CHANGES-0.9.txt">
- list of changes</a> made in this version. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
- </section>
-
- <section>
- <title>24 September 2006: Nutch 0.8.1 Released</title>
- <p>The 0.8.1 release of Nutch is now available. This is a maintenance release to 0.8 branch fixing many serous bugs found in version 0.8.
- See <a href="http://www.apache.org/dist/lucene/nutch/CHANGES-0.8.1.txt">
- list of changes</a> made in this version. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
- </section>
-
- <section>
- <title>25 July 2006: Nutch 0.8 Released</title>
- <p>The 0.8 release of Nutch is now available. This is the first release of Nutch based on
- hadoop architecure. See <a href="http://svn.apache.org/viewvc/lucene/nutch/tags/release-0.8/CHANGES.txt?view=markup">
- CHANGES.txt</a> for list of changes made in this version. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
- </section>
-
- <section>
- <title>31 March 2006: Nutch 0.7.2 Released</title>
- <p>The 0.7.2 release of Nutch is now available. This is a bug fix release for 0.7 branch. See
- <a href="http://svn.apache.org/viewcvs.cgi/lucene/nutch/branches/branch-0.7/CHANGES.txt?rev=390158">
- CHANGES.txt</a> for details. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
- </section>
-
- <section>
- <title>1 October 2005: Nutch 0.7.1 Released</title>
- <p>The 0.7.1 release of Nutch is now available. This is a bug fix release. See
- <a href="http://svn.apache.org/viewcvs.cgi/lucene/nutch/branches/branch-0.7/CHANGES.txt?rev=292986">
- CHANGES.txt</a> for details. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
- </section>
-
- <section>
- <title>17 August 2005: Nutch 0.7 Released</title>
- <p>This is the first Nutch release as an Apache Lucene sub-project. See
- <a href="http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/CHANGES.txt?rev=233150">
- CHANGES.txt</a> for details. The release is available
- <a href="http://lucene.apache.org/nutch/release/">here</a>.</p>
- </section>
-
-
- <section>
- <title>June 2005: Nutch graduates from Incubator</title>
-
- <p>Nutch has now graduated from the Apache incubator, and is now
- a Subproject of Lucene.</p>
-
- </section>
-
- <section>
- <title>January 2005: Nutch Joins Apache Incubator</title>
-
- <p>Nutch is a two-year-old open source project, previously
- hosted at Sourceforge and backed by its own non-profit
- organization. The non-profit was founded in order to assign
- copyright, so that we could retain the right to change the
- license. We have now determined that the Apache license is the
- appropriate license for Nutch and no longer require the
- overhead of an independent non-profit organization. Nutch's
- board of directors and its developers were both polled and
- supported the move to the Apache foundation.</p>
-
- </section>
-
- <section>
- <title>September 2004: Creative Commons launches Nutch-based Search</title>
-
- <p>Creative Commons unveiled a beta version of its search
- engine, which scours the web for text, images, audio, and video
- free to re-use on certain terms a search refinement offered by
- no other company or organization.</p>
-
- <p>See the <a
- href="http://creativecommons.org/press-releases/entry/5064">Creative
- Commons Press Release</a> for more details.</p>
-
- </section>
-
- <section>
- <title>September 2004: Oregon State University switches to Nutch</title>
-
- <p>Oregon State University is converting its searching
- infrastructure from Googletm to the open source project
- Nutch. The effort to replace the Googletm will realize
- significant cost savings for Oregon State University, while
- promoting both the Nutch Search Engine and transparency in
- search engine use and management.</p>
-
- <p>For more details see the announcement by OSU's <a
- href="http://osuosl.org/news_folder/nutch">Open Source
- Lab</a>.</p>
-
- </section>
-
-
- </section>
-
- </body>
-
-</document>
diff --git a/src/site/src/documentation/content/xdocs/issue_tracking.xml b/src/site/src/documentation/content/xdocs/issue_tracking.xml
deleted file mode 100644
index d906c8767..000000000
--- a/src/site/src/documentation/content/xdocs/issue_tracking.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-<!--
- 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.
--->
-<document>
-
- <header>
- <title>Nutch Issue Tracking</title>
- </header>
-
- <body>
- <p>
- Nutch issues (bugs, as well as enhancement requests) are tracked in
- Apache JIRA <a href="http://issues.apache.org/jira/browse/Nutch">here</a>.
- If you aren't sure whether something is a bug, post a question on the
- Nutch user <a href="mailing_lists.html">mailing list</a>.
- </p>
- </body>
-
-</document>
diff --git a/src/site/src/documentation/content/xdocs/mailing_lists.xml b/src/site/src/documentation/content/xdocs/mailing_lists.xml
deleted file mode 100644
index 16e75e6f7..000000000
--- a/src/site/src/documentation/content/xdocs/mailing_lists.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
- "http://forrest.apache.org/dtd/document-v20.dtd">
-<!--
- 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.
--->
-<document>
-
- <header>
- <title>Nutch Mailing Lists</title>
- </header>
-
- <body>
-
- <section>
- <title>Users</title>
-
- <p>If you use Nutch, please subscribe to the Nutch user mailing list.</p>
-
- <p>
- The Nutch user mailing list is :
- <a href="mailto:[email protected]">[email protected]</a>.
- </p>
- <ul>
- <li><a href="mailto:[email protected]">Subscribe to List</a></li>
- <li><a href="mailto:[email protected]">Unsubscribe from List</a></li>
- <li><a href="http://www.mail-archive.com/nutch-user%40lucene.apache.org/">Search List Archive</a></li>
- <li><a href="http://lucene.apache.org/mail/nutch-user/">View List Archive</a></li>
- </ul>
- <note>In order to post to the list, it is necessary to first subscribe to it.</note>
- </section>
-
- <section>
- <title>Developers</title>
-
- <p>If you'd like to contribute to Nutch, please subscribe to the
- Nutch developer mailing list.</p>
-
- <p>
- The Nutch developer mailing list is :
- <a href="mailto:[email protected]">[email protected]</a>.
- </p>
- <ul>
- <li><a href="mailto:[email protected]">Subscribe to List</a></li>
- <li><a href="mailto:[email protected]">Unsubscribe from List</a></li>
- <li><a href="http://www.mail-archive.com/nutch-dev%40lucene.apache.org/">Search List Archive</a></li>
- <li><a href="http://lucene.apache.org/mail/nutch-dev/">View List Archive</a></li>
- </ul>
- <note>In order to post to the list, it is necessary to first subscribe to it.</note>
- </section>
-
- <section>
- <title>Commits</title>
-
- <p>If you'd like to see changes made in Nutch's <a
- href="version_control.html">version control system</a>
- then subscribe to the Nutch commit mailing list.</p>
-
- <ul>
- <li><a href="mailto:[email protected]">Subscribe to List</a></li>
- <li><a href="mailto:[email protected]">Unsubscribe from List</a></li>
- <li><a href="http://www.mail-archive.com/nutch-commits%40lucene.apache.org/">Search List Archive</a></li>
- <li><a href="http://lucene.apache.org/mail/nutch-commits/">View List Archive</a></li>
- </ul>
- </section>
-
- <section>
- <title>Agents</title>
-
- <p>If you use Nutch to perform extensive crawls of sites that
- you do not control, please subscribe to the Nutch agent mailing
- list. This is where we encourage webmasters to post questions
- about the Nutch crawler.</p>
-
- <p>
- The Nutch agent mailing list is :
- <a href="mailto:[email protected]">[email protected]</a>.
- </p>
- <ul>
- <li><a href="mailto:[email protected]">Subscribe to List</a></li>
- <li><a href="mailto:[email protected]">Unsubscribe from List</a></li>
- <li><a href="http://www.mail-archive.com/nutch-agent%40lucene.apache.org/">Search List Archive</a></li>
- <li><a href="http://lucene.apache.org/mail/nutch-agent/">View List Archive</a></li>
- </ul>
-
- </section>
-
-
- </body>
-
-</document>
diff --git a/src/site/src/documentation/content/xdocs/nightly.xml b/src/site/src/documentation/content/xdocs/nightly.xml
deleted file mode 100644
index 840627b88..000000000
--- a/src/site/src/documentation/content/xdocs/nightly.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-<!--
- 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.
--->
-<document>
-
- <header>
- <title>Nightly builds</title>
- </header>
-
- <body>
- <p>
- Nightly binary builds contains the latest code available. Nightly
- binary builds are provided for testing only. They might or might not
- be functional.
- </p>
- <p>
- You can track the progress of 1.1-dev version from a <a href="http://issues.apache.org/jira/browse/NUTCH?report=com.atlassian.jira.plugin.system.project:roadmap-panel">jira report</a>
- </p>
- <p>
- To report bugs see <a href="issue_tracking.html">issue tracking</a>
- </p>
- <p>
- <a href="http://people.apache.org/builds/lucene/nutch/nightly/">Nutch nightly builds</a> (1.1-dev)
- </p>
- </body>
-
-</document>
\ No newline at end of file
diff --git a/src/site/src/documentation/content/xdocs/site.xml b/src/site/src/documentation/content/xdocs/site.xml
deleted file mode 100644
index 58e0426b3..000000000
--- a/src/site/src/documentation/content/xdocs/site.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-Forrest site.xml
-
-This file contains an outline of the site's information content. It is used to:
-- Generate the website menus (though these can be overridden - see docs)
-- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
-<link href="site:changes"> links to changes.html (or ../changes.html if in
- subdir).
-- Provide aliases for external URLs in the external-refs section. Eg, <link
- href="ext:cocoon"> links to http://xml.apache.org/cocoon/
-
-See http://forrest.apache.org/docs/linking.html for more info.
--->
-<site label="Nutch" href="" xmlns="http://apache.org/forrest/linkmap/1.0">
-
- <project label="Project">
- <news label="News" href="index.html" />
- <about label="About" href="about.html" />
- <credits label="Credits" href="credits.html" />
- <store label="Buy Stuff" href="ext:store" />
- </project>
-
- <docs label="Documentation">
- <faq label="FAQ" href="ext:faq" />
- <wiki label="Wiki" href="ext:wiki" />
- <tutorial label="Tutorial (0.7.2)" href="tutorial.html" />
- <tutorial8 label="Tutorial (0.8.x)" href="tutorial8.html" />
- <webmasters label="Robot " href="bot.html" />
- <i18n label="i18n" href="i18n.html" />
- <apidocs label="API Docs (1.0)" href="apidocs-1.0/index.html" />
- <apidocs label="API Docs (0.9)" href="apidocs-0.9/index.html" />
- <apidocs label="API Docs (0.8.x)" href="apidocs-0.8.x/index.html" />
- <apidocs label="API Docs (0.7.2)" href="apidocs/index.html" />
- <apidocs label="API Docs (nightly)" href="ext:nightly-api" />
- </docs>
-
- <resources label="Resources">
- <download label="Download" href="release/" />
- <nightly label="Nightly builds" href="nightly.html" />
- <contact label="Mailing Lists" href="mailing_lists.html" />
- <issues label="Issue Tracking" href="issue_tracking.html" />
- <vcs label="Version Control" href="version_control.html" />
- </resources>
-
-
- <projects label="Related Projects">
- <lucene label="Lucene Java" href="ext:lucene" />
- <hadoop label="Hadoop" href="ext:hadoop" />
- <solr label="Solr" href="ext:solr" />
- </projects>
-
- <external-refs>
- <lucene href="http://lucene.apache.org/java/" />
- <nightly-api href="http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/docs/api/index.html" />
- <hadoop href="http://lucene.apache.org/hadoop/" />
- <solr href="http://incubator.apache.org/solr/" />
- <wiki href="http://wiki.apache.org/nutch/" />
- <faq href="http://wiki.apache.org/nutch/FAQ" />
- <store href="http://www.cafepress.com/nutch/" />
- </external-refs>
-
-</site>
diff --git a/src/site/src/documentation/content/xdocs/tabs.xml b/src/site/src/documentation/content/xdocs/tabs.xml
deleted file mode 100644
index c3f3475cb..000000000
--- a/src/site/src/documentation/content/xdocs/tabs.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN"
- "tab-cocoon-v10.dtd">
-
-<tabs software="Nutch"
- title="Nutch"
- copyright="The Apache Software Foundation"
- xmlns:xlink="http://www.w3.org/1999/xlink">
-
- <!-- The rules are:
- @dir will always have /index.html added.
- @href is not modified unless it is root-relative and obviously specifies a
- directory (ends in '/'), in which case /index.html will be added
- -->
-
- <tab label="Main" dir=""/>
- <tab label="Wiki" href="http://wiki.apache.org/nutch/"/>
- <tab label="Jira" href="http://issues.apache.org/jira/browse/Nutch"/>
-
-</tabs>
diff --git a/src/site/src/documentation/content/xdocs/tutorial.xml b/src/site/src/documentation/content/xdocs/tutorial.xml
deleted file mode 100644
index 7460750ff..000000000
--- a/src/site/src/documentation/content/xdocs/tutorial.xml
+++ /dev/null
@@ -1,291 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
- "http://forrest.apache.org/dtd/document-v20.dtd">
-
-<document>
-
-<header>
- <title>Nutch version 0.7 tutorial</title>
-</header>
-
-<body>
-
-<section>
-<title>Requirements</title>
-<ol>
- <li>Java 1.4.x, either from <a
- href="http://java.sun.com/j2se/downloads.html">Sun</a> or <a
- href="http://www-106.ibm.com/developerworks/java/jdk/">IBM</a> on
- Linux is preferred. Set <code>NUTCH_JAVA_HOME</code> to the root
- of your JVM installation.
- </li>
- <li>Apache's <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
-4.x.</li>
- <li>On Win32, <a href="http://www.cygwin.com/">cygwin</a>, for
-shell support. (If you plan to use Subversion on Win32, be sure to select the subversion package when you install, in the "Devel" category.)</li>
- <li>Up to a gigabyte of free disk space, a high-speed connection, and
-an hour or so.
- </li>
-</ol>
-</section>
-<section>
-<title>Getting Started</title>
-
-<p>First, you need to get a copy of the Nutch code. You can download
-a release from <a
-href="http://lucene.apache.org/nutch/release/">http://lucene.apache.org/nutch/release/</a>.
-Unpack the release and connect to its top-level directory. Or, check
-out the latest source code from <a
-href="version_control.html">subversion</a> and build it
-with <a href="http://ant.apache.org/">Ant</a>.</p>
-
-<p>Try the following command:</p>
-<source>bin/nutch</source>
-<p>This will display the documentation for the Nutch command script.</p>
-
-<p>Now we're ready to crawl. There are two approaches to crawling:</p>
-<ol>
-<li>Intranet crawling, with the <code>crawl</code> command.</li>
-<li>Whole-web crawling, with much greater control, using the lower
-level <code>inject</code>, <code>generate</code>, <code>fetch</code>
-and <code>updatedb</code> commands.</li>
-</ol>
-
-</section>
-<section>
-<title>Intranet Crawling</title>
-
-<p>Intranet crawling is more appropriate when you intend to crawl up to
-around one million pages on a handful of web servers.</p>
-
-<section>
-<title>Intranet: Configuration</title>
-
-<p>To configure things for intranet crawling you must:</p>
-
-<ol>
-
-<li>Create a flat file of root urls. For example, to crawl the
-<code>nutch</code> site you might start with a file named
-<code>urls</code> containing just the Nutch home page. All other
-Nutch pages should be reachable from this page. The <code>urls</code>
-file would thus look like:
-<source>
-http://lucene.apache.org/nutch/
-</source>
-</li>
-
-<li>Edit the file <code>conf/crawl-urlfilter.txt</code> and replace
-<code>MY.DOMAIN.NAME</code> with the name of the domain you wish to
-crawl. For example, if you wished to limit the crawl to the
-<code>apache.org</code> domain, the line should read:
-<source>
-+^http://([a-z0-9]*\.)*apache.org/
-</source>
-This will include any url in the domain <code>apache.org</code>.
-</li>
-
-</ol>
-
-</section>
-<section>
-<title>Intranet: Running the Crawl</title>
-
-<p>Once things are configured, running the crawl is easy. Just use the
-crawl command. Its options include:</p>
-
-<ul>
-<li><code>-dir</code> <em>dir</em> names the directory to put the crawl in.</li>
-<li><code>-depth</code> <em>depth</em> indicates the link depth from the root
-page that should be crawled.</li>
-<li><code>-delay</code> <em>delay</em> determines the number of seconds
-between accesses to each host.</li>
-<li><code>-threads</code> <em>threads</em> determines the number of
-threads that will fetch in parallel.</li>
-</ul>
-
-<p>For example, a typical call might be:</p>
-
-<source>
-bin/nutch crawl urls -dir crawl.test -depth 3 >&amp; crawl.log
-</source>
-
-<p>Typically one starts testing one's configuration by crawling at low
-depths, and watching the output to check that desired pages are found.
-Once one is more confident of the configuration, then an appropriate
-depth for a full crawl is around 10.</p>
-
-<p>Once crawling has completed, one can skip to the Searching section
-below.</p>
-
-</section>
-</section>
-
-<section>
-<title>Whole-web Crawling</title>
-
-<p>Whole-web crawling is designed to handle very large crawls which may
-take weeks to complete, running on multiple machines.</p>
-
-<section>
-<title>Whole-web: Concepts</title>
-
-<p>Nutch data is of two types:</p>
-
-<ol>
- <li>The web database. This contains information about every
-page known to Nutch, and about links between those pages.</li>
- <li>A set of segments. Each segment is a set of pages that are
-fetched and indexed as a unit. Segment data consists of the
-following types:</li>
- <li><ul>
- <li>a <em>fetchlist</em> is a file
-that names a set of pages to be fetched</li>
- <li>the<em> fetcher output</em> is a
-set of files containing the fetched pages</li>
- <li>the <em>index </em>is a
-Lucene-format index of the fetcher output.</li>
- </ul></li>
-</ol>
-<p>In the following examples we will keep our web database in a directory
-named <code>db</code> and our segments
-in a directory named <code>segments</code>:</p>
-<source>mkdir db
-mkdir segments</source>
-
-</section>
-<section>
-<title>Whole-web: Boostrapping the Web Database</title>
-<p>The admin tool is used to create a new, empty database:</p>
-
-<source>bin/nutch admin db -create</source>
-
-<p>The <em>injector</em> adds urls into the database. Let's inject
-URLs from the <a href="http://dmoz.org/">DMOZ</a> Open
-Directory. First we must download and uncompress the file listing all
-of the DMOZ pages. (This is a 200+Mb file, so this will take a few
-minutes.)</p>
-
-<source>wget http://rdf.dmoz.org/rdf/content.rdf.u8.gz
-gunzip content.rdf.u8.gz</source>
-
-<p>Next we inject a random subset of these pages into the web database.
- (We use a random subset so that everyone who runs this tutorial
-doesn't hammer the same sites.) DMOZ contains around three million
-URLs. We inject one out of every 3000, so that we end up with
-around 1000 URLs:</p>
-
-<source>bin/nutch inject db -dmozfile content.rdf.u8 -subset 3000</source>
-
-<p>This also takes a few minutes, as it must parse the full file.</p>
-
-<p>Now we have a web database with around 1000 as-yet unfetched URLs in it.</p>
-
-</section>
-<section>
-<title>Whole-web: Fetching</title>
-<p>To fetch, we first generate a fetchlist from the database:</p>
-<source>bin/nutch generate db segments
-</source>
-<p>This generates a fetchlist for all of the pages due to be fetched.
- The fetchlist is placed in a newly created segment directory.
- The segment directory is named by the time it's created. We
-save the name of this segment in the shell variable <code>s1</code>:</p>
-<source>s1=`ls -d segments/2* | tail -1`
-echo $s1
-</source>
-<p>Now we run the fetcher on this segment with:</p>
-<source>bin/nutch fetch $s1</source>
-<p>When this is complete, we update the database with the results of the
-fetch:</p>
-<source>bin/nutch updatedb db $s1</source>
-<p>Now the database has entries for all of the pages referenced by the
-initial set.</p>
-
-<p>Now we fetch a new segment with the top-scoring 1000 pages:</p>
-<source>bin/nutch generate db segments -topN 1000
-s2=`ls -d segments/2* | tail -1`
-echo $s2
-
-bin/nutch fetch $s2
-bin/nutch updatedb db $s2
-</source>
-<p>Let's fetch one more round:</p>
-<source>
-bin/nutch generate db segments -topN 1000
-s3=`ls -d segments/2* | tail -1`
-echo $s3
-
-bin/nutch fetch $s3
-bin/nutch updatedb db $s3
-</source>
-
-<p>By this point we've fetched a few thousand pages. Let's index
-them!</p>
-
-</section>
-<section>
-<title>Whole-web: Indexing</title>
-<p>To index each segment we use the <code>index</code>
-command, as follows:</p>
-<source>bin/nutch index $s1
-bin/nutch index $s2
-bin/nutch index $s3</source>
-
-<p>Then, before we can search a set of segments, we need to delete
-duplicate pages. This is done with:</p>
-
-<source>bin/nutch dedup segments dedup.tmp</source>
-
-<p>Now we're ready to search!</p>
-
-</section>
-<section>
-<title>Searching</title>
-
-<p>To search you need to put the nutch war file into your servlet
-container. (If instead of downloading a Nutch release you checked the
-sources out of SVN, then you'll first need to build the war file, with
-the command <code>ant war</code>.)</p>
-
-<p>Assuming you've unpacked Tomcat as ~/local/tomcat, then the Nutch war
-file may be installed with the commands:</p>
-
-<source>rm -rf ~/local/tomcat/webapps/ROOT*
-cp nutch*.war ~/local/tomcat/webapps/ROOT.war
-</source>
-
-<p>The webapp finds its indexes in <code>./segments</code>, relative
-to where you start Tomcat, so, if you've done intranet crawling,
-connect to your crawl directory, or, if you've done whole-web
-crawling, don't change directories, and give the command:</p>
-
-<source>~/local/tomcat/bin/catalina.sh start
-</source>
-
-<p>Then visit <a href="http://localhost:8080/">http://localhost:8080/</a>
-and have fun!</p>
-
-<p>More detailed tutorials are available on the Nutch Wiki.
-</p>
-</section>
-</section>
-
-</body>
-</document>
diff --git a/src/site/src/documentation/content/xdocs/tutorial8.xml b/src/site/src/documentation/content/xdocs/tutorial8.xml
deleted file mode 100644
index 6310196fe..000000000
--- a/src/site/src/documentation/content/xdocs/tutorial8.xml
+++ /dev/null
@@ -1,420 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
- "http://forrest.apache.org/dtd/document-v20.dtd">
-
-<document>
-
-<header>
- <title>Nutch version 0.8.x tutorial</title>
-</header>
-
-<body>
-
-<section>
-<title>Requirements</title>
-<ol>
- <li>Java 1.4.x, either from <a
- href="http://java.sun.com/j2se/downloads.html">Sun</a> or <a
- href="http://www-106.ibm.com/developerworks/java/jdk/">IBM</a> on
- Linux is preferred. Set <code>NUTCH_JAVA_HOME</code> to the root
- of your JVM installation.
- </li>
- <li>Apache's <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
-4.x.</li>
- <li>On Win32, <a href="http://www.cygwin.com/">cygwin</a>, for
-shell support. (If you plan to use Subversion on Win32, be sure to select the subversion package when you install, in the "Devel" category.)</li>
- <li>Up to a gigabyte of free disk space, a high-speed connection, and
-an hour or so.
- </li>
-</ol>
-</section>
-<section>
-<title>Getting Started</title>
-
-<p>First, you need to get a copy of the Nutch code. You can download
-a release from <a
-href="http://lucene.apache.org/nutch/release/">http://lucene.apache.org/nutch/release/</a>.
-Unpack the release and connect to its top-level directory. Or, check
-out the latest source code from <a
-href="version_control.html">subversion</a> and build it
-with <a href="http://ant.apache.org/">Ant</a>.</p>
-
-<p>Try the following command:</p>
-<source>bin/nutch</source>
-<p>This will display the documentation for the Nutch command script.</p>
-
-<p>Now we're ready to crawl. There are two approaches to crawling:</p>
-<ol>
-<li>Intranet crawling, with the <code>crawl</code> command.</li>
-<li>Whole-web crawling, with much greater control, using the lower
-level <code>inject</code>, <code>generate</code>, <code>fetch</code>
-and <code>updatedb</code> commands.</li>
-</ol>
-
-</section>
-<section>
-<title>Intranet Crawling</title>
-
-<p>Intranet crawling is more appropriate when you intend to crawl up to
-around one million pages on a handful of web servers.</p>
-
-<section>
-<title>Intranet: Configuration</title>
-
-<p>To configure things for intranet crawling you must:</p>
-
-<ol>
-
-<li>Create a directory with a flat file of root urls. For example, to
-crawl the <code>nutch</code> site you might start with a file named
-<code>urls/nutch</code> containing the url of just the Nutch home
-page. All other Nutch pages should be reachable from this page. The
-<code>urls/nutch</code> file would thus contain:
-<source>
-http://lucene.apache.org/nutch/
-</source>
-</li>
-
-<li>Edit the file <code>conf/crawl-urlfilter.txt</code> and replace
-<code>MY.DOMAIN.NAME</code> with the name of the domain you wish to
-crawl. For example, if you wished to limit the crawl to the
-<code>apache.org</code> domain, the line should read:
-<source>
-+^http://([a-z0-9]*\.)*apache.org/
-</source>
-This will include any url in the domain <code>apache.org</code>.
-</li>
-<li>Edit the file <code>conf/nutch-site.xml</code>, insert at minimum
-following properties into it and edit in proper values for the properties:
-<source>
-<![CDATA[
-<property>
- <name>http.agent.name</name>
- <value></value>
- <description>HTTP 'User-Agent' request header. MUST NOT be empty -
- please set this to a single word uniquely related to your organization.
-
- NOTE: You should also check other related properties:
-
- http.robots.agents
- http.agent.description
- http.agent.url
- http.agent.email
- http.agent.version
-
- and set their values appropriately.
-
- </description>
-</property>
-
-<property>
- <name>http.agent.description</name>
- <value></value>
- <description>Further description of our bot- this text is used in
- the User-Agent header. It appears in parenthesis after the agent name.
- </description>
-</property>
-
-<property>
- <name>http.agent.url</name>
- <value></value>
- <description>A URL to advertise in the User-Agent header. This will
- appear in parenthesis after the agent name. Custom dictates that this
- should be a URL of a page explaining the purpose and behavior of this
- crawler.
- </description>
-</property>
-
-<property>
- <name>http.agent.email</name>
- <value></value>
- <description>An email address to advertise in the HTTP 'From' request
- header and User-Agent header. A good practice is to mangle this
- address (e.g. 'info at example dot com') to avoid spamming.
- </description>
-</property>
-
-]]>
-</source>
-</li>
-</ol>
-
-</section>
-<section>
-<title>Intranet: Running the Crawl</title>
-
-<p>Once things are configured, running the crawl is easy. Just use the
-crawl command. Its options include:</p>
-
-<ul>
-<li><code>-dir</code> <em>dir</em> names the directory to put the crawl in.</li>
-<li><code>-threads</code> <em>threads</em> determines the number of
-threads that will fetch in parallel.</li>
-<li><code>-depth</code> <em>depth</em> indicates the link depth from the root
-page that should be crawled.</li>
-<li><code>-topN</code> <em>N</em> determines the maximum number of pages that
-will be retrieved at each level up to the depth.</li>
-</ul>
-
-<p>For example, a typical call might be:</p>
-
-<source>
-bin/nutch crawl urls -dir crawl -depth 3 -topN 50
-</source>
-
-<p>Typically one starts testing one's configuration by crawling at
-shallow depths, sharply limiting the number of pages fetched at each
-level (<code>-topN</code>), and watching the output to check that
-desired pages are fetched and undesirable pages are not. Once one is
-confident of the configuration, then an appropriate depth for a full
-crawl is around 10. The number of pages per level
-(<code>-topN</code>) for a full crawl can be from tens of thousands to
-millions, depending on your resources.</p>
-
-<p>Once crawling has completed, one can skip to the Searching section
-below.</p>
-
-</section>
-</section>
-
-<section>
-<title>Whole-web Crawling</title>
-
-<p>Whole-web crawling is designed to handle very large crawls which may
-take weeks to complete, running on multiple machines.</p>
-
-<section>
-<title>Whole-web: Concepts</title>
-
-<p>Nutch data is composed of:</p>
-
-<ol>
-
- <li>The crawl database, or <em>crawldb</em>. This contains
-information about every url known to Nutch, including whether it was
-fetched, and, if so, when.</li>
-
- <li>The link database, or <em>linkdb</em>. This contains the list
-of known links to each url, including both the source url and anchor
-text of the link.</li>
-
- <li>A set of <em>segments</em>. Each segment is a set of urls that are
-fetched as a unit. Segments are directories with the following
-subdirectories:</li>
-
- <li><ul>
- <li>a <em>crawl_generate</em> names a set of urls to be fetched</li>
- <li>a <em>crawl_fetch</em> contains the status of fetching each url</li>
- <li>a <em>content</em> contains the content of each url</li>
- <li>a <em>parse_text</em> contains the parsed text of each url</li>
- <li>a <em>parse_data</em> contains outlinks and metadata parsed
- from each url</li>
- <li>a <em>crawl_parse</em> contains the outlink urls, used to
- update the crawldb</li>
- </ul></li>
-
-<li>The <em>indexes</em>are Lucene-format indexes.</li>
-
-</ol>
-
-</section>
-<section>
-<title>Whole-web: Boostrapping the Web Database</title>
-
-<p>The <em>injector</em> adds urls to the crawldb. Let's inject URLs
-from the <a href="http://dmoz.org/">DMOZ</a> Open Directory. First we
-must download and uncompress the file listing all of the DMOZ pages.
-(This is a 200+Mb file, so this will take a few minutes.)</p>
-
-<source>wget http://rdf.dmoz.org/rdf/content.rdf.u8.gz
-gunzip content.rdf.u8.gz</source>
-
-<p>Next we select a random subset of these pages.
- (We use a random subset so that everyone who runs this tutorial
-doesn't hammer the same sites.) DMOZ contains around three million
-URLs. We select one out of every 5000, so that we end up with
-around 1000 URLs:</p>
-
-<source>mkdir dmoz
-bin/nutch org.apache.nutch.tools.DmozParser content.rdf.u8 -subset 5000 &gt; dmoz/urls</source>
-
-<p>The parser also takes a few minutes, as it must parse the full
-file. Finally, we initialize the crawl db with the selected urls.</p>
-
-<source>bin/nutch inject crawl/crawldb dmoz</source>
-
-<p>Now we have a web database with around 1000 as-yet unfetched URLs in it.</p>
-
-</section>
-<section>
-<title>Whole-web: Fetching</title>
-<p>
-Starting from 0.8 nutch user agent identifier needs to be configured
-before fetching. To do this you must edit the file <code>conf/nutch-site.xml</code>, insert at minimum
-following properties into it and edit in proper values for the properties:
-</p>
-<source>
-<![CDATA[
-<property>
- <name>http.agent.name</name>
- <value></value>
- <description>HTTP 'User-Agent' request header. MUST NOT be empty -
- please set this to a single word uniquely related to your organization.
-
- NOTE: You should also check other related properties:
-
- http.robots.agents
- http.agent.description
- http.agent.url
- http.agent.email
- http.agent.version
-
- and set their values appropriately.
-
- </description>
-</property>
-
-<property>
- <name>http.agent.description</name>
- <value></value>
- <description>Further description of our bot- this text is used in
- the User-Agent header. It appears in parenthesis after the agent name.
- </description>
-</property>
-
-<property>
- <name>http.agent.url</name>
- <value></value>
- <description>A URL to advertise in the User-Agent header. This will
- appear in parenthesis after the agent name. Custom dictates that this
- should be a URL of a page explaining the purpose and behavior of this
- crawler.
- </description>
-</property>
-
-<property>
- <name>http.agent.email</name>
- <value></value>
- <description>An email address to advertise in the HTTP 'From' request
- header and User-Agent header. A good practice is to mangle this
- address (e.g. 'info at example dot com') to avoid spamming.
- </description>
-</property>
-
-]]>
-</source>
-<p>To fetch, we first generate a fetchlist from the database:</p>
-<source>bin/nutch generate crawl/crawldb crawl/segments
-</source>
-<p>This generates a fetchlist for all of the pages due to be fetched.
- The fetchlist is placed in a newly created segment directory.
- The segment directory is named by the time it's created. We
-save the name of this segment in the shell variable <code>s1</code>:</p>
-<source>s1=`ls -d crawl/segments/2* | tail -1`
-echo $s1
-</source>
-<p>Now we run the fetcher on this segment with:</p>
-<source>bin/nutch fetch $s1</source>
-<p>When this is complete, we update the database with the results of the
-fetch:</p>
-<source>bin/nutch updatedb crawl/crawldb $s1</source>
-<p>Now the database has entries for all of the pages referenced by the
-initial set.</p>
-
-<p>Now we fetch a new segment with the top-scoring 1000 pages:</p>
-<source>bin/nutch generate crawl/crawldb crawl/segments -topN 1000
-s2=`ls -d crawl/segments/2* | tail -1`
-echo $s2
-
-bin/nutch fetch $s2
-bin/nutch updatedb crawl/crawldb $s2
-</source>
-<p>Let's fetch one more round:</p>
-<source>
-bin/nutch generate crawl/crawldb crawl/segments -topN 1000
-s3=`ls -d crawl/segments/2* | tail -1`
-echo $s3
-
-bin/nutch fetch $s3
-bin/nutch updatedb crawl/crawldb $s3
-</source>
-
-<p>By this point we've fetched a few thousand pages. Let's index
-them!</p>
-
-</section>
-<section>
-<title>Whole-web: Indexing</title>
-
-<p>Before indexing we first invert all of the links, so that we may
-index incoming anchor text with the pages.</p>
-
-<source>bin/nutch invertlinks crawl/linkdb crawl/segments/*</source>
-
-<p>To index the segments we use the <code>index</code> command, as follows:</p>
-
-<source>bin/nutch index crawl/indexes crawl/crawldb crawl/linkdb crawl/segments/*</source>
-
-<!-- <p>Then, before we can search a set of segments, we need to delete -->
-<!-- duplicate pages. This is done with:</p> -->
-
-<!-- <source>bin/nutch dedup indexes</source> -->
-
-<p>Now we're ready to search!</p>
-
-</section>
-<section>
-<title>Searching</title>
-<p>
-Simplest way to verify the integrity of your crawl is to launch NutchBean from command line:
-</p>
-<source>bin/nutch org.apache.nutch.searcher.NutchBean apache</source>
-<p>
-After you have verified that the above command returns results you can proceed to
-setting up the web interface.
-</p>
-<p>To search you need to put the nutch war file into your servlet
-container. (If instead of downloading a Nutch release you checked the
-sources out of SVN, then you'll first need to build the war file, with
-the command <code>ant war</code>.)</p>
-
-<p>Assuming you've unpacked Tomcat as ~/local/tomcat, then the Nutch war
-file may be installed with the commands:</p>
-
-<source>rm -rf ~/local/tomcat/webapps/ROOT*
-cp nutch*.war ~/local/tomcat/webapps/ROOT.war
-</source>
-
-<p>The webapp finds its indexes in <code>./crawl</code>, relative
-to where you start Tomcat, so use a command like:</p>
-
-<source>~/local/tomcat/bin/catalina.sh start
-</source>
-
-<p>Then visit <a href="http://localhost:8080/">http://localhost:8080/</a>
-and have fun!</p>
-
-<p>More detailed tutorials are available on the Nutch Wiki.
-</p>
-
-</section>
-</section>
-
-</body>
-</document>
diff --git a/src/site/src/documentation/content/xdocs/version_control.xml b/src/site/src/documentation/content/xdocs/version_control.xml
deleted file mode 100644
index d452a775b..000000000
--- a/src/site/src/documentation/content/xdocs/version_control.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-
-<document>
-
- <header>
- <title>Nutch Version Control System</title>
- </header>
-
- <body>
-
- <section>
- <title>Overview</title>
- <p>
- The Nutch source code resides in the Apache <a href="http://subversion.tigris.org/">Subversion (SVN)</a> repository.
- The command-line SVN client can be obtained <a href="http://subversion.tigris.org/project_packages.html">here</a>.
- The TortoiseSVN GUI client for Windows can be obtained <a href="http://tortoisesvn.tigris.org/">here</a>. There
- are also SVN plugins available for both <a href="http://subclipse.tigris.org/">Eclipse</a> and
- <a href="http://svnup.tigris.org/">IntelliJ IDEA</a>.
- </p>
- </section>
-
- <section>
- <title>Web Access (read-only)</title>
- <p>
- The source code can be browsed via the Web at
- <a href="http://svn.apache.org/viewcvs.cgi/lucene/nutch/">http://svn.apache.org/viewcvs.cgi/lucene/nutch/</a>.
- No SVN client software is required.
- </p>
- </section>
-
- <section>
- <title>Anonymous Access (read-only)</title>
- <p>
- The SVN URL for anonymous users is
- <a href="http://svn.apache.org/repos/asf/lucene/nutch/">http://svn.apache.org/repos/asf/lucene/nutch/</a>.
- Instructions for anonymous SVN access are
- <a href="http://www.apache.org/dev/version-control.html#anon-svn">here</a>.
- </p>
- </section>
-
- <section>
- <title>Committer Access (read-write)</title>
- <p>
- The SVN URL for committers is
- <a href="https://svn.apache.org/repos/asf/lucene/nutch/">https://svn.apache.org/repos/asf/lucene/nutch/</a>.
- Instructions for committer SVN access are
- <a href="http://www.apache.org/dev/version-control.html#https-svn">here</a>.
- </p>
- </section>
-
- </body>
-
-</document>
diff --git a/src/site/src/documentation/resources/images/favicon.ico b/src/site/src/documentation/resources/images/favicon.ico
deleted file mode 100644
index e07ca51d6..000000000
Binary files a/src/site/src/documentation/resources/images/favicon.ico and /dev/null differ
diff --git a/src/site/src/documentation/resources/images/lucene_green_150.gif b/src/site/src/documentation/resources/images/lucene_green_150.gif
deleted file mode 100644
index 494801776..000000000
Binary files a/src/site/src/documentation/resources/images/lucene_green_150.gif and /dev/null differ
diff --git a/src/site/src/documentation/resources/images/nutch-logo.gif b/src/site/src/documentation/resources/images/nutch-logo.gif
deleted file mode 100644
index a2115e1f7..000000000
Binary files a/src/site/src/documentation/resources/images/nutch-logo.gif and /dev/null differ
diff --git a/src/site/src/documentation/skinconf.xml b/src/site/src/documentation/skinconf.xml
deleted file mode 100644
index ae92c5273..000000000
--- a/src/site/src/documentation/skinconf.xml
+++ /dev/null
@@ -1,346 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-
-<!--
-Skin configuration file. This file contains details of your project,
-which will be used to configure the chosen Forrest skin.
--->
-
-<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.6-3//EN" "http://forrest.apache.org/dtd/skinconfig-v06-3.dtd">
-<skinconfig>
- <!-- To enable lucene search add provider="lucene" (default is google).
- Add box-location="alt" to move the search box to an alternate location
- (if the skin supports it) and box-location="all" to show it in all
- available locations on the page. Remove the <search> element to show
- no search box. @domain will enable sitesearch for the specific domain with google.
- In other words google will search the @domain for the query string.
-
- -->
- <search name="Solr" provider="Solr"/>
-
- <!-- Disable the print link? If enabled, invalid HTML 4.0.1 -->
- <disable-print-link>true</disable-print-link>
- <!-- Disable the PDF link? -->
- <disable-pdf-link>false</disable-pdf-link>
- <!-- Disable the POD link? -->
- <disable-pod-link>true</disable-pod-link>
- <!-- Disable the Text link? FIXME: NOT YET IMPLEMENETED. -->
- <disable-txt-link>true</disable-txt-link>
- <!-- Disable the xml source link? -->
- <!-- The xml source link makes it possible to access the xml rendition
- of the source frim the html page, and to have it generated statically.
- This can be used to enable other sites and services to reuse the
- xml format for their uses. Keep this disabled if you don't want other
- sites to easily reuse your pages.-->
- <disable-xml-link>true</disable-xml-link>
-
- <!-- Disable navigation icons on all external links? -->
- <disable-external-link-image>true</disable-external-link-image>
-
- <!-- Disable w3c compliance links?
- Use e.g. align="center" to move the compliance links logos to
- an alternate location default is left.
- (if the skin supports it) -->
- <disable-compliance-links>true</disable-compliance-links>
-
- <!-- Render mailto: links unrecognisable by spam harvesters? -->
- <obfuscate-mail-links>false</obfuscate-mail-links>
-
- <!-- Disable the javascript facility to change the font size -->
- <disable-font-script>true</disable-font-script>
-
- <!-- project logo -->
- <project-name>Nutch</project-name>
- <project-description>Open Source Web Search Software</project-description>
- <project-url>http://lucene.apache.org/nutch/</project-url>
- <project-logo>images/nutch-logo.gif</project-logo>
-
- <!-- group logo -->
- <group-name>Lucene</group-name>
- <group-description>Apache Lucene</group-description>
- <group-url>http://lucene.apache.org/</group-url>
- <group-logo>images/lucene_green_150.gif</group-logo>
-
- <!-- optional host logo (e.g. sourceforge logo)
- default skin: renders it at the bottom-left corner -->
- <host-url></host-url>
- <host-logo></host-logo>
-
- <!-- relative url of a favicon file, normally favicon.ico -->
- <favicon-url>images/favicon.ico</favicon-url>
-
- <!-- The following are used to construct a copyright statement -->
- <year>2006</year>
- <vendor>The Apache Software Foundation.</vendor>
- <copyright-link>http://www.apache.org/licenses/</copyright-link>
-
- <!-- Some skins use this to form a 'breadcrumb trail' of links.
- Use location="alt" to move the trail to an alternate location
- (if the skin supports it).
- Omit the location attribute to display the trail in the default location.
- Use location="none" to not display the trail (if the skin supports it).
- For some skins just set the attributes to blank.
- -->
- <trail>
- <link1 name="Apache" href="http://www.apache.org/"/>
- <link2 name="Lucene" href="http://lucene.apache.org/"/>
- <link3 name="Nutch" href="http://lucene.apache.org/nutch/"/>
- </trail>
-
- <!-- Configure the TOC, i.e. the Table of Contents.
- @max-depth
- how many "section" levels need to be included in the
- generated Table of Contents (TOC).
- @min-sections
- Minimum required to create a TOC.
- @location ("page","menu","page,menu", "none")
- Where to show the TOC.
- -->
- <toc max-depth="2" min-sections="1" location="page"/>
-
- <!-- Heading types can be clean|underlined|boxed -->
- <headings type="clean"/>
-
- <!-- The optional feedback element will be used to construct a
- feedback link in the footer with the page pathname appended:
- <a href="@href">{@to}</a>
- <feedback to="[email protected]"
- href="mailto:[email protected]?subject=Feedback&#160;" >
- Send feedback about the website to:
- </feedback>
- -->
- <!--
- extra-css - here you can define custom css-elements that are
- a. overriding the fallback elements or
- b. adding the css definition from new elements that you may have
- used in your documentation.
- -->
- <extra-css>
- <!--Example of b.
- To define the css definition of a new element that you may have used
- in the class attribute of a <p> node.
- e.g. <p class="quote"/>
- -->
- p.quote {
- margin-left: 2em;
- padding: .5em;
- background-color: #f0f0f0;
- font-family: monospace;
- }
- </extra-css>
-
- <colors>
- <!-- These values are used for the generated CSS files. -->
-
- <!-- Krysalis -->
-<!--
- <color name="header" value="#FFFFFF"/>
-
- <color name="tab-selected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="tab-unselected" value="#F7F7F7" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="subtab-selected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="subtab-unselected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
-
- <color name="heading" value="#a5b6c6"/>
- <color name="subheading" value="#CFDCED"/>
-
- <color name="navstrip" value="#CFDCED" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="toolbox" value="#a5b6c6"/>
- <color name="border" value="#a5b6c6"/>
-
- <color name="menu" value="#F7F7F7" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="dialog" value="#F7F7F7"/>
-
- <color name="body" value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
-
- <color name="table" value="#a5b6c6"/>
- <color name="table-cell" value="#ffffff"/>
- <color name="highlight" value="#ffff00"/>
- <color name="fixme" value="#cc6600"/>
- <color name="note" value="#006699"/>
- <color name="warning" value="#990000"/>
- <color name="code" value="#a5b6c6"/>
-
- <color name="footer" value="#a5b6c6"/>
--->
-
- <!-- Forrest -->
-<!--
- <color name="header" value="#294563"/>
-
- <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
- <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
- <color name="subtab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
- <color name="subtab-unselected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-
- <color name="heading" value="#294563"/>
- <color name="subheading" value="#4a6d8c"/>
-
- <color name="navstrip" value="#cedfef" font="#0F3660" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
- <color name="toolbox" value="#4a6d8c"/>
- <color name="border" value="#294563"/>
-
- <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/>
- <color name="dialog" value="#4a6d8c"/>
-
- <color name="body" value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
-
- <color name="table" value="#7099C5"/>
- <color name="table-cell" value="#f0f0ff"/>
- <color name="highlight" value="#ffff00"/>
- <color name="fixme" value="#cc6600"/>
- <color name="note" value="#006699"/>
- <color name="warning" value="#990000"/>
- <color name="code" value="#CFDCED"/>
-
- <color name="footer" value="#cedfef"/>
--->
-
- <!-- Collabnet -->
-<!--
- <color name="header" value="#003366"/>
-
- <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
- <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
-
- <color name="heading" value="#003366"/>
- <color name="subheading" value="#888888"/>
-
- <color name="navstrip" value="#dddddd" font="#555555"/>
- <color name="toolbox" value="#dddddd" font="#555555"/>
- <color name="border" value="#999999"/>
-
- <color name="menu" value="#ffffff"/>
- <color name="dialog" value="#eeeeee"/>
-
- <color name="body" value="#ffffff"/>
-
- <color name="table" value="#ccc"/>
- <color name="table-cell" value="#ffffff"/>
- <color name="highlight" value="#ffff00"/>
- <color name="fixme" value="#cc6600"/>
- <color name="note" value="#006699"/>
- <color name="warning" value="#990000"/>
- <color name="code" value="#003366"/>
-
- <color name="footer" value="#ffffff"/>
--->
- <!-- Lenya using pelt-->
-<!--
- <color name="header" value="#ffffff"/>
-
- <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="subtab-selected" value="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
-
- <color name="heading" value="#E5E4D9"/>
- <color name="subheading" value="#000000"/>
- <color name="published" value="#4C6C8F" font="#FFFFFF"/>
- <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
- <color name="navstrip" value="#E5E4D9" font="#000000"/>
-
- <color name="toolbox" value="#CFDCED" font="#000000"/>
-
- <color name="border" value="#999999"/>
- <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff" current="#FFCC33" />
- <color name="menuheading" value="#cfdced" font="#000000" />
- <color name="searchbox" value="#E5E4D9" font="#000000"/>
-
- <color name="dialog" value="#CFDCED"/>
- <color name="body" value="#ffffff" />
-
- <color name="table" value="#ccc"/>
- <color name="table-cell" value="#ffffff"/>
- <color name="highlight" value="#ffff00"/>
- <color name="fixme" value="#cc6600"/>
- <color name="note" value="#006699"/>
- <color name="warning" value="#990000"/>
- <color name="code" value="#003366"/>
-
- <color name="footer" value="#E5E4D9"/>
--->
- </colors>
-
- <!-- Settings specific to PDF output. -->
- <pdf>
- <!--
- Supported page sizes are a0, a1, a2, a3, a4, a5, executive,
- folio, legal, ledger, letter, quarto, tabloid (default letter).
- Supported page orientations are portrait, landscape (default
- portrait).
- Supported text alignments are left, right, justify (default left).
- -->
- <page size="letter" orientation="portrait" text-align="left"/>
-
- <!--
- Margins can be specified for top, bottom, inner, and outer
- edges. If double-sided="false", the inner edge is always left
- and the outer is always right. If double-sided="true", the
- inner edge will be left on odd pages, right on even pages,
- the outer edge vice versa.
- Specified below are the default settings.
- -->
- <margins double-sided="false">
- <top>1in</top>
- <bottom>1in</bottom>
- <inner>1.25in</inner>
- <outer>1in</outer>
- </margins>
-
- <!--
- Print the URL text next to all links going outside the file
- -->
- <show-external-urls>false</show-external-urls>
-
- <!--
- Disable the copyright footer on each page of the PDF.
- A footer is composed for each page. By default, a "credit" with role=pdf
- will be used, as explained below. Otherwise a copyright statement
- will be generated. This latter can be disabled.
- -->
- <disable-copyright-footer>false</disable-copyright-footer>
- </pdf>
-
- <!-- Credits are typically rendered as a set of small clickable
- images in the page footer.
- Use box-location="alt" to move the credit to an alternate location
- (if the skin supports it).
- -->
- <credits>
- <credit box-location="alt">
- <name>Built with Apache Forrest</name>
- <url>http://forrest.apache.org/</url>
- <image>images/built-with-forrest-button.png</image>
- <width>88</width>
- <height>31</height>
- </credit>
- <!-- A credit with @role="pdf" will be used to compose a footer
- for each page in the PDF, using either "name" or "url" or both.
- -->
- <!--
- <credit role="pdf">
- <name>Built with Apache Forrest</name>
- <url>http://forrest.apache.org/</url>
- </credit>
- -->
- </credits>
-
-</skinconfig>
diff --git a/src/site/src/documentation/skins/common/css/forrest.css.xslt b/src/site/src/documentation/skins/common/css/forrest.css.xslt
deleted file mode 100644
index fbfa020f6..000000000
--- a/src/site/src/documentation/skins/common/css/forrest.css.xslt
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<!-- This is not used by Forrest but makes it possible to debug the
- stylesheet in standalone editors -->
- <xsl:output method = "text" omit-xml-declaration="yes" />
-<!--
- If the skin doesn't override this, at least aural styles
- and extra-css are present
--->
- <xsl:template match="skinconfig">
- <xsl:call-template name="aural"/>
- <xsl:call-template name="a-external"/>
- <xsl:apply-templates/>
- <xsl:call-template name="add-extra-css"/>
- </xsl:template>
- <xsl:template match="colors">
- <xsl:apply-templates/>
- </xsl:template>
- <xsl:template name="aural">
-
-/* ==================== aural ============================ */
-
-@media aural {
- h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
- h1 { pitch: x-low; pitch-range: 90 }
- h2 { pitch: x-low; pitch-range: 80 }
- h3 { pitch: low; pitch-range: 70 }
- h4 { pitch: medium; pitch-range: 60 }
- h5 { pitch: medium; pitch-range: 50 }
- h6 { pitch: medium; pitch-range: 40 }
- li, dt, dd { pitch: medium; richness: 60 }
- dt { stress: 80 }
- pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
- em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
- strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
- dfn { pitch: high; pitch-range: 60; stress: 60 }
- s, strike { richness: 0 }
- i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
- b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
- u { richness: 0 }
-
- :link { voice-family: harry, male }
- :visited { voice-family: betty, female }
- :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
-}
- </xsl:template>
- <xsl:template name="a-external">
-a.external {
- padding: 0 20px 0px 0px;
- display:inline;
- background-repeat: no-repeat;
- background-position: center right;
- background-image: url(images/external-link.gif);
-}
- </xsl:template>
- <xsl:template name="add-extra-css">
-<xsl:text>/* extra-css */</xsl:text>
- <xsl:value-of select="extra-css"/>
- </xsl:template>
- <xsl:template match="*"></xsl:template>
- <xsl:template match="text()"></xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/images/README.txt b/src/site/src/documentation/skins/common/images/README.txt
deleted file mode 100644
index e0932f4a4..000000000
--- a/src/site/src/documentation/skins/common/images/README.txt
+++ /dev/null
@@ -1 +0,0 @@
-The images in this directory are used if the current skin lacks them.
diff --git a/src/site/src/documentation/skins/common/images/corner-imports.svg.xslt b/src/site/src/documentation/skins/common/images/corner-imports.svg.xslt
deleted file mode 100644
index 95b58d26f..000000000
--- a/src/site/src/documentation/skins/common/images/corner-imports.svg.xslt
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:param name="orientation-tb"/>
- <xsl:param name="orientation-lr"/>
- <xsl:param name="size"/>
- <xsl:param name="bg-color-name"/>
- <xsl:param name="stroke-color-name"/>
- <xsl:param name="fg-color-name"/>
-<!-- if not all colors are present, don't even try to render the corners -->
- <xsl:variable name="isize">
- <xsl:choose>
- <xsl:when test="$bg-color-name and $stroke-color-name and $fg-color-name">
- <xsl:value-of select="$size"/>
- </xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="smallersize" select="number($isize)-1"/>
- <xsl:variable name="biggersize" select="number($isize)+1"/>
- <xsl:variable name="bg">
- <xsl:if test="skinconfig/colors/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if>
- </xsl:variable>
- <xsl:variable name="fill">
- <xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if>
- </xsl:variable>
- <xsl:variable name="stroke">
- <xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@name=$fg-color-name]/@value"/>;</xsl:if>
- </xsl:variable>
- <xsl:template match="skinconfig">
- <svg width="{$isize}" height="{$isize}">
-<!-- background-->
- <rect x="-1" y="-1" width="{$biggersize}" height="{$biggersize}" style="{$bg}stroke-width:0"/>
-<!-- 0,0 0,-4 4,0 4,-4-->
- <xsl:variable name="flip-tb-scale">
- <xsl:choose>
- <xsl:when test="$orientation-tb='t'">1</xsl:when>
- <xsl:otherwise>-1</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="flip-lr-scale">
- <xsl:choose>
- <xsl:when test="$orientation-lr='l'">1</xsl:when>
- <xsl:otherwise>-1</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="flip-tb-translate">
- <xsl:choose>
- <xsl:when test="$orientation-tb='t'">0</xsl:when>
- <xsl:otherwise>-<xsl:value-of select="$isize" />
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="flip-lr-translate">
- <xsl:choose>
- <xsl:when test="$orientation-lr='l'">0</xsl:when>
- <xsl:otherwise>-<xsl:value-of select="$isize" />
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-<!-- flip transform -->
- <g transform="scale({$flip-lr-scale},{$flip-tb-scale}) translate({$flip-lr-translate}, {$flip-tb-translate})">
- <xsl:call-template name="figure" />
- </g>
- </svg>
- </xsl:template>
- <xsl:template name="figure">
-<!-- Just change shape here -->
- <g transform="translate(0.5 0.5)">
- <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
- style="{$fill}{$stroke}stroke-width:1"/>
- </g>
-<!-- end -->
- </xsl:template>
- <xsl:template match="*"></xsl:template>
- <xsl:template match="text()"></xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/images/dc.svg.xslt b/src/site/src/documentation/skins/common/images/dc.svg.xslt
deleted file mode 100644
index f900f2f95..000000000
--- a/src/site/src/documentation/skins/common/images/dc.svg.xslt
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:import href="corner-imports.svg.xslt" />
-<!-- Diagonal 45 degrees corner -->
- <xsl:template name="figure">
- <xsl:variable name="biggersize" select="number($size)+number($size)"/>
- <g transform="translate(0 0.5)">
- <polygon points="0,{$size} {$size},0 {$biggersize},0 {$biggersize},{$biggersize} 0,{$biggersize}"
- style="{$fill}{$stroke}stroke-width:1"/>
- </g>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/images/poddoc.svg.xslt b/src/site/src/documentation/skins/common/images/poddoc.svg.xslt
deleted file mode 100644
index 6097d2b35..000000000
--- a/src/site/src/documentation/skins/common/images/poddoc.svg.xslt
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
- 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.
--->
-<svg width="20pt" height="20pt"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <defs
- id="defs550">
- <linearGradient id="gray2white">
- <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
- <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
- </linearGradient>
- <linearGradient id="pageshade" xlink:href="#gray2white"
- x1="0.95" y1="0.95"
- x2="0.40" y2="0.20"
- gradientUnits="objectBoundingBox" spreadMethod="pad" />
- <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
- </defs>
- <g transform="scale(0.08)">
- <g transform="translate(40, 0)">
- <rect width="230" height="300" x="0" y="0"
- style="fill:url(#pageshade);fill-rule:evenodd;
- stroke:#000000;stroke-width:1.25;"/>
- <g transform="translate(15, 60)">
- <use xlink:href="#hr" x="0" y="0"/>
- <use xlink:href="#hr" x="0" y="60"/>
- <use xlink:href="#hr" x="0" y="120"/>
- <use xlink:href="#hr" x="0" y="180"/>
- </g>
- </g>
- <g transform="translate(0,70),scale(1.1,1.6)">
- <rect width="200" height="100" x="0" y="0"
- style="fill:#ff0000;fill-rule:evenodd;
- stroke:#000000;stroke-width:2.33903;"/>
- <text x="20" y="75"
- style="stroke:#ffffff;stroke-width:1.0;
- font-size:72;font-weight:normal;fill:#ffffff;
- font-family:Arial;text-anchor:start;">POD</text>
- </g>
- </g>
-</svg>
diff --git a/src/site/src/documentation/skins/common/images/rc.svg.xslt b/src/site/src/documentation/skins/common/images/rc.svg.xslt
deleted file mode 100644
index d8924fec1..000000000
--- a/src/site/src/documentation/skins/common/images/rc.svg.xslt
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:import href="corner-imports.svg.xslt" />
-<!-- Rounded corner -->
- <xsl:template name="figure">
- <g transform="translate(0.5 0.5)">
- <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
- style="{$fill}{$stroke}stroke-width:1"/>
- </g>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/images/txtdoc.svg.xslt b/src/site/src/documentation/skins/common/images/txtdoc.svg.xslt
deleted file mode 100644
index d85715c75..000000000
--- a/src/site/src/documentation/skins/common/images/txtdoc.svg.xslt
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
- 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.
--->
-<svg width="20pt" height="20pt"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <defs
- id="defs550">
- <linearGradient id="gray2white">
- <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
- <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
- </linearGradient>
- <linearGradient id="pageshade" xlink:href="#gray2white"
- x1="0.95" y1="0.95"
- x2="0.40" y2="0.20"
- gradientUnits="objectBoundingBox" spreadMethod="pad" />
- <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
- </defs>
- <g transform="scale(0.08)">
- <g transform="translate(40, 0)">
- <rect width="230" height="300" x="0" y="0"
- style="fill:url(#pageshade);fill-rule:evenodd;
- stroke:#000000;stroke-width:1.25;"/>
- <g transform="translate(15, 60)">
- <use xlink:href="#hr" x="0" y="0"/>
- <use xlink:href="#hr" x="0" y="60"/>
- <use xlink:href="#hr" x="0" y="120"/>
- <use xlink:href="#hr" x="0" y="180"/>
- </g>
- </g>
- <g transform="translate(0,70),scale(1.1,1.6)">
- <rect width="200" height="100" x="0" y="0"
- style="fill:#ff0000;fill-rule:evenodd;
- stroke:#000000;stroke-width:2.33903;"/>
- <text x="20" y="75"
- style="stroke:#ffffff;stroke-width:1.0;
- font-size:72;font-weight:normal;fill:#ffffff;
- font-family:Arial;text-anchor:start;">TXT</text>
- </g>
- </g>
-</svg>
diff --git a/src/site/src/documentation/skins/common/scripts/breadcrumbs-optimized.js b/src/site/src/documentation/skins/common/scripts/breadcrumbs-optimized.js
deleted file mode 100644
index 507612af8..000000000
--- a/src/site/src/documentation/skins/common/scripts/breadcrumbs-optimized.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
-* 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.
-*/
-var PREPREND_CRUMBS=new Array();
-var link1="@skinconfig.trail.link1.name@";
-var link2="@skinconfig.trail.link2.name@";
-var link3="@skinconfig.trail.link3.name@";
-if(!(link1=="")&&!link1.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link1, @skinconfig.trail.link1.href@ ) ); }
-if(!(link2=="")&&!link2.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link2, @skinconfig.trail.link2.href@ ) ); }
-if(!(link3=="")&&!link3.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link3, @skinconfig.trail.link3.href@ ) ); }
-var DISPLAY_SEPARATOR=" &gt; ";
-var DISPLAY_PREPREND=" &gt; ";
-var DISPLAY_POSTPREND=":";
-var CSS_CLASS_CRUMB="breadcrumb";
-var CSS_CLASS_TRAIL="breadcrumbTrail";
-var CSS_CLASS_SEPARATOR="crumbSeparator";
-var FILE_EXTENSIONS=new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
-var PATH_SEPARATOR="/";
-
-function sc(s) {
- var l=s.toLowerCase();
- return l.substr(0,1).toUpperCase()+l.substr(1);
-}
-function getdirs() {
- var t=document.location.pathname.split(PATH_SEPARATOR);
- var lc=t[t.length-1];
- for(var i=0;i < FILE_EXTENSIONS.length;i++)
- {
- if(lc.indexOf(FILE_EXTENSIONS[i]))
- return t.slice(1,t.length-1); }
- return t.slice(1,t.length);
-}
-function getcrumbs( d )
-{
- var pre = "/";
- var post = "/";
- var c = new Array();
- if( d != null )
- {
- for(var i=0;i < d.length;i++) {
- pre+=d[i]+postfix;
- c.push(new Array(d[i],pre)); }
- }
- if(PREPREND_CRUMBS.length > 0 )
- return PREPREND_CRUMBS.concat( c );
- return c;
-}
-function gettrail( c )
-{
- var h=DISPLAY_PREPREND;
- for(var i=0;i < c.length;i++)
- {
- h+='<a href="'+c[i][1]+'" >'+sc(c[i][0])+'</a>';
- if(i!=(c.length-1))
- h+=DISPLAY_SEPARATOR; }
- return h+DISPLAY_POSTPREND;
-}
-
-function gettrailXHTML( c )
-{
- var h='<span class="'+CSS_CLASS_TRAIL+'">'+DISPLAY_PREPREND;
- for(var i=0;i < c.length;i++)
- {
- h+='<a href="'+c[i][1]+'" class="'+CSS_CLASS_CRUMB+'">'+sc(c[i][0])+'</a>';
- if(i!=(c.length-1))
- h+='<span class="'+CSS_CLASS_SEPARATOR+'">'+DISPLAY_SEPARATOR+'</span>'; }
- return h+DISPLAY_POSTPREND+'</span>';
-}
-
-if(document.location.href.toLowerCase().indexOf("http://")==-1)
- document.write(gettrail(getcrumbs()));
-else
- document.write(gettrail(getcrumbs(getdirs())));
-
diff --git a/src/site/src/documentation/skins/common/scripts/breadcrumbs.js b/src/site/src/documentation/skins/common/scripts/breadcrumbs.js
deleted file mode 100644
index aea80ec04..000000000
--- a/src/site/src/documentation/skins/common/scripts/breadcrumbs.js
+++ /dev/null
@@ -1,237 +0,0 @@
-/*
-* 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.
-*/
-/**
- * This script, when included in a html file, builds a neat breadcrumb trail
- * based on its url. That is, if it doesn't contains bugs (I'm relatively
- * sure it does).
- *
- * Typical usage:
- * <script type="text/javascript" language="JavaScript" src="breadcrumbs.js"></script>
- */
-
-/**
- * IE 5 on Mac doesn't know Array.push.
- *
- * Implement it - courtesy to fritz.
- */
-var abc = new Array();
-if (!abc.push) {
- Array.prototype.push = function(what){this[this.length]=what}
-}
-
-/* ========================================================================
- CONSTANTS
- ======================================================================== */
-
-/**
- * Two-dimensional array containing extra crumbs to place at the front of
- * the trail. Specify first the name of the crumb, then the URI that belongs
- * to it. You'll need to modify this for every domain or subdomain where
- * you use this script (you can leave it as an empty array if you wish)
- */
-var PREPREND_CRUMBS = new Array();
-
-var link1 = "@skinconfig.trail.link1.name@";
-var link2 = "@skinconfig.trail.link2.name@";
-var link3 = "@skinconfig.trail.link3.name@";
-
-var href1 = "@skinconfig.trail.link1.href@";
-var href2 = "@skinconfig.trail.link2.href@";
-var href3 = "@skinconfig.trail.link3.href@";
-
- if(!(link1=="")&&!link1.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link1, href1 ) );
- }
- if(!(link2=="")&&!link2.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link2, href2 ) );
- }
- if(!(link3=="")&&!link3.indexOf( "@" ) == 0){
- PREPREND_CRUMBS.push( new Array( link3, href3 ) );
- }
-
-/**
- * String to include between crumbs:
- */
-var DISPLAY_SEPARATOR = " &gt; ";
-/**
- * String to include at the beginning of the trail
- */
-var DISPLAY_PREPREND = " &gt; ";
-/**
- * String to include at the end of the trail
- */
-var DISPLAY_POSTPREND = "";
-
-/**
- * CSS Class to use for a single crumb:
- */
-var CSS_CLASS_CRUMB = "breadcrumb";
-
-/**
- * CSS Class to use for the complete trail:
- */
-var CSS_CLASS_TRAIL = "breadcrumbTrail";
-
-/**
- * CSS Class to use for crumb separator:
- */
-var CSS_CLASS_SEPARATOR = "crumbSeparator";
-
-/**
- * Array of strings containing common file extensions. We use this to
- * determine what part of the url to ignore (if it contains one of the
- * string specified here, we ignore it).
- */
-var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
-
-/**
- * String that separates parts of the breadcrumb trail from each other.
- * When this is no longer a slash, I'm sure I'll be old and grey.
- */
-var PATH_SEPARATOR = "/";
-
-/* ========================================================================
- UTILITY FUNCTIONS
- ======================================================================== */
-/**
- * Capitalize first letter of the provided string and return the modified
- * string.
- */
-function sentenceCase( string )
-{ return string;
- //var lower = string.toLowerCase();
- //return lower.substr(0,1).toUpperCase() + lower.substr(1);
-}
-
-/**
- * Returns an array containing the names of all the directories in the
- * current document URL
- */
-function getDirectoriesInURL()
-{
- var trail = document.location.pathname.split( PATH_SEPARATOR );
-
- // check whether last section is a file or a directory
- var lastcrumb = trail[trail.length-1];
- for( var i = 0; i < FILE_EXTENSIONS.length; i++ )
- {
- if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) )
- {
- // it is, remove it and send results
- return trail.slice( 1, trail.length-1 );
- }
- }
-
- // it's not; send the trail unmodified
- return trail.slice( 1, trail.length );
-}
-
-/* ========================================================================
- BREADCRUMB FUNCTIONALITY
- ======================================================================== */
-/**
- * Return a two-dimensional array describing the breadcrumbs based on the
- * array of directories passed in.
- */
-function getBreadcrumbs( dirs )
-{
- var prefix = "/";
- var postfix = "/";
-
- // the array we will return
- var crumbs = new Array();
-
- if( dirs != null )
- {
- for( var i = 0; i < dirs.length; i++ )
- {
- prefix += dirs[i] + postfix;
- crumbs.push( new Array( dirs[i], prefix ) );
- }
- }
-
- // preprend the PREPREND_CRUMBS
- if(PREPREND_CRUMBS.length > 0 )
- {
- return PREPREND_CRUMBS.concat( crumbs );
- }
-
- return crumbs;
-}
-
-/**
- * Return a string containing a simple text breadcrumb trail based on the
- * two-dimensional array passed in.
- */
-function getCrumbTrail( crumbs )
-{
- var xhtml = DISPLAY_PREPREND;
-
- for( var i = 0; i < crumbs.length; i++ )
- {
- xhtml += '<a href="' + crumbs[i][1] + '" >';
- xhtml += unescape( crumbs[i][0] ) + '</a>';
- if( i != (crumbs.length-1) )
- {
- xhtml += DISPLAY_SEPARATOR;
- }
- }
-
- xhtml += DISPLAY_POSTPREND;
-
- return xhtml;
-}
-
-/**
- * Return a string containing an XHTML breadcrumb trail based on the
- * two-dimensional array passed in.
- */
-function getCrumbTrailXHTML( crumbs )
-{
- var xhtml = '<span class="' + CSS_CLASS_TRAIL + '">';
- xhtml += DISPLAY_PREPREND;
-
- for( var i = 0; i < crumbs.length; i++ )
- {
- xhtml += '<a href="' + crumbs[i][1] + '" class="' + CSS_CLASS_CRUMB + '">';
- xhtml += unescape( crumbs[i][0] ) + '</a>';
- if( i != (crumbs.length-1) )
- {
- xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + DISPLAY_SEPARATOR + '</span>';
- }
- }
-
- xhtml += DISPLAY_POSTPREND;
- xhtml += '</span>';
-
- return xhtml;
-}
-
-/* ========================================================================
- PRINT BREADCRUMB TRAIL
- ======================================================================== */
-
-// check if we're local; if so, only print the PREPREND_CRUMBS
-if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 )
-{
- document.write( getCrumbTrail( getBreadcrumbs() ) );
-}
-else
-{
- document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) );
-}
-
diff --git a/src/site/src/documentation/skins/common/scripts/fontsize.js b/src/site/src/documentation/skins/common/scripts/fontsize.js
deleted file mode 100644
index 11722bfc5..000000000
--- a/src/site/src/documentation/skins/common/scripts/fontsize.js
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
-* 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.
-*/
-function init()
-{ //embedded in the doc
- //ndeSetTextSize();
-}
-
-function checkBrowser(){
- if (!document.getElementsByTagName){
- return true;
- }
- else{
- return false;
- }
-}
-
-
-function ndeSetTextSize(chgsize,rs)
-{
- var startSize;
- var newSize;
-
- if (!checkBrowser)
- {
- return;
- }
-
- startSize = parseInt(ndeGetDocTextSize());
-
- if (!startSize)
- {
- startSize = 16;
- }
-
- switch (chgsize)
- {
- case 'incr':
- newSize = startSize + 2;
- break;
-
- case 'decr':
- newSize = startSize - 2;
- break;
-
- case 'reset':
- if (rs) {newSize = rs;} else {newSize = 16;}
- break;
-
- default:
- try{
- newSize = parseInt(ndeReadCookie("nde-textsize"));
- }
- catch(e){
- alert(e);
- }
-
- if (!newSize || newSize == 'NaN')
- {
- newSize = startSize;
- }
- break;
-
- }
-
- if (newSize < 10)
- {
- newSize = 10;
- }
-
- newSize += 'px';
-
- document.getElementsByTagName('html')[0].style.fontSize = newSize;
- document.getElementsByTagName('body')[0].style.fontSize = newSize;
-
- ndeCreateCookie("nde-textsize", newSize, 365);
-}
-
-function ndeGetDocTextSize()
-{
- if (!checkBrowser)
- {
- return 0;
- }
-
- var size = 0;
- var body = document.getElementsByTagName('body')[0];
-
- if (body.style && body.style.fontSize)
- {
- size = body.style.fontSize;
- }
- else if (typeof(getComputedStyle) != 'undefined')
- {
- size = getComputedStyle(body,'').getPropertyValue('font-size');
- }
- else if (body.currentStyle)
- {
- size = body.currentStyle.fontSize;
- }
-
- //fix IE bug
- if( isNaN(size)){
- if(size.substring(size.length-1)=="%"){
- return
- }
-
- }
-
- return size;
-
-}
-
-
-
-function ndeCreateCookie(name,value,days)
-{
- var cookie = name + "=" + value + ";";
-
- if (days)
- {
- var date = new Date();
- date.setTime(date.getTime()+(days*24*60*60*1000));
- cookie += " expires=" + date.toGMTString() + ";";
- }
- cookie += " path=/";
-
- document.cookie = cookie;
-
-}
-
-function ndeReadCookie(name)
-{
- var nameEQ = name + "=";
- var ca = document.cookie.split(';');
-
-
- for(var i = 0; i < ca.length; i++)
- {
- var c = ca[i];
- while (c.charAt(0) == ' ')
- {
- c = c.substring(1, c.length);
- }
-
- ctest = c.substring(0,name.length);
-
- if(ctest == name){
- return c.substring(nameEQ.length,c.length);
- }
- }
- return null;
-}
diff --git a/src/site/src/documentation/skins/common/scripts/getBlank.js b/src/site/src/documentation/skins/common/scripts/getBlank.js
deleted file mode 100644
index d9978c0b3..000000000
--- a/src/site/src/documentation/skins/common/scripts/getBlank.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-* 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.
-*/
-/**
- * getBlank script - when included in a html file and called from a form text field, will set the value of this field to ""
- * if the text value is still the standard value.
- * getPrompt script - when included in a html file and called from a form text field, will set the value of this field to the prompt
- * if the text value is empty.
- *
- * Typical usage:
- * <script type="text/javascript" language="JavaScript" src="getBlank.js"></script>
- * <input type="text" id="query" value="Search the site:" onFocus="getBlank (this, 'Search the site:');" onBlur="getBlank (this, 'Search the site:');"/>
- */
-<!--
-function getBlank (form, stdValue){
-if (form.value == stdValue){
- form.value = '';
- }
-return true;
-}
-function getPrompt (form, stdValue){
-if (form.value == ''){
- form.value = stdValue;
- }
-return true;
-}
-//-->
diff --git a/src/site/src/documentation/skins/common/scripts/getMenu.js b/src/site/src/documentation/skins/common/scripts/getMenu.js
deleted file mode 100644
index b17aad618..000000000
--- a/src/site/src/documentation/skins/common/scripts/getMenu.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-* 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.
-*/
-/**
- * This script, when included in a html file, can be used to make collapsible menus
- *
- * Typical usage:
- * <script type="text/javascript" language="JavaScript" src="menu.js"></script>
- */
-
-if (document.getElementById){
- document.write('<style type="text/css">.menuitemgroup{display: none;}</style>')
-}
-
-
-function SwitchMenu(obj, thePath)
-{
-var open = 'url("'+thePath + 'images/chapter_open.gif")';
-var close = 'url("'+thePath + 'images/chapter.gif")';
- if(document.getElementById) {
- var el = document.getElementById(obj);
- var title = document.getElementById(obj+'Title');
-
- if(el.style.display != "block"){
- title.style.backgroundImage = open;
- el.style.display = "block";
- }else{
- title.style.backgroundImage = close;
- el.style.display = "none";
- }
- }// end - if(document.getElementById)
-}//end - function SwitchMenu(obj)
diff --git a/src/site/src/documentation/skins/common/scripts/menu.js b/src/site/src/documentation/skins/common/scripts/menu.js
deleted file mode 100644
index 06ea471dc..000000000
--- a/src/site/src/documentation/skins/common/scripts/menu.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
-* 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.
-*/
-/**
- * This script, when included in a html file, can be used to make collapsible menus
- *
- * Typical usage:
- * <script type="text/javascript" language="JavaScript" src="menu.js"></script>
- */
-
-if (document.getElementById){
- document.write('<style type="text/css">.menuitemgroup{display: none;}</style>')
-}
-
-function SwitchMenu(obj)
-{
- if(document.getElementById) {
- var el = document.getElementById(obj);
- var title = document.getElementById(obj+'Title');
-
- if(obj.indexOf("_selected_")==0&&el.style.display == ""){
- el.style.display = "block";
- title.className = "pagegroupselected";
- }
-
- if(el.style.display != "block"){
- el.style.display = "block";
- title.className = "pagegroupopen";
- }
- else{
- el.style.display = "none";
- title.className = "pagegroup";
- }
- }// end - if(document.getElementById)
-}//end - function SwitchMenu(obj)
diff --git a/src/site/src/documentation/skins/common/scripts/prototype.js b/src/site/src/documentation/skins/common/scripts/prototype.js
deleted file mode 100644
index ed7d920cb..000000000
--- a/src/site/src/documentation/skins/common/scripts/prototype.js
+++ /dev/null
@@ -1,1257 +0,0 @@
-/* Prototype JavaScript framework, version 1.4.0_pre4
- * (c) 2005 Sam Stephenson <[email protected]>
- *
- * THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff
- * against the source tree, available from the Prototype darcs repository.
- *
- * Prototype is freely distributable under the terms of an MIT-style license.
- *
- * For details, see the Prototype web site: http://prototype.conio.net/
- *
-/*--------------------------------------------------------------------------*/
-
-var Prototype = {
- Version: '1.4.0_pre4',
-
- emptyFunction: function() {},
- K: function(x) {return x}
-}
-
-var Class = {
- create: function() {
- return function() {
- this.initialize.apply(this, arguments);
- }
- }
-}
-
-var Abstract = new Object();
-
-Object.extend = function(destination, source) {
- for (property in source) {
- destination[property] = source[property];
- }
- return destination;
-}
-
-Function.prototype.bind = function(object) {
- var __method = this;
- return function() {
- return __method.apply(object, arguments);
- }
-}
-
-Function.prototype.bindAsEventListener = function(object) {
- var __method = this;
- return function(event) {
- return __method.call(object, event || window.event);
- }
-}
-
-Number.prototype.toColorPart = function() {
- var digits = this.toString(16);
- if (this < 16) return '0' + digits;
- return digits;
-}
-
-var Try = {
- these: function() {
- var returnValue;
-
- for (var i = 0; i < arguments.length; i++) {
- var lambda = arguments[i];
- try {
- returnValue = lambda();
- break;
- } catch (e) {}
- }
-
- return returnValue;
- }
-}
-
-/*--------------------------------------------------------------------------*/
-
-var PeriodicalExecuter = Class.create();
-PeriodicalExecuter.prototype = {
- initialize: function(callback, frequency) {
- this.callback = callback;
- this.frequency = frequency;
- this.currentlyExecuting = false;
-
- this.registerCallback();
- },
-
- registerCallback: function() {
- setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
- },
-
- onTimerEvent: function() {
- if (!this.currentlyExecuting) {
- try {
- this.currentlyExecuting = true;
- this.callback();
- } finally {
- this.currentlyExecuting = false;
- }
- }
- }
-}
-
-/*--------------------------------------------------------------------------*/
-
-function $() {
- var elements = new Array();
-
- for (var i = 0; i < arguments.length; i++) {
- var element = arguments[i];
- if (typeof element == 'string')
- element = document.getElementById(element);
-
- if (arguments.length == 1)
- return element;
-
- elements.push(element);
- }
-
- return elements;
-}
-
-if (!Array.prototype.push) {
- Array.prototype.push = function() {
- var startLength = this.length;
- for (var i = 0; i < arguments.length; i++)
- this[startLength + i] = arguments[i];
- return this.length;
- }
-}
-
-if (!Function.prototype.apply) {
- // Based on code from http://www.youngpup.net/
- Function.prototype.apply = function(object, parameters) {
- var parameterStrings = new Array();
- if (!object) object = window;
- if (!parameters) parameters = new Array();
-
- for (var i = 0; i < parameters.length; i++)
- parameterStrings[i] = 'parameters[' + i + ']';
-
- object.__apply__ = this;
- var result = eval('object.__apply__(' +
- parameterStrings.join(', ') + ')');
- object.__apply__ = null;
-
- return result;
- }
-}
-
-Object.extend(String.prototype, {
- stripTags: function() {
- return this.replace(/<\/?[^>]+>/gi, '');
- },
-
- escapeHTML: function() {
- var div = document.createElement('div');
- var text = document.createTextNode(this);
- div.appendChild(text);
- return div.innerHTML;
- },
-
- unescapeHTML: function() {
- var div = document.createElement('div');
- div.innerHTML = this.stripTags();
- return div.childNodes[0].nodeValue;
- },
-
- parseQuery: function() {
- var str = this;
- if (str.substring(0,1) == '?') {
- str = this.substring(1);
- }
- var result = {};
- var pairs = str.split('&');
- for (var i = 0; i < pairs.length; i++) {
- var pair = pairs[i].split('=');
- result[pair[0]] = pair[1];
- }
- return result;
- }
-});
-
-
-var _break = new Object();
-var _continue = new Object();
-
-var Enumerable = {
- each: function(iterator) {
- var index = 0;
- try {
- this._each(function(value) {
- try {
- iterator(value, index++);
- } catch (e) {
- if (e != _continue) throw e;
- }
- });
- } catch (e) {
- if (e != _break) throw e;
- }
- },
-
- all: function(iterator) {
- var result = true;
- this.each(function(value, index) {
- if (!(result &= (iterator || Prototype.K)(value, index)))
- throw _break;
- });
- return result;
- },
-
- any: function(iterator) {
- var result = true;
- this.each(function(value, index) {
- if (result &= (iterator || Prototype.K)(value, index))
- throw _break;
- });
- return result;
- },
-
- collect: function(iterator) {
- var results = [];
- this.each(function(value, index) {
- results.push(iterator(value, index));
- });
- return results;
- },
-
- detect: function (iterator) {
- var result;
- this.each(function(value, index) {
- if (iterator(value, index)) {
- result = value;
- throw _break;
- }
- });
- return result;
- },
-
- findAll: function(iterator) {
- var results = [];
- this.each(function(value, index) {
- if (iterator(value, index))
- results.push(value);
- });
- return results;
- },
-
- grep: function(pattern, iterator) {
- var results = [];
- this.each(function(value, index) {
- var stringValue = value.toString();
- if (stringValue.match(pattern))
- results.push((iterator || Prototype.K)(value, index));
- })
- return results;
- },
-
- include: function(object) {
- var found = false;
- this.each(function(value) {
- if (value == object) {
- found = true;
- throw _break;
- }
- });
- return found;
- },
-
- inject: function(memo, iterator) {
- this.each(function(value, index) {
- memo = iterator(memo, value, index);
- });
- return memo;
- },
-
- invoke: function(method) {
- var args = $A(arguments).slice(1);
- return this.collect(function(value) {
- return value[method].apply(value, args);
- });
- },
-
- max: function(iterator) {
- var result;
- this.each(function(value, index) {
- value = (iterator || Prototype.K)(value, index);
- if (value >= (result || value))
- result = value;
- });
- return result;
- },
-
- min: function(iterator) {
- var result;
- this.each(function(value, index) {
- value = (iterator || Prototype.K)(value, index);
- if (value <= (result || value))
- result = value;
- });
- return result;
- },
-
- partition: function(iterator) {
- var trues = [], falses = [];
- this.each(function(value, index) {
- ((iterator || Prototype.K)(value, index) ?
- trues : falses).push(value);
- });
- return [trues, falses];
- },
-
- pluck: function(property) {
- var results = [];
- this.each(function(value, index) {
- results.push(value[property]);
- });
- return results;
- },
-
- reject: function(iterator) {
- var results = [];
- this.each(function(value, index) {
- if (!iterator(value, index))
- results.push(value);
- });
- return results;
- },
-
- sortBy: function(iterator) {
- return this.collect(function(value, index) {
- return {value: value, criteria: iterator(value, index)};
- }).sort(function(left, right) {
- var a = left.criteria, b = right.criteria;
- return a < b ? -1 : a > b ? 1 : 0;
- }).pluck('value');
- },
-
- toArray: function() {
- return this.collect(Prototype.K);
- },
-
- zip: function() {
- var iterator = Prototype.K, args = $A(arguments);
- if (typeof args.last() == 'function')
- iterator = args.pop();
-
- var collections = [this].concat(args).map($A);
- return this.map(function(value, index) {
- iterator(value = collections.pluck(index));
- return value;
- });
- }
-}
-
-Object.extend(Enumerable, {
- map: Enumerable.collect,
- find: Enumerable.detect,
- select: Enumerable.findAll,
- member: Enumerable.include,
- entries: Enumerable.toArray
-});
-
-$A = Array.from = function(iterable) {
- var results = [];
- for (var i = 0; i < iterable.length; i++)
- results.push(iterable[i]);
- return results;
-}
-
-Object.extend(Array.prototype, {
- _each: function(iterator) {
- for (var i = 0; i < this.length; i++)
- iterator(this[i]);
- },
-
- first: function() {
- return this[0];
- },
-
- last: function() {
- return this[this.length - 1];
- }
-});
-
-Object.extend(Array.prototype, Enumerable);
-
-
-var Ajax = {
- getTransport: function() {
- return Try.these(
- function() {return new ActiveXObject('Msxml2.XMLHTTP')},
- function() {return new ActiveXObject('Microsoft.XMLHTTP')},
- function() {return new XMLHttpRequest()}
- ) || false;
- }
-}
-
-Ajax.Base = function() {};
-Ajax.Base.prototype = {
- setOptions: function(options) {
- this.options = {
- method: 'post',
- asynchronous: true,
- parameters: ''
- }
- Object.extend(this.options, options || {});
- },
-
- responseIsSuccess: function() {
- return this.transport.status == undefined
- || this.transport.status == 0
- || (this.transport.status >= 200 && this.transport.status < 300);
- },
-
- responseIsFailure: function() {
- return !this.responseIsSuccess();
- }
-}
-
-Ajax.Request = Class.create();
-Ajax.Request.Events =
- ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];
-
-Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
- initialize: function(url, options) {
- this.transport = Ajax.getTransport();
- this.setOptions(options);
- this.request(url);
- },
-
- request: function(url) {
- var parameters = this.options.parameters || '';
- if (parameters.length > 0) parameters += '&_=';
-
- try {
- if (this.options.method == 'get')
- url += '?' + parameters;
-
- this.transport.open(this.options.method, url,
- this.options.asynchronous);
-
- if (this.options.asynchronous) {
- this.transport.onreadystatechange = this.onStateChange.bind(this);
- setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10);
- }
-
- this.setRequestHeaders();
-
- var body = this.options.postBody ? this.options.postBody : parameters;
- this.transport.send(this.options.method == 'post' ? body : null);
-
- } catch (e) {
- }
- },
-
- setRequestHeaders: function() {
- var requestHeaders =
- ['X-Requested-With', 'XMLHttpRequest',
- 'X-Prototype-Version', Prototype.Version];
-
- if (this.options.method == 'post') {
- requestHeaders.push('Content-type',
- 'application/x-www-form-urlencoded');
-
- /* Force "Connection: close" for Mozilla browsers to work around
- * a bug where XMLHttpReqeuest sends an incorrect Content-length
- * header. See Mozilla Bugzilla #246651.
- */
- if (this.transport.overrideMimeType)
- requestHeaders.push('Connection', 'close');
- }
-
- if (this.options.requestHeaders)
- requestHeaders.push.apply(requestHeaders, this.options.requestHeaders);
-
- for (var i = 0; i < requestHeaders.length; i += 2)
- this.transport.setRequestHeader(requestHeaders[i], requestHeaders[i+1]);
- },
-
- onStateChange: function() {
- var readyState = this.transport.readyState;
- if (readyState != 1)
- this.respondToReadyState(this.transport.readyState);
- },
-
- respondToReadyState: function(readyState) {
- var event = Ajax.Request.Events[readyState];
-
- if (event == 'Complete')
- (this.options['on' + this.transport.status]
- || this.options['on' + (this.responseIsSuccess() ? 'Success' : 'Failure')]
- || Prototype.emptyFunction)(this.transport);
-
- (this.options['on' + event] || Prototype.emptyFunction)(this.transport);
-
- /* Avoid memory leak in MSIE: clean up the oncomplete event handler */
- if (event == 'Complete')
- this.transport.onreadystatechange = Prototype.emptyFunction;
- }
-});
-
-Ajax.Updater = Class.create();
-Ajax.Updater.ScriptFragment = '(?:<script.*?>)((\n|.)*?)(?:<\/script>)';
-
-Object.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), {
- initialize: function(container, url, options) {
- this.containers = {
- success: container.success ? $(container.success) : $(container),
- failure: container.failure ? $(container.failure) :
- (container.success ? null : $(container))
- }
-
- this.transport = Ajax.getTransport();
- this.setOptions(options);
-
- var onComplete = this.options.onComplete || Prototype.emptyFunction;
- this.options.onComplete = (function() {
- this.updateContent();
- onComplete(this.transport);
- }).bind(this);
-
- this.request(url);
- },
-
- updateContent: function() {
- var receiver = this.responseIsSuccess() ?
- this.containers.success : this.containers.failure;
-
- var match = new RegExp(Ajax.Updater.ScriptFragment, 'img');
- var response = this.transport.responseText.replace(match, '');
- var scripts = this.transport.responseText.match(match);
-
- if (receiver) {
- if (this.options.insertion) {
- new this.options.insertion(receiver, response);
- } else {
- receiver.innerHTML = response;
- }
- }
-
- if (this.responseIsSuccess()) {
- if (this.onComplete)
- setTimeout((function() {this.onComplete(
- this.transport)}).bind(this), 10);
- }
-
- if (this.options.evalScripts && scripts) {
- match = new RegExp(Ajax.Updater.ScriptFragment, 'im');
- setTimeout((function() {
- for (var i = 0; i < scripts.length; i++)
- eval(scripts[i].match(match)[1]);
- }).bind(this), 10);
- }
- }
-});
-
-Ajax.PeriodicalUpdater = Class.create();
-Ajax.PeriodicalUpdater.prototype = Object.extend(new Ajax.Base(), {
- initialize: function(container, url, options) {
- this.setOptions(options);
- this.onComplete = this.options.onComplete;
-
- this.frequency = (this.options.frequency || 2);
- this.decay = 1;
-
- this.updater = {};
- this.container = container;
- this.url = url;
-
- this.start();
- },
-
- start: function() {
- this.options.onComplete = this.updateComplete.bind(this);
- this.onTimerEvent();
- },
-
- stop: function() {
- this.updater.onComplete = undefined;
- clearTimeout(this.timer);
- (this.onComplete || Ajax.emptyFunction).apply(this, arguments);
- },
-
- updateComplete: function(request) {
- if (this.options.decay) {
- this.decay = (request.responseText == this.lastText ?
- this.decay * this.options.decay : 1);
-
- this.lastText = request.responseText;
- }
- this.timer = setTimeout(this.onTimerEvent.bind(this),
- this.decay * this.frequency * 1000);
- },
-
- onTimerEvent: function() {
- this.updater = new Ajax.Updater(this.container, this.url, this.options);
- }
-});
-
-document.getElementsByClassName = function(className) {
- var children = document.getElementsByTagName('*') || document.all;
- var elements = new Array();
-
- for (var i = 0; i < children.length; i++) {
- var child = children[i];
- var classNames = child.className.split(' ');
- for (var j = 0; j < classNames.length; j++) {
- if (classNames[j] == className) {
- elements.push(child);
- break;
- }
- }
- }
-
- return elements;
-}
-
-/*--------------------------------------------------------------------------*/
-
-if (!window.Element) {
- var Element = new Object();
-}
-
-Object.extend(Element, {
- toggle: function() {
- for (var i = 0; i < arguments.length; i++) {
- var element = $(arguments[i]);
- element.style.display =
- (element.style.display == 'none' ? '' : 'none');
- }
- },
-
- hide: function() {
- for (var i = 0; i < arguments.length; i++) {
- var element = $(arguments[i]);
- element.style.display = 'none';
- }
- },
-
- show: function() {
- for (var i = 0; i < arguments.length; i++) {
- var element = $(arguments[i]);
- element.style.display = '';
- }
- },
-
- remove: function(element) {
- element = $(element);
- element.parentNode.removeChild(element);
- },
-
- getHeight: function(element) {
- element = $(element);
- return element.offsetHeight;
- },
-
- hasClassName: function(element, className) {
- element = $(element);
- if (!element)
- return;
- var a = element.className.split(' ');
- for (var i = 0; i < a.length; i++) {
- if (a[i] == className)
- return true;
- }
- return false;
- },
-
- addClassName: function(element, className) {
- element = $(element);
- Element.removeClassName(element, className);
- element.className += ' ' + className;
- },
-
- removeClassName: function(element, className) {
- element = $(element);
- if (!element)
- return;
- var newClassName = '';
- var a = element.className.split(' ');
- for (var i = 0; i < a.length; i++) {
- if (a[i] != className) {
- if (i > 0)
- newClassName += ' ';
- newClassName += a[i];
- }
- }
- element.className = newClassName;
- },
-
- // removes whitespace-only text node children
- cleanWhitespace: function(element) {
- var element = $(element);
- for (var i = 0; i < element.childNodes.length; i++) {
- var node = element.childNodes[i];
- if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
- Element.remove(node);
- }
- }
-});
-
-var Toggle = new Object();
-Toggle.display = Element.toggle;
-
-/*--------------------------------------------------------------------------*/
-
-Abstract.Insertion = function(adjacency) {
- this.adjacency = adjacency;
-}
-
-Abstract.Insertion.prototype = {
- initialize: function(element, content) {
- this.element = $(element);
- this.content = content;
-
- if (this.adjacency && this.element.insertAdjacentHTML) {
- this.element.insertAdjacentHTML(this.adjacency, this.content);
- } else {
- this.range = this.element.ownerDocument.createRange();
- if (this.initializeRange) this.initializeRange();
- this.fragment = this.range.createContextualFragment(this.content);
- this.insertContent();
- }
- }
-}
-
-var Insertion = new Object();
-
-Insertion.Before = Class.create();
-Insertion.Before.prototype = Object.extend(new Abstract.Insertion('beforeBegin'), {
- initializeRange: function() {
- this.range.setStartBefore(this.element);
- },
-
- insertContent: function() {
- this.element.parentNode.insertBefore(this.fragment, this.element);
- }
-});
-
-Insertion.Top = Class.create();
-Insertion.Top.prototype = Object.extend(new Abstract.Insertion('afterBegin'), {
- initializeRange: function() {
- this.range.selectNodeContents(this.element);
- this.range.collapse(true);
- },
-
- insertContent: function() {
- this.element.insertBefore(this.fragment, this.element.firstChild);
- }
-});
-
-Insertion.Bottom = Class.create();
-Insertion.Bottom.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), {
- initializeRange: function() {
- this.range.selectNodeContents(this.element);
- this.range.collapse(this.element);
- },
-
- insertContent: function() {
- this.element.appendChild(this.fragment);
- }
-});
-
-Insertion.After = Class.create();
-Insertion.After.prototype = Object.extend(new Abstract.Insertion('afterEnd'), {
- initializeRange: function() {
- this.range.setStartAfter(this.element);
- },
-
- insertContent: function() {
- this.element.parentNode.insertBefore(this.fragment,
- this.element.nextSibling);
- }
-});
-
-var Field = {
- clear: function() {
- for (var i = 0; i < arguments.length; i++)
- $(arguments[i]).value = '';
- },
-
- focus: function(element) {
- $(element).focus();
- },
-
- present: function() {
- for (var i = 0; i < arguments.length; i++)
- if ($(arguments[i]).value == '') return false;
- return true;
- },
-
- select: function(element) {
- $(element).select();
- },
-
- activate: function(element) {
- $(element).focus();
- $(element).select();
- }
-}
-
-/*--------------------------------------------------------------------------*/
-
-var Form = {
- serialize: function(form) {
- var elements = Form.getElements($(form));
- var queryComponents = new Array();
-
- for (var i = 0; i < elements.length; i++) {
- var queryComponent = Form.Element.serialize(elements[i]);
- if (queryComponent)
- queryComponents.push(queryComponent);
- }
-
- return queryComponents.join('&');
- },
-
- getElements: function(form) {
- var form = $(form);
- var elements = new Array();
-
- for (tagName in Form.Element.Serializers) {
- var tagElements = form.getElementsByTagName(tagName);
- for (var j = 0; j < tagElements.length; j++)
- elements.push(tagElements[j]);
- }
- return elements;
- },
-
- getInputs: function(form, typeName, name) {
- var form = $(form);
- var inputs = form.getElementsByTagName('input');
-
- if (!typeName && !name)
- return inputs;
-
- var matchingInputs = new Array();
- for (var i = 0; i < inputs.length; i++) {
- var input = inputs[i];
- if ((typeName && input.type != typeName) ||
- (name && input.name != name))
- continue;
- matchingInputs.push(input);
- }
-
- return matchingInputs;
- },
-
- disable: function(form) {
- var elements = Form.getElements(form);
- for (var i = 0; i < elements.length; i++) {
- var element = elements[i];
- element.blur();
- element.disabled = 'true';
- }
- },
-
- enable: function(form) {
- var elements = Form.getElements(form);
- for (var i = 0; i < elements.length; i++) {
- var element = elements[i];
- element.disabled = '';
- }
- },
-
- focusFirstElement: function(form) {
- var form = $(form);
- var elements = Form.getElements(form);
- for (var i = 0; i < elements.length; i++) {
- var element = elements[i];
- if (element.type != 'hidden' && !element.disabled) {
- Field.activate(element);
- break;
- }
- }
- },
-
- reset: function(form) {
- $(form).reset();
- }
-}
-
-Form.Element = {
- serialize: function(element) {
- var element = $(element);
- var method = element.tagName.toLowerCase();
- var parameter = Form.Element.Serializers[method](element);
-
- if (parameter)
- return encodeURIComponent(parameter[0]) + '=' +
- encodeURIComponent(parameter[1]);
- },
-
- getValue: function(element) {
- var element = $(element);
- var method = element.tagName.toLowerCase();
- var parameter = Form.Element.Serializers[method](element);
-
- if (parameter)
- return parameter[1];
- }
-}
-
-Form.Element.Serializers = {
- input: function(element) {
- switch (element.type.toLowerCase()) {
- case 'submit':
- case 'hidden':
- case 'password':
- case 'text':
- return Form.Element.Serializers.textarea(element);
- case 'checkbox':
- case 'radio':
- return Form.Element.Serializers.inputSelector(element);
- }
- return false;
- },
-
- inputSelector: function(element) {
- if (element.checked)
- return [element.name, element.value];
- },
-
- textarea: function(element) {
- return [element.name, element.value];
- },
-
- select: function(element) {
- var value = '';
- if (element.type == 'select-one') {
- var index = element.selectedIndex;
- if (index >= 0)
- value = element.options[index].value || element.options[index].text;
- } else {
- value = new Array();
- for (var i = 0; i < element.length; i++) {
- var opt = element.options[i];
- if (opt.selected)
- value.push(opt.value || opt.text);
- }
- }
- return [element.name, value];
- }
-}
-
-/*--------------------------------------------------------------------------*/
-
-var $F = Form.Element.getValue;
-
-/*--------------------------------------------------------------------------*/
-
-Abstract.TimedObserver = function() {}
-Abstract.TimedObserver.prototype = {
- initialize: function(element, frequency, callback) {
- this.frequency = frequency;
- this.element = $(element);
- this.callback = callback;
-
- this.lastValue = this.getValue();
- this.registerCallback();
- },
-
- registerCallback: function() {
- setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
- },
-
- onTimerEvent: function() {
- var value = this.getValue();
- if (this.lastValue != value) {
- this.callback(this.element, value);
- this.lastValue = value;
- }
- }
-}
-
-Form.Element.Observer = Class.create();
-Form.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
- getValue: function() {
- return Form.Element.getValue(this.element);
- }
-});
-
-Form.Observer = Class.create();
-Form.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
- getValue: function() {
- return Form.serialize(this.element);
- }
-});
-
-/*--------------------------------------------------------------------------*/
-
-Abstract.EventObserver = function() {}
-Abstract.EventObserver.prototype = {
- initialize: function(element, callback) {
- this.element = $(element);
- this.callback = callback;
-
- this.lastValue = this.getValue();
- if (this.element.tagName.toLowerCase() == 'form')
- this.registerFormCallbacks();
- else
- this.registerCallback(this.element);
- },
-
- onElementEvent: function() {
- var value = this.getValue();
- if (this.lastValue != value) {
- this.callback(this.element, value);
- this.lastValue = value;
- }
- },
-
- registerFormCallbacks: function() {
- var elements = Form.getElements(this.element);
- for (var i = 0; i < elements.length; i++)
- this.registerCallback(elements[i]);
- },
-
- registerCallback: function(element) {
- if (element.type) {
- switch (element.type.toLowerCase()) {
- case 'checkbox':
- case 'radio':
- element.target = this;
- element.prev_onclick = element.onclick || Prototype.emptyFunction;
- element.onclick = function() {
- this.prev_onclick();
- this.target.onElementEvent();
- }
- break;
- case 'password':
- case 'text':
- case 'textarea':
- case 'select-one':
- case 'select-multiple':
- element.target = this;
- element.prev_onchange = element.onchange || Prototype.emptyFunction;
- element.onchange = function() {
- this.prev_onchange();
- this.target.onElementEvent();
- }
- break;
- }
- }
- }
-}
-
-Form.Element.EventObserver = Class.create();
-Form.Element.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
- getValue: function() {
- return Form.Element.getValue(this.element);
- }
-});
-
-Form.EventObserver = Class.create();
-Form.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
- getValue: function() {
- return Form.serialize(this.element);
- }
-});
-
-
-if (!window.Event) {
- var Event = new Object();
-}
-
-Object.extend(Event, {
- KEY_BACKSPACE: 8,
- KEY_TAB: 9,
- KEY_RETURN: 13,
- KEY_ESC: 27,
- KEY_LEFT: 37,
- KEY_UP: 38,
- KEY_RIGHT: 39,
- KEY_DOWN: 40,
- KEY_DELETE: 46,
-
- element: function(event) {
- return event.target || event.srcElement;
- },
-
- isLeftClick: function(event) {
- return (((event.which) && (event.which == 1)) ||
- ((event.button) && (event.button == 1)));
- },
-
- pointerX: function(event) {
- return event.pageX || (event.clientX +
- (document.documentElement.scrollLeft || document.body.scrollLeft));
- },
-
- pointerY: function(event) {
- return event.pageY || (event.clientY +
- (document.documentElement.scrollTop || document.body.scrollTop));
- },
-
- stop: function(event) {
- if (event.preventDefault) {
- event.preventDefault();
- event.stopPropagation();
- } else {
- event.returnValue = false;
- }
- },
-
- // find the first node with the given tagName, starting from the
- // node the event was triggered on; traverses the DOM upwards
- findElement: function(event, tagName) {
- var element = Event.element(event);
- while (element.parentNode && (!element.tagName ||
- (element.tagName.toUpperCase() != tagName.toUpperCase())))
- element = element.parentNode;
- return element;
- },
-
- observers: false,
-
- _observeAndCache: function(element, name, observer, useCapture) {
- if (!this.observers) this.observers = [];
- if (element.addEventListener) {
- this.observers.push([element, name, observer, useCapture]);
- element.addEventListener(name, observer, useCapture);
- } else if (element.attachEvent) {
- this.observers.push([element, name, observer, useCapture]);
- element.attachEvent('on' + name, observer);
- }
- },
-
- unloadCache: function() {
- if (!Event.observers) return;
- for (var i = 0; i < Event.observers.length; i++) {
- Event.stopObserving.apply(this, Event.observers[i]);
- Event.observers[i][0] = null;
- }
- Event.observers = false;
- },
-
- observe: function(element, name, observer, useCapture) {
- var element = $(element);
- useCapture = useCapture || false;
-
- if (name == 'keypress' &&
- ((/Konqueror|Safari|KHTML/.test(navigator.userAgent))
- || element.attachEvent))
- name = 'keydown';
-
- this._observeAndCache(element, name, observer, useCapture);
- },
-
- stopObserving: function(element, name, observer, useCapture) {
- var element = $(element);
- useCapture = useCapture || false;
-
- if (name == 'keypress' &&
- ((/Konqueror|Safari|KHTML/.test(navigator.userAgent))
- || element.detachEvent))
- name = 'keydown';
-
- if (element.removeEventListener) {
- element.removeEventListener(name, observer, useCapture);
- } else if (element.detachEvent) {
- element.detachEvent('on' + name, observer);
- }
- }
-});
-
-/* prevent memory leaks in IE */
-Event.observe(window, 'unload', Event.unloadCache, false);
-
-var Position = {
-
- // set to true if needed, warning: firefox performance problems
- // NOT neeeded for page scrolling, only if draggable contained in
- // scrollable elements
- includeScrollOffsets: false,
-
- // must be called before calling withinIncludingScrolloffset, every time the
- // page is scrolled
- prepare: function() {
- this.deltaX = window.pageXOffset
- || document.documentElement.scrollLeft
- || document.body.scrollLeft
- || 0;
- this.deltaY = window.pageYOffset
- || document.documentElement.scrollTop
- || document.body.scrollTop
- || 0;
- },
-
- realOffset: function(element) {
- var valueT = 0, valueL = 0;
- do {
- valueT += element.scrollTop || 0;
- valueL += element.scrollLeft || 0;
- element = element.parentNode;
- } while (element);
- return [valueL, valueT];
- },
-
- cumulativeOffset: function(element) {
- var valueT = 0, valueL = 0;
- do {
- valueT += element.offsetTop || 0;
- valueL += element.offsetLeft || 0;
- element = element.offsetParent;
- } while (element);
- return [valueL, valueT];
- },
-
- // caches x/y coordinate pair to use with overlap
- within: function(element, x, y) {
- if (this.includeScrollOffsets)
- return this.withinIncludingScrolloffsets(element, x, y);
- this.xcomp = x;
- this.ycomp = y;
- this.offset = this.cumulativeOffset(element);
-
- return (y >= this.offset[1] &&
- y < this.offset[1] + element.offsetHeight &&
- x >= this.offset[0] &&
- x < this.offset[0] + element.offsetWidth);
- },
-
- withinIncludingScrolloffsets: function(element, x, y) {
- var offsetcache = this.realOffset(element);
-
- this.xcomp = x + offsetcache[0] - this.deltaX;
- this.ycomp = y + offsetcache[1] - this.deltaY;
- this.offset = this.cumulativeOffset(element);
-
- return (this.ycomp >= this.offset[1] &&
- this.ycomp < this.offset[1] + element.offsetHeight &&
- this.xcomp >= this.offset[0] &&
- this.xcomp < this.offset[0] + element.offsetWidth);
- },
-
- // within must be called directly before
- overlap: function(mode, element) {
- if (!mode) return 0;
- if (mode == 'vertical')
- return ((this.offset[1] + element.offsetHeight) - this.ycomp) /
- element.offsetHeight;
- if (mode == 'horizontal')
- return ((this.offset[0] + element.offsetWidth) - this.xcomp) /
- element.offsetWidth;
- },
-
- clone: function(source, target) {
- source = $(source);
- target = $(target);
- target.style.position = 'absolute';
- var offsets = this.cumulativeOffset(source);
- target.style.top = offsets[1] + 'px';
- target.style.left = offsets[0] + 'px';
- target.style.width = source.offsetWidth + 'px';
- target.style.height = source.offsetHeight + 'px';
- }
-}
diff --git a/src/site/src/documentation/skins/common/skinconf.xsl b/src/site/src/documentation/skins/common/skinconf.xsl
deleted file mode 100644
index 5d1132086..000000000
--- a/src/site/src/documentation/skins/common/skinconf.xsl
+++ /dev/null
@@ -1,238 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="skinconfig">
- <xsl:copy>
- <xsl:if test="not(disable-print-link)">
- <disable-print-link>true</disable-print-link>
- </xsl:if>
- <xsl:if test="not(disable-pdf-link)">
- <disable-pdf-link>true</disable-pdf-link>
- </xsl:if>
- <xsl:if test="not(disable-txt-link)">
- <disable-txt-link>true</disable-txt-link>
- </xsl:if>
- <xsl:if test="not(disable-pod-link)">
- <disable-pod-link>true</disable-pod-link>
- </xsl:if>
- <xsl:if test="not(disable-xml-link)">
- <disable-xml-link>true</disable-xml-link>
- </xsl:if>
- <xsl:if test="not(disable-external-link-image)">
- <disable-external-link-image>false</disable-external-link-image>
- </xsl:if>
- <xsl:if test="not(disable-compliance-links)">
- <disable-compliance-links>false</disable-compliance-links>
- </xsl:if>
- <xsl:if test="not(obfuscate-mail-links)">
- <obfuscate-mail-links>true</obfuscate-mail-links>
- </xsl:if>
- <xsl:if test="not(obfuscate-mail-value)">
- <obfuscate-mail-value>.at.</obfuscate-mail-value>
- </xsl:if>
- <xsl:if test="not(disable-font-script)">
- <disable-font-script>true</disable-font-script>
- </xsl:if>
-<!--
- <xsl:if test="not(project-name)">
- <project-name>MyProject</project-name>
- </xsl:if>
- <xsl:if test="not(project-description)">
- <project-description>MyProject Description</project-description>
- </xsl:if>
- <xsl:if test="not(project-url)">
- <project-url>http://myproj.mygroup.org/</project-url>
- </xsl:if>
- <xsl:if test="not(project-logo)">
- <project-logo>images/project.png</project-logo>
- </xsl:if>
- <xsl:if test="not(group-name)">
- <group-name>MyGroup</group-name>
- </xsl:if>
- <xsl:if test="not(group-description)">
- <group-description>MyGroup Description</group-description>
- </xsl:if>
- <xsl:if test="not(group-url)">
- <group-url>http://mygroup.org</group-url>
- </xsl:if>
- <xsl:if test="not(group-logo)">
- <group-logo>images/group.png</group-logo>
- </xsl:if>
- <xsl:if test="not(host-url)">
- <host-url/>
- </xsl:if>
- <xsl:if test="not(host-logo)">
- <host-logo/>
- </xsl:if>
- <xsl:if test="not(year)">
- <year>2006</year>
- </xsl:if>
- <xsl:if test="not(vendor)">
- <vendor>The Acme Software Foundation.</vendor>
- </xsl:if>
- -->
- <xsl:if test="not(trail)">
- <trail>
- <link1 name="" href=""/>
- <link2 name="" href=""/>
- <link3 name="" href=""/>
- </trail>
- </xsl:if>
- <xsl:if test="not(toc)">
- <toc level="2" location="page"/>
- </xsl:if>
- <xsl:if test="not(pdf/page-numbering-format)">
- <pdf>
- <page-numbering-format>Page 1</page-numbering-format>
- </pdf>
- </xsl:if>
- <xsl:if test="not(pdf/show-external-urls)">
- <pdf>
- <show-external-urls>true</show-external-urls>
- </pdf>
- </xsl:if>
-<!--
- <xsl:if test="not(colors)">
- <colors>
- <color name="header" value="#294563"/>
-
- <color name="tab-selected" value="#4a6d8c"/>
- <color name="tab-unselected" value="#b5c7e7"/>
- <color name="subtab-selected" value="#4a6d8c"/>
- <color name="subtab-unselected" value="#4a6d8c"/>
-
- <color name="heading" value="#294563"/>
- <color name="subheading" value="#4a6d8c"/>
-
- <color name="navstrip" value="#cedfef"/>
- <color name="toolbox" value="#294563"/>
-
- <color name="menu" value="#4a6d8c"/>
- <color name="dialog" value="#4a6d8c"/>
-
- <color name="body" value="#ffffff"/>
-
- <color name="table" value="#7099C5"/>
- <color name="table-cell" value="#f0f0ff"/>
- <color name="highlight" value="#ffff00"/>
- <color name="fixme" value="#c60"/>
- <color name="note" value="#069"/>
-
- <color name="warning" value="#900"/>
- <color name="code" value="#CFDCED"/>
-
- <color name="footer" value="#cedfef"/>
- </colors>
- </xsl:if>
--->
- <xsl:if test="not(extra-css)">
- <extra-css/>
- </xsl:if>
- <xsl:if test="not(credits)">
- <credits>
- <credit>
- <name>Built with Apache Forrest</name>
- <url>http://forrest.apache.org/</url>
- <image>images/built-with-forrest-button.png</image>
- <width>88</width>
- <height>31</height>
- </credit>
-<!-- A credit with @role='pdf' will have its name and url displayed in the
- PDF page's footer. -->
- </credits>
- </xsl:if>
- <xsl:copy-of select="@*"/>
- <xsl:copy-of select="node()"/>
-<!--
- <xsl:copy-of select="node()[not(name(.)='colors')]"/>
- <xsl:apply-templates select="colors"/>-->
- </xsl:copy>
- </xsl:template>
-<!--
- <xsl:template match="colors">
- <colors>
- <xsl:if test="not(color[@name='header'])">
- <color name="header" value="#294563"/>
- </xsl:if>
- <xsl:if test="not(color[@name='tab-selected'])">
- <color name="tab-selected" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='tab-unselected'])">
- <color name="tab-unselected" value="#b5c7e7"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subtab-selected'])">
- <color name="subtab-selected" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subtab-unselected'])">
- <color name="subtab-unselected" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='heading'])">
- <color name="heading" value="#294563"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subheading'])">
- <color name="subheading" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='navstrip'])">
- <color name="navstrip" value="#cedfef"/>
- </xsl:if>
- <xsl:if test="not(color[@name='toolbox'])">
- <color name="toolbox" value="#294563"/>
- </xsl:if>
- <xsl:if test="not(color[@name='menu'])">
- <color name="menu" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='dialog'])">
- <color name="dialog" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='body'])">
- <color name="body" value="#ffffff"/>
- </xsl:if>
- <xsl:if test="not(color[@name='table'])">
- <color name="table" value="#7099C5"/>
- </xsl:if>
- <xsl:if test="not(color[@name='table-cell'])">
- <color name="table-cell" value="#f0f0ff"/>
- </xsl:if>
- <xsl:if test="not(color[@name='highlight'])">
- <color name="highlight" value="#yellow"/>
- </xsl:if>
- <xsl:if test="not(color[@name='fixme'])">
- <color name="fixme" value="#c60"/>
- </xsl:if>
- <xsl:if test="not(color[@name='note'])">
- <color name="note" value="#069"/>
- </xsl:if>
- <xsl:if test="not(color[@name='warning'])">
- <color name="warning" value="#900"/>
- </xsl:if>
- <xsl:if test="not(color[@name='code'])">
- <color name="code" value="#CFDCED"/>
- </xsl:if>
- <xsl:if test="not(color[@name='footer'])">
- <color name="footer" value="#cedfef"/>
- </xsl:if>
-
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:copy-of select="node()[name(.)='color']"/>
- </xsl:copy>
-
- </colors>
- </xsl:template>
--->
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/translations/CommonMessages_de.xml b/src/site/src/documentation/skins/common/translations/CommonMessages_de.xml
deleted file mode 100644
index bc461196e..000000000
--- a/src/site/src/documentation/skins/common/translations/CommonMessages_de.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- 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.
--->
-<catalogue>
- <message key="Font size:">Schriftgr�sse:</message>
- <message key="Last Published:">Zuletzt ver�ffentlicht:</message>
- <message key="Search">Suche:</message>
- <message key="Search the site with">Suche auf der Seite mit</message>
-</catalogue>
diff --git a/src/site/src/documentation/skins/common/translations/CommonMessages_en_US.xml b/src/site/src/documentation/skins/common/translations/CommonMessages_en_US.xml
deleted file mode 100644
index 88dfe1431..000000000
--- a/src/site/src/documentation/skins/common/translations/CommonMessages_en_US.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- 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.
--->
-<catalogue>
- <message key="Font size:">Font size:</message>
- <message key="Last Published:">Last Published:</message>
- <message key="Search">Search</message>
- <message key="Search the site with">Search site with</message>
-</catalogue>
diff --git a/src/site/src/documentation/skins/common/translations/CommonMessages_es.xml b/src/site/src/documentation/skins/common/translations/CommonMessages_es.xml
deleted file mode 100644
index 63be6712b..000000000
--- a/src/site/src/documentation/skins/common/translations/CommonMessages_es.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- 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.
--->
-<catalogue>
- <message key="Font size:">Tama�o del texto:</message>
- <message key="Last Published:">Fecha de publicaci�n:</message>
- <message key="Search">Buscar</message>
- <message key="Search the site with">Buscar en</message>
-</catalogue>
diff --git a/src/site/src/documentation/skins/common/translations/CommonMessages_fr.xml b/src/site/src/documentation/skins/common/translations/CommonMessages_fr.xml
deleted file mode 100644
index 622569a4f..000000000
--- a/src/site/src/documentation/skins/common/translations/CommonMessages_fr.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- 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.
--->
-<catalogue>
- <message key="Font size:">Taille :</message>
- <message key="Last Published:">Derni�re publication :</message>
- <message key="Search">Rechercher</message>
- <message key="Search the site with">Rechercher sur le site avec</message>
-</catalogue>
diff --git a/src/site/src/documentation/skins/common/xslt/fo/document-to-fo.xsl b/src/site/src/documentation/skins/common/xslt/fo/document-to-fo.xsl
deleted file mode 100644
index 6bae24b04..000000000
--- a/src/site/src/documentation/skins/common/xslt/fo/document-to-fo.xsl
+++ /dev/null
@@ -1,1014 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- version="1.0">
-<!-- left, justify, right -->
- <xsl:variable name="text-align" select="string(//skinconfig/pdf/page/@text-align)"/>
-<!-- print URL of external links -->
- <xsl:variable name="show-external-urls" select="//skinconfig/pdf/show-external-urls"/>
-<!-- Get the section depth to use when generating the minitoc (default is 2) -->
- <xsl:variable name="toc-max-depth" select="number(//skinconfig/toc/@max-depth)"/>
-<!-- The page size to be used -->
- <xsl:variable name="pagesize"
- select="string(//skinconfig/pdf/page/@size)"/>
-<!-- The page orientation ("portrait" or "landscape") -->
- <xsl:variable name="pageorientation"
- select="string(//skinconfig/pdf/page/@orientation)"/>
-<!-- Double-sided printing toggle -->
- <xsl:variable name="doublesided"
- select="string(//skinconfig/pdf/margins/@double-sided)"/>
-<!-- The top page margin -->
- <xsl:variable name="topmargin"
- select="string(//skinconfig/pdf/margins/top)"/>
-<!-- The bottom page margin -->
- <xsl:variable name="bottommargin"
- select="string(//skinconfig/pdf/margins/bottom)"/>
-<!-- The inner page margin (always the left margin if
- double-sided printing is off, alternating between left and right if
- it's on) -->
- <xsl:variable name="innermargin"
- select="string(//skinconfig/pdf/margins/inner)"/>
-<!-- The outer page margin (always the right margin if
- double-sided printing is off, alternating between right and left if
- it's on)-->
- <xsl:variable name="outermargin"
- select="string(//skinconfig/pdf/margins/outer)"/>
- <xsl:param name="numbersections" select="'true'"/>
-<!-- page breaks after TOC and each page if an aggregate document -->
- <xsl:variable name="page-break-top-sections" select="'true'"/>
-<!-- page numbering format -->
- <xsl:variable name="page-numbering-format" select="string(//skinconfig/pdf/page-numbering-format)"/>
-<!-- Section depth at which we stop numbering and just indent -->
- <xsl:param name="numbering-max-depth" select="'3'"/>
- <xsl:param name="imagesdir" select="."/>
- <xsl:param name="xmlbasedir"/>
- <xsl:include href="pdfoutline.xsl"/>
- <xsl:include href="footerinfo.xsl"/>
-<!-- Determine page height for various page sizes (US Letter portrait
- is the default) -->
-<!-- FIXME: JJP:would this be better of a file? -->
- <xsl:variable name="pageheight">
- <xsl:choose>
- <xsl:when test="$pageorientation = 'landscape'">
- <xsl:choose>
- <xsl:when test="$pagesize = 'a0'">841mm</xsl:when>
- <xsl:when test="$pagesize = 'a1'">594mm</xsl:when>
- <xsl:when test="$pagesize = 'a2'">420mm</xsl:when>
- <xsl:when test="$pagesize = 'a3'">297mm</xsl:when>
- <xsl:when test="$pagesize = 'a4'">210mm</xsl:when>
- <xsl:when test="$pagesize = 'a5'">148mm</xsl:when>
- <xsl:when test="$pagesize = 'executive'">7.25in</xsl:when>
- <xsl:when test="$pagesize = 'folio'">8.5in</xsl:when>
- <xsl:when test="$pagesize = 'ledger'">11in</xsl:when>
- <xsl:when test="$pagesize = 'legal'">8.5in</xsl:when>
- <xsl:when test="$pagesize = 'letter'">8.5in</xsl:when>
- <xsl:when test="$pagesize = 'quarto'">8.5in</xsl:when>
- <xsl:when test="$pagesize = 'tabloid'">11in</xsl:when>
- <xsl:otherwise>8.5in</xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$pagesize = 'a0'">1189mm</xsl:when>
- <xsl:when test="$pagesize = 'a1'">841mm</xsl:when>
- <xsl:when test="$pagesize = 'a2'">594mm</xsl:when>
- <xsl:when test="$pagesize = 'a3'">420mm</xsl:when>
- <xsl:when test="$pagesize = 'a4'">297mm</xsl:when>
- <xsl:when test="$pagesize = 'a5'">210mm</xsl:when>
- <xsl:when test="$pagesize = 'executive'">10.5in</xsl:when>
- <xsl:when test="$pagesize = 'folio'">13in</xsl:when>
- <xsl:when test="$pagesize = 'ledger'">17in</xsl:when>
- <xsl:when test="$pagesize = 'legal'">14in</xsl:when>
- <xsl:when test="$pagesize = 'quarto'">10.83in</xsl:when>
- <xsl:when test="$pagesize = 'tabloid'">17in</xsl:when>
- <xsl:otherwise>11in</xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-<!-- Determine page width for various page sizes (US Letter portrait
- is the default) -->
- <xsl:variable name="pagewidth">
- <xsl:choose>
- <xsl:when test="$pageorientation = 'landscape'">
- <xsl:choose>
- <xsl:when test="$pagesize = 'a0'">1189mm</xsl:when>
- <xsl:when test="$pagesize = 'a1'">841mm</xsl:when>
- <xsl:when test="$pagesize = 'a2'">594mm</xsl:when>
- <xsl:when test="$pagesize = 'a3'">420mm</xsl:when>
- <xsl:when test="$pagesize = 'a4'">297mm</xsl:when>
- <xsl:when test="$pagesize = 'a5'">210mm</xsl:when>
- <xsl:when test="$pagesize = 'executive'">10.5in</xsl:when>
- <xsl:when test="$pagesize = 'folio'">13in</xsl:when>
- <xsl:when test="$pagesize = 'ledger'">17in</xsl:when>
- <xsl:when test="$pagesize = 'legal'">14in</xsl:when>
- <xsl:when test="$pagesize = 'quarto'">10.83in</xsl:when>
- <xsl:when test="$pagesize = 'tabloid'">17in</xsl:when>
- <xsl:otherwise>11in</xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$pagesize = 'a0'">841mm</xsl:when>
- <xsl:when test="$pagesize = 'a1'">594mm</xsl:when>
- <xsl:when test="$pagesize = 'a2'">420mm</xsl:when>
- <xsl:when test="$pagesize = 'a3'">297mm</xsl:when>
- <xsl:when test="$pagesize = 'a4'">210mm</xsl:when>
- <xsl:when test="$pagesize = 'a5'">148mm</xsl:when>
- <xsl:when test="$pagesize = 'executive'">7.25in</xsl:when>
- <xsl:when test="$pagesize = 'folio'">8.5in</xsl:when>
- <xsl:when test="$pagesize = 'ledger'">11in</xsl:when>
- <xsl:when test="$pagesize = 'legal'">8.5in</xsl:when>
- <xsl:when test="$pagesize = 'letter'">8.5in</xsl:when>
- <xsl:when test="$pagesize = 'quarto'">8.5in</xsl:when>
- <xsl:when test="$pagesize = 'tabloid'">11in</xsl:when>
- <xsl:otherwise>8.5in</xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:template match="/">
- <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
- <fo:layout-master-set>
- <fo:simple-page-master master-name="first-page"
- page-height="{$pageheight}"
- page-width="{$pagewidth}"
- margin-top="{$topmargin}"
- margin-bottom="{$bottommargin}"
- margin-left="{$innermargin}"
- margin-right="{$outermargin}">
- <fo:region-body
- margin-top="0.5in"
- margin-bottom=".5in"/>
- <fo:region-after
- region-name="first-footer"
- extent=".5in"
- display-align="before"/>
- </fo:simple-page-master>
- <fo:simple-page-master master-name="even-page"
- page-height="{$pageheight}"
- page-width="{$pagewidth}"
- margin-top="{$topmargin}"
- margin-bottom="{$bottommargin}">
- <xsl:choose>
- <xsl:when test="$doublesided = 'true'">
- <xsl:attribute name="margin-left">
- <xsl:value-of select="$outermargin"/>
- </xsl:attribute>
- <xsl:attribute name="margin-right">
- <xsl:value-of select="$innermargin"/>
- </xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="margin-left">
- <xsl:value-of select="$innermargin"/>
- </xsl:attribute>
- <xsl:attribute name="margin-right">
- <xsl:value-of select="$outermargin"/>
- </xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- <fo:region-before
- region-name="even-header"
- extent="0.5in"
- border-bottom="0.5pt solid"/>
- <fo:region-body
- margin-top="0.5in"
- margin-bottom=".5in"/>
- <fo:region-after
- region-name="even-footer"
- extent=".5in"
- display-align="before"/>
- </fo:simple-page-master>
- <fo:simple-page-master master-name="odd-page"
- page-height="{$pageheight}"
- page-width="{$pagewidth}"
- margin-top="{$topmargin}"
- margin-bottom="{$bottommargin}"
- margin-left="{$innermargin}"
- margin-right="{$outermargin}">
- <fo:region-before
- region-name="odd-header"
- extent="0.5in"
- border-bottom="0.5pt solid"/>
- <fo:region-body
- margin-top="0.5in"
- margin-bottom=".5in"/>
- <fo:region-after
- region-name="odd-footer"
- extent=".5in"
- display-align="before"/>
- </fo:simple-page-master>
- <fo:page-sequence-master master-name="book">
- <fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference
- page-position="first"
- master-reference="first-page"/>
- <fo:conditional-page-master-reference
- odd-or-even="odd"
- master-reference="odd-page"/>
- <fo:conditional-page-master-reference
- odd-or-even="even"
- master-reference="even-page"/>
- </fo:repeatable-page-master-alternatives>
- </fo:page-sequence-master>
- </fo:layout-master-set>
- <xsl:apply-templates select="/site/document" mode="outline"/>
- <fo:page-sequence master-reference="book">
- <xsl:apply-templates select="/site/document"/>
- </fo:page-sequence>
- </fo:root>
- </xsl:template>
- <xsl:template match="document">
- <fo:title>
- <xsl:value-of select="header/title"/>
- </fo:title>
- <fo:static-content flow-name="first-footer">
- <fo:block
- border-top="0.25pt solid"
- padding-before="6pt"
- text-align="center">
- <xsl:apply-templates select="footer"/>
- </fo:block>
-<!-- don't list page number on first page if it's contents is just the TOC -->
- <xsl:if test="not($toc-max-depth > 0 and $page-break-top-sections)">
- <xsl:call-template name="insertPageNumber">
- <xsl:with-param name="text-align">start</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- <xsl:call-template name="info"/>
- </fo:static-content>
- <fo:static-content flow-name="even-header">
- <fo:block
- font-size="70%"
- text-align="end"
- font-style="italic">
- <xsl:value-of select="header/title"/>
- </fo:block>
- </fo:static-content>
- <fo:static-content flow-name="even-footer">
- <fo:block
- border-top="0.25pt solid"
- padding-before="6pt"
- text-align="center">
- <xsl:apply-templates select="footer"/>
- </fo:block>
- <xsl:call-template name="insertPageNumber">
- <xsl:with-param name="text-align">end</xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name="info"/>
- </fo:static-content>
- <fo:static-content flow-name="odd-header">
- <fo:block
- font-size="70%"
- text-align="start"
- font-style="italic">
- <xsl:value-of select="header/title"/>
- </fo:block>
- </fo:static-content>
- <fo:static-content flow-name="odd-footer">
- <fo:block
- border-top="0.25pt solid"
- padding-before="6pt"
- text-align="center">
- <xsl:apply-templates select="footer"/>
- </fo:block>
- <xsl:call-template name="insertPageNumber">
- <xsl:with-param name="text-align">start</xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name="info"/>
- </fo:static-content>
- <fo:flow flow-name="xsl-region-body">
- <fo:block
- padding-before="24pt"
- padding-after="24pt"
- font-size="24pt"
- font-weight="bold"
- id="{generate-id()}">
- <xsl:value-of select="header/title"/>
- </fo:block>
- <fo:block
- text-align="{$text-align}"
- padding-before="18pt"
- padding-after="18pt">
- <xsl:apply-templates/>
- </fo:block>
-<!-- Total number of pages calculation... -->
- <fo:block id="term"/>
- </fo:flow>
- </xsl:template>
- <xsl:template match="abstract">
- <fo:block
- font-size="12pt"
- text-align="center"
- space-before="20pt"
- space-after="25pt"
- width="7.5in"
- font-family="serif"
- font-style="italic">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:apply-templates/>
- </fo:block>
- </xsl:template>
- <xsl:template match="notice">
- <fo:block
- font-size="10pt"
- text-align="left"
- space-before="20pt"
- width="7.5in"
- font-family="serif"
- border-top="0.25pt solid"
- border-bottom="0.25pt solid"
- padding-before="6pt"
- padding-after="6pt">
- <xsl:call-template name="insertPageBreaks"/>
-<!-- insert i18n stuff here -->
- NOTICE: <xsl:apply-templates/>
- </fo:block>
- </xsl:template>
- <xsl:template match="anchor">
- <fo:block id="{@id}"/>
- <xsl:apply-templates/>
- </xsl:template>
- <xsl:template match="section">
- <xsl:param name="level">0</xsl:param>
- <xsl:variable name="size">
-<!-- 14pt for level 1 12pt for level 2 -->
- <xsl:value-of select="14-number($level)"/>
- </xsl:variable>
- <xsl:variable name="background-color" select="//skinconfig/colors/color[@name='body']/@value"/>
- <xsl:variable name="heading-color" select="//skinconfig/colors/color[@name='subheading']/@value"/>
- <xsl:variable name="heading-type" select="//skinconfig/headings/@type"/>
- <fo:block
- font-family="serif"
- font-size="{$size}pt"
- font-weight="bold"
- space-before="12pt"
- space-after="4pt">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:if test="$heading-type = 'boxed'">
- <xsl:attribute name="background-color">
- <xsl:value-of select="$heading-color"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:attribute name="id">
- <xsl:choose>
- <xsl:when test="normalize-space(@id)!=''">
- <xsl:value-of select="@id"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="generate-id()"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:if test="$numbersections = 'true' and number($level) &lt; $numbering-max-depth+1">
- <xsl:number format="1.1.1.1.1.1.1" count="section" level="multiple"/>
-<xsl:text>. </xsl:text>
- </xsl:if>
-<!-- For sections 4 or more nestings deep, indent instead of number -->
- <xsl:if test="number($level) &gt; $numbering-max-depth+1">
- <xsl:attribute name="start-indent">
- <xsl:value-of select="4+number($level)"/>
-<xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:value-of select="title"/>
- </fo:block>
- <xsl:if test="$heading-type = 'underlined'">
-<!-- The non-breaking space in this block is required, otherwise
- the block won't be rendered at all. -->
- <fo:block
- font-family="serif"
- font-size="{10 div (number($level) +1 )}pt"
- background-color="{$heading-color}">&#160;</fo:block>
- </xsl:if>
- <fo:block
- background-color="{$background-color}">
- <xsl:apply-templates>
- <xsl:with-param name="level" select="number($level)+1"/>
- </xsl:apply-templates>
- </fo:block>
- </xsl:template>
- <xsl:template match="title">
-<!-- do nothing as titles are handled in their parent templates -->
- </xsl:template>
- <xsl:template match="subtitle">
- <xsl:param name="level">0</xsl:param>
- <xsl:variable name="size" select="16-(number($level)*1.5)"/>
- <fo:block
- font-weight="bold"
- font-size="{$size}pt">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:apply-templates/>
- </fo:block>
- </xsl:template>
- <xsl:template match="authors">
- <fo:block
- space-before="20pt"
- font-weight="bold"
- font-size="9pt">
- <xsl:call-template name="insertPageBreaks"/>
-<!-- insert i18n stuff here -->
- by
- <xsl:for-each select="person">
- <xsl:value-of select="@name"/>
- <xsl:if test="not(position() = last())">, </xsl:if>
- </xsl:for-each>
- </fo:block>
- </xsl:template>
- <xsl:template match="p">
- <xsl:choose>
- <xsl:when test="ancestor::li and not(preceding-sibling::*)">
- <fo:block
- space-after="4pt"
- font-family="serif">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:apply-templates/>
- </fo:block>
- </xsl:when>
- <xsl:otherwise>
- <fo:block
- space-before="4pt"
- space-after="4pt"
- font-family="serif">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:apply-templates/>
- </fo:block>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="source">
- <xsl:variable name="color" select="//skinconfig/colors/color[@name='code']/@value"/>
- <fo:block
- font-family="monospace"
- font-size="10pt"
- background-color="{$color}"
- white-space-collapse="false"
- linefeed-treatment="preserve"
- white-space-treatment="preserve"
- wrap-option="wrap"
- text-align="start">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:apply-templates/>
- </fo:block>
- </xsl:template>
- <xsl:template match="ol|ul">
- <fo:list-block
- provisional-distance-between-starts="18pt"
- provisional-label-separation="3pt"
- text-align="start">
- <xsl:apply-templates/>
- </fo:list-block>
- </xsl:template>
- <xsl:template match="ol/li">
- <fo:list-item>
- <xsl:if test="not(following-sibling::li[1])">
- <xsl:attribute name="space-after">6pt"</xsl:attribute>
- </xsl:if>
- <fo:list-item-label
- end-indent="label-end()">
- <fo:block>
- <xsl:number format="1."/>
- </fo:block>
- </fo:list-item-label>
- <fo:list-item-body
- start-indent="body-start()">
- <fo:block
- font-family="serif">
- <xsl:apply-templates/>
- </fo:block>
- </fo:list-item-body>
- </fo:list-item>
- </xsl:template>
-<!-- Emulate browser handling of these invalid combinations that our DTD
- unfortunately allows -->
- <xsl:template match="ul/ul | ul/ol | ol/ul | ol/ol">
- <fo:list-item>
- <fo:list-item-label end-indent="label-end()">
- <fo:block></fo:block>
- </fo:list-item-label>
- <fo:list-item-body start-indent="body-start()">
- <fo:block font-family="serif">
- <xsl:apply-templates/>
- </fo:block>
- </fo:list-item-body>
- </fo:list-item>
- </xsl:template>
- <xsl:template match="ul/li">
- <fo:list-item>
- <xsl:if test="not(following-sibling::li[1])">
- <xsl:attribute name="space-after">6pt</xsl:attribute>
- </xsl:if>
- <fo:list-item-label end-indent="label-end()">
- <fo:block>&#x2022;</fo:block>
- </fo:list-item-label>
- <fo:list-item-body start-indent="body-start()">
- <fo:block
- font-family="serif">
- <xsl:apply-templates/>
- </fo:block>
- </fo:list-item-body>
- </fo:list-item>
- </xsl:template>
- <xsl:template match="dl">
- <fo:list-block
- provisional-distance-between-starts="18pt"
- provisional-label-separation="3pt"
- text-align="start">
- <xsl:apply-templates/>
- </fo:list-block>
- </xsl:template>
- <xsl:template match="dt">
- <fo:list-item>
- <fo:list-item-label end-indent="label-end()">
- <fo:block></fo:block>
- </fo:list-item-label>
- <fo:list-item-body start-indent="body-start()">
- <fo:block
- font-weight="bold">
- <xsl:apply-templates/>
- </fo:block>
- </fo:list-item-body>
- </fo:list-item>
- </xsl:template>
- <xsl:template match="dd">
- <fo:list-item>
- <fo:list-item-label end-indent="label-end()">
- <fo:block></fo:block>
- </fo:list-item-label>
- <fo:list-item-body start-indent="body-start()">
- <fo:block>
- <xsl:apply-templates/>
- </fo:block>
- </fo:list-item-body>
- </fo:list-item>
- </xsl:template>
- <xsl:template match="strong">
- <fo:inline font-weight="bold">
- <xsl:apply-templates/>
- </fo:inline>
- </xsl:template>
- <xsl:template match="em">
- <fo:inline font-style="italic">
- <xsl:apply-templates/>
- </fo:inline>
- </xsl:template>
- <xsl:template match="code">
- <fo:inline font-family="monospace">
- <xsl:apply-templates/>
- </fo:inline>
- </xsl:template>
- <xsl:template match="warning">
- <xsl:variable name="color" select="//skinconfig/colors/color[@name='warning']/@value"/>
- <fo:block
- margin-left="0.25in"
- margin-right="0.25in"
- font-weight="bold"
- font-size="10pt"
- font-family="serif"
- space-before="10pt"
- border-before-style="solid"
- border-start-style="solid"
- border-end-style="solid"
- border-color="{$color}"
- background-color="{$color}"
- color="#ffffff">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- </xsl:when>
- <xsl:otherwise>Warning: </xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="title"/>
- </fo:block>
- <fo:block
- margin-left="0.25in"
- margin-right="0.25in"
- font-family="serif"
- font-size="8pt"
- border-after-style="solid"
- border-start-style="solid"
- border-end-style="solid"
- border-color="{$color}"
- background-color="#fff0f0"
- padding-start="3pt"
- padding-end="3pt"
- padding-before="3pt"
- padding-after="3pt"
- space-after="10pt">
- <xsl:apply-templates/>
- </fo:block>
- </xsl:template>
- <xsl:template match="note">
- <xsl:variable name="color" select="//skinconfig/colors/color[@name='note']/@value"/>
- <fo:block
- margin-left="0.25in"
- margin-right="0.25in"
- font-weight="bold"
- font-size="10pt"
- color="#ffffff"
- font-family="serif"
- space-before="10pt"
- border-before-style="solid"
- border-start-style="solid"
- border-end-style="solid"
- border-color="{$color}"
- background-color="{$color}">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- </xsl:when>
-<!-- insert i18n stuff here -->
- <xsl:otherwise>Note: </xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="title"/>
- </fo:block>
- <fo:block
- margin-left="0.25in"
- margin-right="0.25in"
- font-family="serif"
- font-size="8pt"
- space-after="10pt"
- border-after-style="solid"
- border-start-style="solid"
- border-end-style="solid"
- border-color="{$color}"
- background-color="#F0F0FF"
- padding-start="3pt"
- padding-end="3pt"
- padding-before="3pt"
- padding-after="3pt">
- <xsl:apply-templates/>
- </fo:block>
- </xsl:template>
- <xsl:template match="fixme">
- <xsl:variable name="color" select="//skinconfig/colors/color[@name='fixme']/@value"/>
- <fo:block
- margin-left="0.25in"
- margin-right="0.25in"
- font-weight="bold"
- font-size="10pt"
- color="#FFFFFF"
- font-family="serif"
- space-before="10pt"
- border-before-style="solid"
- border-start-style="solid"
- border-end-style="solid"
- border-color="{$color}"
- background-color="{$color}">
- <xsl:call-template name="insertPageBreaks"/>
-<!-- insert i18n stuff here -->
- FIXME (<xsl:value-of select="@author"/>): <xsl:value-of select="title"/>
- </fo:block>
- <fo:block
- margin-left="0.25in"
- margin-right="0.25in"
- font-family="serif"
- font-size="8pt"
- space-after="10pt"
- border-after-style="solid"
- border-start-style="solid"
- border-end-style="solid"
- border-color="{$color}"
- background-color="#FFF0F0"
- padding-start="3pt"
- padding-end="3pt"
- padding-before="3pt"
- padding-after="3pt">
- <xsl:apply-templates/>
- </fo:block>
- </xsl:template>
- <xsl:template match="link|fork|jump">
- <xsl:variable name="color" select="//skinconfig/colors/color[@name = 'body']/@link"/>
- <xsl:choose>
- <xsl:when test="starts-with(@href, '#')">
- <fo:basic-link color="{$color}" text-decoration="underline" internal-destination="{substring(@href,2)}">
- <xsl:apply-templates/>
- </fo:basic-link>
- </xsl:when>
- <xsl:otherwise>
- <fo:basic-link color="{$color}" text-decoration="underline" external-destination="{@href}">
- <xsl:apply-templates/>
- </fo:basic-link>
- <xsl:if test="$show-external-urls = 'true' and @href != string(.)">
- (<xsl:value-of select="@href"/>)
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="figure|img">
- <fo:block text-align="center">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:if test="normalize-space(@id)!=''">
- <xsl:attribute name="id">
- <xsl:value-of select="@id"/>
- </xsl:attribute>
- </xsl:if>
-<!-- Make relative paths absolute -->
- <xsl:variable name="imgpath">
- <xsl:choose>
-<!-- resources image dir -->
- <xsl:when test="starts-with(string(@src),'images/')">
- <xsl:value-of select="concat($imagesdir,substring-after(@src,'images'))"/>
- </xsl:when>
- <xsl:when test="contains(string(@src),'/images/')">
- <xsl:value-of select="concat($imagesdir,substring-after(@src,'/images'))"/>
- </xsl:when>
-<!-- already absolute -->
- <xsl:when test="contains(string(@src),':') or starts-with(string(@src),'/')">
- <xsl:value-of select="@src"/>
- </xsl:when>
-<!-- relative to document -->
- <xsl:otherwise>
- <xsl:value-of select="concat($xmlbasedir,@src)"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <fo:external-graphic src="{$imgpath}">
- <xsl:if test="@height">
- <xsl:attribute name="height">
- <xsl:value-of select="@height"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@width">
- <xsl:attribute name="width">
- <xsl:value-of select="@width"/>
- </xsl:attribute>
- </xsl:if>
- </fo:external-graphic>
-<!-- alt text -->
- <xsl:if test="//skinconfig/pdf/show-image-alt-text='true'">
- <xsl:if test="normalize-space(@alt)!=''">
- <fo:block>
- <xsl:value-of select="@alt"/>
- </fo:block>
- </xsl:if>
- </xsl:if>
- </fo:block>
- </xsl:template>
- <xsl:template match="table">
-<!-- FIXME: Apache FOP must have column widths specified at present,
- this section can be removed when this limitation is removed from Fop.
- Unfortunately, this means that each column is a fixed width,
- but at least the table displays! -->
- <xsl:variable name="max-number-columns-td">
- <xsl:for-each select="tr">
- <xsl:sort select="count(td|th)" data-type="number"
- order="descending"/>
- <xsl:if test="position() = 1">
- <xsl:value-of select="count(td|th)"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:variable>
- <xsl:variable name="max-number-columns-colspan">
- <xsl:for-each select="tr">
- <xsl:sort select="count(td|th)" data-type="number"
- order="descending"/>
- <xsl:if test="position() = 1">
- <xsl:value-of
- select="sum(td/@colspan|th/@colspan)"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:variable>
- <xsl:variable name="max-number-columns">
- <xsl:choose>
- <xsl:when
- test="$max-number-columns-colspan&gt;$max-number-columns-td">
- <xsl:value-of
- select="$max-number-columns-colspan"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$max-number-columns-td"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="column-width">
- <xsl:value-of select="6.25 div number($max-number-columns)"/>in
- </xsl:variable>
- <fo:table>
- <fo:table-column>
- <xsl:attribute name="column-width">
- <xsl:value-of select="$column-width"/>
- </xsl:attribute>
- <xsl:attribute name="number-columns-repeated">
- <xsl:value-of select="number($max-number-columns)"/>
- </xsl:attribute>
- </fo:table-column>
-<!-- End of hack for Fop support (if removing this hack, remember
- you need the <fo:table> element) -->
- <fo:table-body
- font-size="10pt"
- font-family="sans-serif">
- <xsl:apply-templates select="tr"/>
- </fo:table-body>
- </fo:table>
-<!-- FIXME: Apache Fop does not support the caption element yet.
- This hack will display the table caption accordingly. -->
- <xsl:if test="caption">
- <fo:block
- text-align="center"
- font-weight="bold">
-<!-- insert i18n stuff here -->
- Table
- <xsl:text> </xsl:text>
- <xsl:number count="table" level="multiple"/>
-<xsl:text>: </xsl:text>
- <xsl:value-of select="caption"/>
- </fo:block>
- </xsl:if>
- </xsl:template>
- <xsl:template match="tr">
- <fo:table-row>
- <xsl:apply-templates/>
- </fo:table-row>
- </xsl:template>
- <xsl:template match="th">
- <xsl:variable name="border-color" select="//skinconfig/colors/color[@name = 'table']/@value"/>
- <xsl:variable name="background-color" select="$border-color"/>
- <fo:table-cell
- padding-before="4pt"
- padding-after="4pt"
- padding-start="4pt"
- padding-end="4pt"
- color="#FFFFFF"
- background-color="{$background-color}"
- border="1pt solid {$border-color}">
- <xsl:attribute name="number-columns-spanned">
- <xsl:value-of select="@colspan"/>
- </xsl:attribute>
- <xsl:attribute name="number-rows-spanned">
- <xsl:value-of select="@rowspan"/>
- </xsl:attribute>
- <fo:block
- text-align="center">
- <xsl:apply-templates/>
- </fo:block>
- </fo:table-cell>
- </xsl:template>
- <xsl:template match="td">
- <xsl:variable name="border-color" select="//skinconfig/colors/color[@name = 'table']/@value"/>
- <xsl:variable name="background-color" select="//skinconfig/colors/color[@name = 'table-cell']/@value"/>
- <fo:table-cell
- padding-before="4pt"
- padding-after="4pt"
- padding-start="4pt"
- padding-end="4pt"
- background-color="{$background-color}"
- border="1pt solid {$border-color}">
- <xsl:attribute name="number-columns-spanned">
- <xsl:value-of select="@colspan"/>
- </xsl:attribute>
- <xsl:attribute name="number-rows-spanned">
- <xsl:value-of select="@rowspan"/>
- </xsl:attribute>
- <fo:block>
- <xsl:apply-templates/>
- </fo:block>
- </fo:table-cell>
- </xsl:template>
- <xsl:template match="br">
- <fo:block></fo:block>
- </xsl:template>
- <xsl:template match="legal">
- <fo:inline
- font-size="8pt">
- <xsl:apply-templates/>
- </fo:inline>
- </xsl:template>
- <xsl:template match="body[count(//section) != 0]">
- <xsl:if test="$toc-max-depth > 0">
- <fo:block font-family="serif" font-size="14pt" font-weight="bold"
- space-after="5pt" space-before="5pt" text-align="justify" width="7.5in">
- <xsl:call-template name="insertPageBreaks"/>
-<!-- insert i18n stuff here -->
-<xsl:text>Table of contents</xsl:text>
- </fo:block>
- <fo:block font-family="sans" font-size="12pt" space-after="5pt"
- space-before="0pt" text-align="justify" width="7.5in">
- <xsl:if test="$page-break-top-sections">
- <xsl:attribute name="break-after">page</xsl:attribute>
- </xsl:if>
- <xsl:apply-templates select="section" mode="toc" />
- </fo:block>
- </xsl:if>
- <xsl:apply-templates />
- </xsl:template>
- <xsl:template match="section" mode="toc">
-<!-- FIXME: see bug FOR-640 -->
- <xsl:param name="depth" select="'1'"/>
- <fo:block space-before="5pt" text-align-last="justify" start-indent=".5em" text-indent=".5em">
- <fo:inline>
- <xsl:variable name="id">
- <xsl:choose>
- <xsl:when test="normalize-space(@id)!=''">
- <xsl:value-of select="@id"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="generate-id()"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <fo:basic-link internal-destination="{$id}">
- <xsl:value-of select="substring('&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;', 0, 2 * $depth - 1)" />
- <fo:inline font-size="10pt">
- <xsl:number count="section" format="1.1.1.1.1.1.1" level="multiple" />
- </fo:inline>
-<xsl:text> </xsl:text>
- <xsl:value-of select="title" />
- <fo:leader leader-pattern="dots" />
- <fo:page-number-citation ref-id="{$id}" />
- </fo:basic-link>
- </fo:inline>
- <xsl:if test="$toc-max-depth > $depth">
- <xsl:apply-templates select="section" mode="toc">
- <xsl:with-param name="depth" select="$depth + 1"/>
- </xsl:apply-templates>
- </xsl:if>
- </fo:block>
- </xsl:template>
-<!-- ====================================================================== -->
-<!-- Local Extensions section -->
-<!-- ====================================================================== -->
- <xsl:template match="citation">
- <fo:inline>
- [<xsl:value-of select="@def"/>]
- </fo:inline>
- </xsl:template>
- <xsl:template match="p[@class='quote']">
- <fo:block start-indent="1em"
- space-before="4pt"
- space-after="4pt"
- background-color="#f0f0f0"
- font-family="monospace">
- <xsl:call-template name="insertPageBreaks"/>
- <xsl:apply-templates/>
- </fo:block>
- </xsl:template>
- <xsl:template name="insertPageBreaks">
-<!-- if marked as a 'pageBreakBefore', and we're breaking on pages, and were not the first node -->
- <xsl:if test="contains(@class, 'pageBreakBefore') and preceding-sibling::node()">
- <xsl:attribute name="break-before">page</xsl:attribute>
- </xsl:if>
-<!-- if marked as a 'pageBreakAfter', and we're breaking on pages, and were not the last node -->
- <xsl:if test="contains(@class, 'pageBreakAfter') and following-sibling::node()">
- <xsl:attribute name="break-after">page</xsl:attribute>
- </xsl:if>
- </xsl:template>
-<!-- Display the document numerotation -->
- <xsl:template name="insertPageNumber">
- <xsl:param name="text-align" select="'start'"/>
- <xsl:variable name="prefixe" select="substring-before($page-numbering-format,'1')"/>
- <xsl:variable name="sep" select="substring-before(substring-after($page-numbering-format,'1'),'1')"/>
- <xsl:variable name="postfixe">
- <xsl:choose>
- <xsl:when test="contains(substring-after($page-numbering-format,'1'),'1')">
- <xsl:value-of select="substring-after(substring-after($page-numbering-format,'1'),'1')"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="substring-after($page-numbering-format,'1')"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-<!-- if 'page-numbering-format' contains 1 digits, the page number is displayed in the footer -->
- <xsl:if test="contains($page-numbering-format,'1')">
- <fo:block font-size="70%" text-align="{$text-align}">
-<!-- if the separator is not found, the total page number is skipped -->
- <xsl:value-of select="$prefixe"/>
- <fo:page-number/>
- <xsl:if test="$sep != ''">
- <xsl:value-of select="$sep"/>
- <fo:page-number-citation ref-id="term"/>
- </xsl:if>
- <xsl:value-of select="$postfixe"/>
- </fo:block>
- </xsl:if>
- </xsl:template>
-<!-- ====================================================================== -->
-<!-- Temporary section - subject to change on short notice -->
-<!-- ====================================================================== -->
- <xsl:template match="//style">
-<!-- HACK: The OpenOffice.org input plugin currently produces
- intermediate documents that contain a style element, invalid per
- the Forrest Document DTD. This style element must be ignored
- here. To find out why this is done this way, read the comments
- attached to issue FOR-433. -->
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/fo/footerinfo.xsl b/src/site/src/documentation/skins/common/xslt/fo/footerinfo.xsl
deleted file mode 100644
index c5ba5c946..000000000
--- a/src/site/src/documentation/skins/common/xslt/fo/footerinfo.xsl
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- version="1.0">
-<!--
-Named template to generate a short message in the PDF footer, from text in
-skinconf.xml. By default, the message is a copyright statement. If a credit
-with @role='pdf' is present, that is used instead. Eg:
-
-<credit role="pdf">
- <name>Generated by Apache FOP 1.0-dev</name>
- <url>http://xml.apache.org/fop/dev/</url>
-</credit>
--->
- <xsl:template name="info">
- <xsl:variable name="disable-copyright-footer" select="//skinconfig/pdf/disable-copyright-footer"/>
- <xsl:variable name="pdfcredit" select="//skinconfig/credits/credit[@role = 'pdf']"/>
- <xsl:variable name="text">
- <xsl:if test="$pdfcredit">
- <xsl:value-of select="$pdfcredit/name"/>
- </xsl:if>
- <xsl:if test="not($pdfcredit) and not($disable-copyright-footer = 'true')">
-<xsl:text>Copyright &#169; </xsl:text>
- <xsl:value-of select="//skinconfig/year"/>&#160;<xsl:value-of
- select="//skinconfig/vendor"/>
-<xsl:text> All rights reserved.</xsl:text>
- </xsl:if>
- </xsl:variable>
- <xsl:variable name="url" select="$pdfcredit/url"/>
- <fo:block-container font-style="italic" absolute-position="absolute"
- left="0pt" top="0pt" right="6.25in" bottom="150pt"
- font-size="10pt">
- <xsl:if test="not($url)">
- <fo:block text-align="center" color="lightgrey">
- <xsl:value-of select="$text"/>
- </fo:block>
- </xsl:if>
- <xsl:if test="$url">
- <fo:block text-align="center">
- <fo:basic-link color="lightgrey"
- external-destination="{$url}">
- <xsl:value-of select="$text"/>
- </fo:basic-link>
- </fo:block>
- <fo:block text-align="center">
- <fo:basic-link color="lightgrey"
- external-destination="{$url}">
- <xsl:value-of select="$url"/>
- </fo:basic-link>
- </fo:block>
- </xsl:if>
- </fo:block-container>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/fo/pdfoutline.xsl b/src/site/src/documentation/skins/common/xslt/fo/pdfoutline.xsl
deleted file mode 100644
index acdc6ac9c..000000000
--- a/src/site/src/documentation/skins/common/xslt/fo/pdfoutline.xsl
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- xmlns:fox="http://xml.apache.org/fop/extensions"
- version="1.0">
- <xsl:template match="document" mode="outline">
- <xsl:apply-templates select="body/section" mode="outline"/>
- </xsl:template>
- <xsl:template match="section" mode="outline">
- <fox:outline>
- <xsl:attribute name="internal-destination">
- <xsl:choose>
- <xsl:when test="normalize-space(@id)!=''">
- <xsl:value-of select="@id"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="generate-id()"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <fox:label>
- <xsl:number format="1.1.1.1.1.1.1" count="section" level="multiple"/>
-<xsl:text> </xsl:text>
- <xsl:value-of select="normalize-space(title)"/>
- </fox:label>
- <xsl:apply-templates select="section" mode="outline"/>
- </fox:outline>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/book-to-menu.xsl b/src/site/src/documentation/skins/common/xslt/html/book-to-menu.xsl
deleted file mode 100644
index 228b57e5c..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/book-to-menu.xsl
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-book-to-menu.xsl generates the HTML menu. It outputs XML/HTML of the form:
- <div class="menu">
- ...
- </div>
-which is then merged with other HTML by site-to-xhtml.xsl
-
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<!-- ================================================================ -->
-<!-- These templates SHOULD be overridden -->
-<!-- ================================================================ -->
- <xsl:template name="selected">
- <xsl:value-of select="@label"/>
- </xsl:template>
- <xsl:template name="unselected"><a href="{@href}">
- <xsl:if test="@description">
- <xsl:attribute name="title">
- <xsl:value-of select="@description"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:value-of select="@label"/></a>
- </xsl:template>
- <xsl:template name="print-external">
-<!-- Use apply-imports when overriding -->
- <xsl:value-of select="@label"/>
- </xsl:template>
-<!-- ================================================================ -->
-<!-- These templates CAN be overridden -->
-<!-- ================================================================ -->
-<!-- Eg, if tab href is 'index.html#foo', this will be called when index.html
- is selected -->
- <xsl:template name="selected-anchor">
-<!-- By default, render as unselected so that it is clickable (takes user
- to the anchor) -->
- <xsl:call-template name="unselected"/>
- </xsl:template>
- <xsl:template name="unselected-anchor">
- <xsl:call-template name="unselected"/>
- </xsl:template>
- <xsl:template match="book">
- <xsl:apply-templates select="menu"/>
- </xsl:template>
- <xsl:template match="menu">
- <div class="menu">
- <xsl:call-template name="base-menu"/>
- </div>
- </xsl:template>
- <xsl:template match="menu-item">
-<!-- Use apply-imports when overriding -->
- <xsl:variable name="href-nofrag">
- <xsl:call-template name="path-nofrag">
- <xsl:with-param name="path" select="@href"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="node-path">
- <xsl:call-template name="normalize">
- <xsl:with-param name="path" select="concat($dirname, $href-nofrag)"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
-<!-- Compare with extensions stripped -->
- <xsl:when test="$node-path = $path-nofrag">
- <xsl:choose>
- <xsl:when test="contains(@href, '#')">
- <xsl:call-template name="selected-anchor"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="selected"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="contains(@href, '#')">
- <xsl:call-template name="unselected-anchor"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="unselected"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-<!-- ================================================================ -->
-<!-- These templates SHOULD NOT be overridden -->
-<!-- ================================================================ -->
- <xsl:param name="path"/>
- <xsl:include href="pathutils.xsl"/>
- <xsl:variable name="filename">
- <xsl:call-template name="filename">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="path-nofrag">
- <xsl:call-template name="path-nofrag">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="dirname">
- <xsl:call-template name="dirname">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:template match="external">
- <li><xsl:choose>
- <xsl:when test="starts-with(@href, $path-nofrag)">
- <span class="externalSelected">
- <xsl:call-template name="print-external"/>
- </span>
- </xsl:when>
- <xsl:otherwise><a href="{@href}" target="_blank">
- <xsl:value-of select="@label"/></a>
- </xsl:otherwise>
- </xsl:choose></li>
- </xsl:template>
- <xsl:template match="menu-item[@type='hidden']"/>
- <xsl:template match="external[@type='hidden']"/>
- <xsl:template name="base-menu">
- <xsl:apply-templates/>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/document-to-html.xsl b/src/site/src/documentation/skins/common/xslt/html/document-to-html.xsl
deleted file mode 100644
index d4496e07a..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/document-to-html.xsl
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-This stylesheet contains the majority of templates for converting documentv11
-to HTML. It renders XML as HTML in this form:
-
- <div class="content">
- ...
- </div>
-
-..which site-to-xhtml.xsl then combines with HTML from the index (book-to-menu.xsl)
-and tabs (tab-to-menu.xsl) to generate the final HTML.
-
-Section handling
- - <a name/> anchors are added if the id attribute is specified
-
--->
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:param name="dynamic-page" select="'false'"/>
- <xsl:param name="notoc"/>
- <xsl:param name="path"/>
-<!-- <xsl:include href="split.xsl"/> -->
- <xsl:include href="dotdots.xsl"/>
- <xsl:include href="pathutils.xsl"/>
-<!-- Path to site root, eg '../../' -->
- <xsl:variable name="root">
- <xsl:call-template name="dotdots">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="skin-img-dir" select="concat(string($root), 'skin/images')"/>
- <xsl:template match="/">
- <xsl:apply-templates mode="toc"/>
- <xsl:apply-templates/>
- </xsl:template>
- <xsl:template match="document">
- <div class="content">
- <table summary="" class="title">
- <tr>
- <td valign="middle">
- <xsl:if test="normalize-space(header/title)!=''">
- <h1>
- <xsl:value-of select="header/title"/>
- </h1>
- </xsl:if>
- </td>
- <div id="skinconf-printlink"/>
- <xsl:if test="$dynamic-page='false'">
- <div id="skinconf-pdflink"/>
- <div id="skinconf-xmllink"/>
- </xsl:if>
- </tr>
- </table>
- <xsl:if test="normalize-space(header/subtitle)!=''">
- <h3>
- <xsl:value-of select="header/subtitle"/>
- </h3>
- </xsl:if>
- <xsl:apply-templates select="header/type"/>
- <xsl:apply-templates select="header/notice"/>
- <xsl:apply-templates select="header/abstract"/>
- <xsl:apply-templates select="body"/>
- <div class="attribution">
- <xsl:apply-templates select="header/authors"/>
- <xsl:if test="header/authors and header/version">
-<xsl:text>; </xsl:text>
- </xsl:if>
- <xsl:apply-templates select="header/version"/>
- </div>
- </div>
- </xsl:template>
- <xsl:template match="body">
- <div id="skinconf-toc-page"/>
- <xsl:apply-templates/>
- </xsl:template>
-<!-- Generate a <a name="..."> tag for an @id -->
- <xsl:template match="@id">
- <xsl:if test="normalize-space(.)!=''"><a name="{.}"/>
- </xsl:if>
- </xsl:template>
- <xsl:template match="section">
-<!-- count the number of section in the ancestor-or-self axis to compute
- the title element name later on -->
- <xsl:variable name="sectiondepth" select="count(ancestor-or-self::section)"/><a name="{generate-id()}"/>
- <xsl:apply-templates select="@id"/>
-<!-- generate a title element, level 1 -> h3, level 2 -> h4 and so on... -->
- <xsl:element name="{concat('h',$sectiondepth + 2)}">
- <xsl:value-of select="title"/>
- <xsl:if test="$notoc='true' and $sectiondepth = 3">
- <span style="float: right"><a href="#{@id}-menu">^</a>
- </span>
- </xsl:if>
- </xsl:element>
-<!-- Indent FAQ entry text 15 pixels -->
- <xsl:variable name="indent">
- <xsl:choose>
- <xsl:when test="$notoc='true' and $sectiondepth = 3">
-<xsl:text>15</xsl:text>
- </xsl:when>
- <xsl:otherwise>
-<xsl:text>0</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <div style="margin-left: {$indent} ; border: 2px">
- <xsl:apply-templates select="*[not(self::title)]"/>
- </div>
- </xsl:template>
- <xsl:template match="note | warning | fixme">
- <xsl:apply-templates select="@id"/>
- <div>
- <xsl:call-template name="add.class">
- <xsl:with-param name="class">
- <xsl:value-of select="local-name()"/>
- </xsl:with-param>
- </xsl:call-template>
- <div class="label">
- <xsl:choose>
-<!-- FIXME: i18n Transformer here -->
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- </xsl:when>
- <xsl:when test="local-name() = 'note'">Note</xsl:when>
- <xsl:when test="local-name() = 'warning'">Warning</xsl:when>
- <xsl:otherwise>Fixme (<xsl:value-of select="@author"/>)</xsl:otherwise>
- </xsl:choose>
- </div>
- <div class="content">
- <xsl:apply-templates/>
- </div>
- </div>
- </xsl:template>
- <xsl:template match="notice">
- <div class="notice">
-<!-- FIXME: i18n Transformer here -->
-<xsl:text>Notice: </xsl:text>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="link">
- <xsl:apply-templates select="@id"/><a>
- <xsl:if test="@class='jump'">
- <xsl:attribute name="target">_top</xsl:attribute>
- </xsl:if>
- <xsl:if test="@class='fork'">
- <xsl:attribute name="target">_blank</xsl:attribute>
- </xsl:if>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/></a>
- </xsl:template>
- <xsl:template match="jump">
- <xsl:apply-templates select="@id"/><a href="{@href}" target="_top">
- <xsl:apply-templates/></a>
- </xsl:template>
- <xsl:template match="fork">
- <xsl:apply-templates select="@id"/><a href="{@href}" target="_blank">
- <xsl:apply-templates/></a>
- </xsl:template>
- <xsl:template match="p[@xml:space='preserve']">
- <xsl:apply-templates select="@id"/>
- <div class="pre">
- <xsl:copy-of select="@id"/>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="source">
- <xsl:apply-templates select="@id"/>
- <pre class="code">
-<!-- Temporarily removed long-line-splitter ... gives out-of-memory problems -->
- <xsl:copy-of select="@id"/>
- <xsl:apply-templates/>
-<!--
- <xsl:call-template name="format">
- <xsl:with-param select="." name="txt" />
- <xsl:with-param name="width">80</xsl:with-param>
- </xsl:call-template>
--->
- </pre>
- </xsl:template>
- <xsl:template match="anchor"><a name="{@id}">
- <xsl:copy-of select="@id"/></a>
- </xsl:template>
- <xsl:template match="icon">
- <xsl:apply-templates select="@id"/>
- <img class="icon">
- <xsl:copy-of select="@height | @width | @src | @alt | @id"/>
- </img>
- </xsl:template>
- <xsl:template match="code">
- <xsl:apply-templates select="@id"/>
- <span>
- <xsl:call-template name="add.class">
- <xsl:with-param name="class">codefrag</xsl:with-param>
- </xsl:call-template>
- <xsl:copy-of select="@id"/>
- <xsl:value-of select="."/>
- </span>
- </xsl:template>
- <xsl:template match="figure">
- <xsl:apply-templates select="@id"/>
- <div align="center">
- <xsl:copy-of select="@id"/>
- <img class="figure">
- <xsl:copy-of select="@height | @width | @src | @alt | @id"/>
- </img>
- </div>
- </xsl:template>
- <xsl:template match="table">
- <xsl:apply-templates select="@id"/>
- <xsl:choose>
-<!-- Limit Forrest specific processing to tables without class -->
- <xsl:when test="not(@class) or @class=''">
- <table cellpadding="4" cellspacing="1" class="ForrestTable">
- <xsl:copy-of select="@cellspacing | @cellpadding | @border | @class | @bgcolor |@id"/>
- <xsl:apply-templates/>
- </table>
- </xsl:when>
- <xsl:otherwise>
-<!-- Tables with class are passed without change -->
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="@class = ''"></xsl:if>
- </xsl:template>
- <xsl:template match="acronym/@title">
- <xsl:attribute name="title">
- <xsl:value-of select="normalize-space(.)"/>
- </xsl:attribute>
- </xsl:template>
- <xsl:template match="header/authors">
- <xsl:for-each select="person">
- <xsl:choose>
- <xsl:when test="position()=1">by</xsl:when>
- <xsl:otherwise>,</xsl:otherwise>
- </xsl:choose>
-<xsl:text> </xsl:text>
- <xsl:value-of select="@name"/>
- </xsl:for-each>
- </xsl:template>
- <xsl:template match="version">
- <span class="version">
- <xsl:apply-templates select="@major"/>
- <xsl:apply-templates select="@minor"/>
- <xsl:apply-templates select="@fix"/>
- <xsl:apply-templates select="@tag"/>
- <xsl:choose>
- <xsl:when test="starts-with(., '$Revision: ')">
- version <xsl:value-of select="substring(., 12, string-length(.) -11-2)"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="."/>
- </xsl:otherwise>
- </xsl:choose>
- </span>
- </xsl:template>
- <xsl:template match="@major">
- v<xsl:value-of select="."/>
- </xsl:template>
- <xsl:template match="@minor | @fix">
- <xsl:value-of select="concat('.',.)"/>
- </xsl:template>
- <xsl:template match="@tag">
- <xsl:value-of select="concat('-',.)"/>
- </xsl:template>
- <xsl:template match="type">
- <p class="type">
-<!-- FIXME: i18n Transformer here -->
-<xsl:text>Type: </xsl:text>
- <xsl:value-of select="."/>
- </p>
- </xsl:template>
- <xsl:template match="abstract">
- <p>
- <xsl:apply-templates/>
- </p>
- </xsl:template>
- <xsl:template name="email"><a>
- <xsl:attribute name="href">
- <xsl:value-of select="concat('mailto:',@email)"/>
- </xsl:attribute>
- <xsl:value-of select="@name"/></a>
- </xsl:template>
- <xsl:template name="generate-id">
- <xsl:choose>
- <xsl:when test="@id">
- <xsl:value-of select="@id"/>
- </xsl:when>
- <xsl:when test="@title">
- <xsl:value-of select="@title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="generate-id(.)"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-<!-- Templates for "toc" mode. This will generate a complete
- Table of Contents for the document. This will then be used
- by the site2xhtml to generate a Menu ToC and a Page ToC -->
- <xsl:template match="document" mode="toc">
- <xsl:apply-templates mode="toc"/>
- </xsl:template>
- <xsl:template match="body" mode="toc">
- <tocitems>
- <xsl:if test="../header/meta[@name='forrest.force-toc'] = 'true'">
- <xsl:attribute name="force">true</xsl:attribute>
- </xsl:if>
- <xsl:apply-templates select="section" mode="toc">
- <xsl:with-param name="level" select="1"/>
- </xsl:apply-templates>
- </tocitems>
- </xsl:template>
- <xsl:template match="section" mode="toc">
- <xsl:param name="level"/>
- <tocitem level="{$level}">
- <xsl:attribute name="href">#<xsl:call-template name="generate-id"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="title"/>
- </xsl:attribute>
- <xsl:apply-templates mode="toc">
- <xsl:with-param name="level" select="$level+1"/>
- </xsl:apply-templates>
- </tocitem>
- </xsl:template>
- <xsl:template name="add.class">
-<!-- use the parameter to set class attribute -->
-<!-- if there are already classes set, adds to them -->
- <xsl:param name="class"/>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="@class">
- <xsl:value-of select="$class"/>
-<xsl:text> </xsl:text>
- <xsl:value-of select="@class"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$class"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- </xsl:template>
- <xsl:template match="node()|@*" mode="toc"/>
-<!-- End of "toc" mode templates -->
- <xsl:template match="node()|@*" priority="-1">
-<!-- id processing will create its own a-element so processing has to
- happen outside the copied element
- -->
- <xsl:apply-templates select="@id"/>
- <xsl:copy>
- <xsl:apply-templates select="@*[name(.) != 'id']"/>
- <xsl:copy-of select="@id"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/dotdots.xsl b/src/site/src/documentation/skins/common/xslt/html/dotdots.xsl
deleted file mode 100644
index 2ff9d1f32..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/dotdots.xsl
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- 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.
--->
-<!--
-Contains the 'dotdots' template, which, given a path, will output a set of
-directory traversals to get back to the source directory. Handles both '/' and
-'\' directory separators.
-
-Examples:
- Input Output
- index.html ""
- dir/index.html "../"
- dir/subdir/index.html "../../"
- dir//index.html "../"
- dir/ "../"
- dir// "../"
- \some\windows\path "../../"
- \some\windows\path\ "../../../"
- \Program Files\mydir "../"
-
-Cannot handle ..'s in the path, so don't expect 'dir/subdir/../index.html' to
-work.
-
--->
-<xsl:stylesheet
- version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template name="dotdots">
- <xsl:param name="path"/>
- <xsl:variable name="dirs" select="normalize-space(translate(concat($path, 'x'), ' /\', '_ '))"/>
-<!-- The above does the following:
- o Adds a trailing character to the path. This prevents us having to deal
- with the special case of ending with '/'
- o Translates all directory separators to ' ', and normalize spaces,
- cunningly eliminating duplicate '//'s. We also translate any real
- spaces into _ to preserve them.
- -->
- <xsl:variable name="remainder" select="substring-after($dirs, ' ')"/>
- <xsl:if test="$remainder">
-<xsl:text>../</xsl:text>
- <xsl:call-template name="dotdots">
- <xsl:with-param name="path" select="translate($remainder, ' ', '/')"/>
-<!-- Translate back to /'s because that's what the template expects. -->
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
-<!--
- Uncomment to test.
- Usage: saxon dotdots.xsl dotdots.xsl path='/my/test/path'
-
- <xsl:param name="path"/>
- <xsl:template match="/">
- <xsl:message>Path: <xsl:value-of select="$path"/></xsl:message>
- <xsl:call-template name="dotdots">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:template>
- -->
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/pathutils.xsl b/src/site/src/documentation/skins/common/xslt/html/pathutils.xsl
deleted file mode 100644
index c1639a4b4..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/pathutils.xsl
+++ /dev/null
@@ -1,231 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<!--
-PathUtils.xsl
-
-A set of XSLT templates useful for parsing URI paths:
-
-dirname: return the directory part of a path
-filename: return the file part of a path
-ext: return the last extension of the filename in a path
-filename-noext: return the file part of a path without its last extension
-
--->
-<!-- Returns the directory part of a path. Equivalent to Unix 'dirname'.
-Examples:
-'' -> ''
-'foo/index.html' -> 'foo/'
--->
- <xsl:template name="dirname">
- <xsl:param name="path" />
- <xsl:if test="contains($path, '/')">
- <xsl:value-of select="concat(substring-before($path, '/'), '/')" />
- <xsl:call-template name="dirname">
- <xsl:with-param name="path"
- select="substring-after($path, '/')" />
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
-<!-- Normalized (..'s eliminated) version of 'dirname' -->
- <xsl:template name="dirname-nz">
- <xsl:param name="path" />
- <xsl:call-template name="normalize">
- <xsl:with-param name="path">
- <xsl:call-template name="dirname">
- <xsl:with-param name="path" select="$path" />
- </xsl:call-template>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:template>
-<!-- Returns the filename part of a path. Equivalent to Unix 'basename'
-Examples:
-'index.html' -> 'index.html'
-'foo/bar/' -> ''
-'foo/bar/index.html' -> 'index.html'
--->
- <xsl:template name="filename">
- <xsl:param name="path"/>
- <xsl:choose>
- <xsl:when test="contains($path, '/')">
- <xsl:call-template name="filename">
- <xsl:with-param name="path" select="substring-after($path, '/')"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$path"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-<!-- Returns the last extension of a filename in a path.
-Examples:
-'index.html' -> '.html'
-'index.dtdx.html' -> '.html'
-'foo/bar/' -> ''
-'foo/bar/index.html' -> '.html'
-'foo/bar/index' -> ''
--->
- <xsl:template name="ext">
- <xsl:param name="path"/>
- <xsl:param name="subflag"/>
-<!-- Outermost call? -->
- <xsl:choose>
- <xsl:when test="contains($path, '.')">
- <xsl:call-template name="ext">
- <xsl:with-param name="path" select="substring-after($path, '.')"/>
- <xsl:with-param name="subflag" select="'sub'"/>
- </xsl:call-template>
- </xsl:when>
-<!-- Handle extension-less filenames by returning '' -->
- <xsl:when test="not($subflag) and not(contains($path, '.'))">
-<xsl:text/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat('.', $path)"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-<!-- Returns a filename of a path stripped of its last extension.
-Examples:
-'foo/bar/index.dtdx.html' -> 'index.dtdx'
--->
- <xsl:template name="filename-noext">
- <xsl:param name="path"/>
- <xsl:variable name="filename">
- <xsl:call-template name="filename">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="ext">
- <xsl:call-template name="ext">
- <xsl:with-param name="path" select="$filename"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:value-of select="substring($filename, 1, string-length($filename) - string-length($ext))"/>
- </xsl:template>
-<!-- Returns a path with the filename stripped of its last extension.
-Examples:
-'foo/bar/index.dtdx.html' -> 'foo/bar/index.dtdx'
--->
- <xsl:template name="path-noext">
- <xsl:param name="path"/>
- <xsl:variable name="ext">
- <xsl:call-template name="ext">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:value-of select="substring($path, 1, string-length($path) - string-length($ext))"/>
- </xsl:template>
-<!-- Normalized (..'s eliminated) version of 'path-noext' -->
- <xsl:template name="path-noext-nz">
- <xsl:param name="path" />
- <xsl:call-template name="normalize">
- <xsl:with-param name="path">
- <xsl:call-template name="path-noext">
- <xsl:with-param name="path" select="$path" />
- </xsl:call-template>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:template>
-<!-- Returns a path with any fragment identifier ('#...') stripped off
-Examples:
-'foo/bar/index.dtdx.html#blah' -> 'foo/bar/index.dtdx.html'
--->
- <xsl:template name="path-nofrag">
- <xsl:param name="path"/>
- <xsl:if test="not(contains($path, '#'))">
- <xsl:value-of select="$path"/>
- </xsl:if>
- <xsl:if test="contains($path, '#')">
- <xsl:value-of select="substring-before($path, '#')"/>
- </xsl:if>
- </xsl:template>
-<!-- Normalizes a path, converting '/' to '\' and eliminating ..'s
-Examples:
-'foo/bar/../baz/index.html' -> foo/baz/index.html'
--->
- <xsl:template name="normalize">
- <xsl:param name="path"/>
-<!-- replace all \ with / -->
- <xsl:variable name="path-" select="translate($path, '\', '/')"/>
- <xsl:choose>
-<!-- process relative refs here -->
- <xsl:when test="contains($path-, '/../')">
-<!-- put part before /../ into $pa: "foo/bar" -->
- <xsl:variable name="pa" select="substring-before($path-, '/../')"/>
-<!-- put part after first occurrence /../ into $th: "baz/index.html" -->
- <xsl:variable name="th" select="substring-after($path-, '/../')"/>
-<!-- cut last real directory name before /../ and put rest in $pa- : "foo/" -->
- <xsl:variable name="pa-">
- <xsl:call-template name="dirname">
- <xsl:with-param name="path" select="$pa"/>
- </xsl:call-template>
- </xsl:variable>
-<!-- recombine pieces thus eliminating one .. and one dir step before it
- and recurse into this template to eliminate more /../
- -->
- <xsl:variable name="pa-th" select="concat($pa-, $th)"/>
- <xsl:call-template name="normalize">
- <xsl:with-param name="path" select="$pa-th"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$path-"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-<!--
-Uncomment this to test.
-Usage: saxon pathutils.xsl pathutils.xsl path=foo/bar
-
-<xsl:param name="path" select="'/foo/bar/../baz/index.html'"/>
-<xsl:template match="/">
- <xsl:message>
- path = <xsl:value-of select="$path"/>
- normalize = <xsl:call-template name="normalize">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- dirname = <xsl:call-template name="dirname">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- dirname-nz = <xsl:call-template name="dirname-nz">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- filename = <xsl:call-template name="filename">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- ext = <xsl:call-template name="ext">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- filename-noext = <xsl:call-template name="filename-noext">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- path-noext = <xsl:call-template name="path-noext">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- path-noext-nz = <xsl:call-template name="path-noext-nz">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- path-nofrag = <xsl:call-template name="path-nofrag">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
-
- </xsl:message>
-</xsl:template>
--->
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/renderlogo.xsl b/src/site/src/documentation/skins/common/xslt/html/renderlogo.xsl
deleted file mode 100644
index 698156b9b..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/renderlogo.xsl
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- 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.
--->
-<!--
-A simple callable template that renders a logo for an entity. The logo will
-be a hyperlink and may include an image (with width and height if specified)
-or else it will just include the specified text.
-
-Note that text and image are mandatory parts of the template.
--->
-<xsl:stylesheet
- version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template name="renderlogo">
- <xsl:param name="name"/>
- <xsl:param name="url"/>
- <xsl:param name="logo"/>
- <xsl:param name="width"/>
- <xsl:param name="height"/>
- <xsl:param name="root"/>
- <xsl:param name="description"/><a href="{$url}">
- <xsl:choose>
- <xsl:when test="$logo and not($logo = '')">
- <img alt="{$name}" class="logoImage">
- <xsl:attribute name="src">
- <xsl:if test="not(starts-with($logo, 'http://'))">
- <xsl:value-of select="$root"/>
- </xsl:if>
- <xsl:value-of select="$logo"/>
- </xsl:attribute>
- <xsl:if test="$width">
- <xsl:attribute name="width">
- <xsl:value-of select="$width"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$height">
- <xsl:attribute name="height">
- <xsl:value-of select="$height"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$description">
- <xsl:attribute name="title">
- <xsl:value-of select="$description"/>
- </xsl:attribute>
- </xsl:if>
- </img>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$name"/>
- </xsl:otherwise>
- </xsl:choose></a>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/site-to-xhtml.xsl b/src/site/src/documentation/skins/common/xslt/html/site-to-xhtml.xsl
deleted file mode 100644
index 2f8b15cd3..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/site-to-xhtml.xsl
+++ /dev/null
@@ -1,388 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-site-to-xhtml.xsl is the final stage in HTML page production. It merges HTML from
-document-to-html.xsl, tab-to-menu.xsl and book-to-menu.xsl, and adds the site header,
-footer, searchbar, css etc. As input, it takes XML of the form:
-
-<site>
- <div class="menu">
- ...
- </div>
- <div class="tab">
- ...
- </div>
- <div class="content">
- ...
- </div>
-</site>
-
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="java">
- <xsl:variable name="config" select="//skinconfig"/>
-<!-- If true, a txt link for this page will not be generated -->
- <xsl:variable name="disable-txt-link" select="//skinconfig/disable-txt-link"/>
-<!-- If true, a PDF link for this page will not be generated -->
- <xsl:variable name="disable-pdf-link" select="//skinconfig/disable-pdf-link"/>
-<!-- If true, a "print" link for this page will not be generated -->
- <xsl:variable name="disable-print-link" select="//skinconfig/disable-print-link"/>
-<!-- If true, an XML link for this page will not be generated -->
- <xsl:variable name="disable-xml-link" select="//skinconfig/disable-xml-link"/>
-<!-- If true, a POD link for this page will not be generated -->
- <xsl:variable name="disable-pod-link" select="//skinconfig/disable-pod-link"/>
-<!-- Get the location where to generate the minitoc -->
- <xsl:variable name="minitoc-location" select="//skinconfig/toc/@location"/>
- <xsl:param name="path"/>
- <xsl:include href="dotdots.xsl"/>
- <xsl:include href="pathutils.xsl"/>
- <xsl:include href="renderlogo.xsl"/>
-<!-- Path (..'s) to the root directory -->
- <xsl:variable name="root">
- <xsl:call-template name="dotdots">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
-<!-- Source filename (eg 'foo.xml') of current page -->
- <xsl:variable name="filename">
- <xsl:call-template name="filename">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
-<!-- Path of Lucene search results page (relative to $root) -->
- <xsl:param name="lucene-search" select="'lucene-search.html'"/>
- <xsl:variable name="filename-noext">
- <xsl:call-template name="filename-noext">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
-<!-- Whether to obfuscate email links -->
- <xsl:variable name="obfuscate-mail-links" select="//skinconfig/obfuscate-mail-links"/>
-<!-- If true, the font size script will not be rendered -->
- <xsl:variable name="disable-font-script" select="//skinconfig/disable-font-script"/>
-<!-- If true, an the images on all external links will not be added -->
- <xsl:variable name="disable-external-link-image" select="//skinconfig/disable-external-link-image"/>
- <xsl:variable name="skin-img-dir" select="concat(string($root), 'skin/images')"/>
- <xsl:variable name="spacer" select="concat($root, 'skin/images/spacer.gif')"/>
- <xsl:template name="breadcrumbs">
- <xsl:if test="(//skinconfig/trail/link1/@name)and(//skinconfig/trail/link1/@name!='')"><a href="{//skinconfig/trail/link1/@href}">
- <xsl:value-of select="//skinconfig/trail/link1/@name"/></a>
- </xsl:if>
- <xsl:if test="(//skinconfig/trail/link2/@name)and(//skinconfig/trail/link2/@name!='')"> &gt; <a href="{//skinconfig/trail/link2/@href}">
- <xsl:value-of select="//skinconfig/trail/link2/@name"/></a>
- </xsl:if>
- <xsl:if test="(//skinconfig/trail/link3/@name)and(//skinconfig/trail/link3/@name!='')"> &gt; <a href="{//skinconfig/trail/link3/@href}">
- <xsl:value-of select="//skinconfig/trail/link3/@name"/></a>
- </xsl:if>
-<script type="text/javascript" language="JavaScript" src="{$root}skin/breadcrumbs.js"/>
- </xsl:template>
- <xsl:template match="site">
- <html>
- <head>
- <title><xsl:value-of select="div[@class='content']/table/tr/td/h1"/></title>
- <xsl:if test="//skinconfig/favicon-url"><link rel="shortcut icon">
- <xsl:attribute name="href">
- <xsl:value-of select="concat($root,//skinconfig/favicon-url)"/>
- </xsl:attribute></link>
- </xsl:if>
- </head>
- <body>
- <xsl:if test="//skinconfig/group-url">
- <xsl:call-template name="renderlogo">
- <xsl:with-param name="name" select="//skinconfig/group-name"/>
- <xsl:with-param name="url" select="//skinconfig/group-url"/>
- <xsl:with-param name="logo" select="//skinconfig/group-logo"/>
- <xsl:with-param name="root" select="$root"/>
- <xsl:with-param name="description" select="//skinconfig/group-description"/>
- </xsl:call-template>
- </xsl:if>
- <xsl:call-template name="renderlogo">
- <xsl:with-param name="name" select="//skinconfig/project-name"/>
- <xsl:with-param name="url" select="//skinconfig/project-url"/>
- <xsl:with-param name="logo" select="//skinconfig/project-logo"/>
- <xsl:with-param name="root" select="$root"/>
- <xsl:with-param name="description" select="//skinconfig/project-description"/>
- </xsl:call-template>
- <xsl:comment>================= start Tabs ==================</xsl:comment>
- <xsl:apply-templates select="div[@class='tab']"/>
- <xsl:comment>================= end Tabs ==================</xsl:comment>
- <xsl:comment>================= start Menu items ==================</xsl:comment>
- <xsl:apply-templates select="div[@class='menu']"/>
- <xsl:comment>================= end Menu items ==================</xsl:comment>
- <xsl:comment>================= start Content==================</xsl:comment>
- <xsl:apply-templates select="div[@class='content']"/>
- <xsl:comment>================= end Content==================</xsl:comment>
- <xsl:comment>================= start Footer ==================</xsl:comment>
- <xsl:choose>
- <xsl:when test="$config/copyright-link"><a>
- <xsl:attribute name="href">
- <xsl:value-of select="$config/copyright-link"/>
- </xsl:attribute>
- Copyright &#169; <xsl:value-of select="$config/year"/>
- <xsl:call-template name="current-year">
- <xsl:with-param name="copyrightyear" select="$config/year"/>
- </xsl:call-template>&#160;
- <xsl:value-of select="$config/vendor"/></a>
- </xsl:when>
- <xsl:otherwise>
- Copyright &#169; <xsl:value-of select="$config/year"/>
- <xsl:call-template name="current-year">
- <xsl:with-param name="copyrightyear" select="$config/year"/>
- </xsl:call-template>&#160;
- <xsl:value-of select="$config/vendor"/>
- </xsl:otherwise>
- </xsl:choose>
- All rights reserved.
- <script language="JavaScript" type="text/javascript"><![CDATA[<!--
- document.write(" - "+"Last Published: " + document.lastModified);
- // -->]]></script>
- <xsl:if test="//skinconfig/host-logo and not(//skinconfig/host-logo = '')"><a href="{//skinconfig/host-url}">
- <xsl:call-template name="renderlogo">
- <xsl:with-param name="name" select="//skinconfig/host-name"/>
- <xsl:with-param name="url" select="//skinconfig/host-url"/>
- <xsl:with-param name="logo" select="//skinconfig/host-logo"/>
- <xsl:with-param name="root" select="$root"/>
- </xsl:call-template></a>
- </xsl:if>
- <xsl:if test="$filename = 'index.html' and //skinconfig/credits">
- <xsl:for-each select="//skinconfig/credits/credit[not(@role='pdf')]">
- <xsl:call-template name="renderlogo">
- <xsl:with-param name="name" select="name"/>
- <xsl:with-param name="url" select="url"/>
- <xsl:with-param name="logo" select="image"/>
- <xsl:with-param name="root" select="$root"/>
- <xsl:with-param name="width" select="width"/>
- <xsl:with-param name="height" select="height"/>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:if><a href="http://validator.w3.org/check/referer">
- <img class="skin" border="0"
- src="http://www.w3.org/Icons/valid-html401"
- alt="Valid HTML 4.01!" height="31" width="88"/></a>
- </body>
- </html>
- </xsl:template>
-<!-- Add links to any standards-compliance logos -->
- <xsl:template name="compliancy-logos">
- <xsl:if test="$filename = 'index.html' and //skinconfig/disable-compliance-links = 'false'"><a href="http://validator.w3.org/check/referer">
- <img class="logoImage"
- src="{$skin-img-dir}/valid-html401.png"
- alt="Valid HTML 4.01!" title="Valid HTML 4.01!" height="31" width="88" border="0"/></a><a href="http://jigsaw.w3.org/css-validator/check/referer">
- <img class="logoImage"
- src="{$skin-img-dir}/vcss.png"
- alt="Valid CSS!" title="Valid CSS!" height="31" width="88" border="0"/></a>
- </xsl:if>
- </xsl:template>
-<!-- Generates the PDF link -->
- <xsl:template match="div[@id='skinconf-pdflink']">
- <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'">
- <td align="center" width="40" nowrap="nowrap"><a href="{$filename-noext}.pdf" class="dida">
- <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF"/>
- <br/>
- PDF</a>
- </td>
- </xsl:if>
- </xsl:template>
-<!-- Generates the TXT link -->
- <xsl:template match="div[@id='skinconf-txtlink']">
- <xsl:if test="$disable-txt-link = 'false'">
- <td align="center" width="40" nowrap="nowrap"><a href="{$filename-noext}.txt" class="dida">
- <img class="skin" src="{$skin-img-dir}/txtdoc.png" alt="TXT"/>
- <br/>
- TXT</a>
- </td>
- </xsl:if>
- </xsl:template>
-<!-- Generates the POD link -->
- <xsl:template match="div[@id='skinconf-podlink']">
- <xsl:if test="$disable-pod-link = 'false'">
- <td align="center" width="40" nowrap="nowrap"><a href="{$filename-noext}.pod" class="dida">
- <img class="skin" src="{$skin-img-dir}/poddoc.png" alt="POD"/>
- <br/>
- POD</a>
- </td>
- </xsl:if>
- </xsl:template>
-<!-- Generates the XML link -->
- <xsl:template match="div[@id='skinconf-xmllink']">
- <xsl:if test="$disable-xml-link = 'false'">
- <td align="center" width="40" nowrap="nowrap"><a href="{$filename-noext}.xml" class="dida">
- <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="XML"/>
- <br/>
- XML</a>
- </td>
- </xsl:if>
- </xsl:template>
-<!-- Generates the "printer friendly version" link -->
- <xsl:template match="div[@id='skinconf-printlink']">
- <xsl:if test="$disable-print-link = 'false'">
-<script type="text/javascript" language="Javascript">
-function printit() {
- if (window.print) {
- window.focus();
- window.print();
- }
-}
-
-var NS = (navigator.appName == "Netscape");
-var VERSION = parseInt(navigator.appVersion);
-if (VERSION > 3) {
- document.write('<td align="center" width="40" nowrap="nowrap">');
- document.write(' <a href="javascript:printit()" class="dida">');
- document.write(' <img class="skin" src="{$skin-img-dir}/printer.gif" alt="Print this Page"/><br />');
- document.write(' print</a>');
- document.write('</td>');
-}
-</script>
- </xsl:if>
- </xsl:template>
-<!-- handle all obfuscating mail links and disabling external link images -->
- <xsl:template match="a">
- <xsl:choose>
- <xsl:when test="$obfuscate-mail-links='true' and starts-with(@href, 'mailto:') and contains(@href, '@')">
- <xsl:variable name="mailto-1" select="substring-before(@href,'@')"/>
- <xsl:variable name="mailto-2" select="substring-after(@href,'@')"/>
- <xsl:variable name="obfuscation" select="normalize-space(//skinconfig/obfuscate-mail-value)"/><a href="{$mailto-1}{$obfuscation}{$mailto-2}">
- <xsl:apply-templates/></a>
- </xsl:when>
- <xsl:when test="not($disable-external-link-image='true') and contains(@href, ':') and not(contains(@href, //skinconfig/group-url)) and not(contains(@href, //skinconfig/project-url))"><a href="{@href}" class="external">
- <xsl:apply-templates/></a>
- </xsl:when>
- <xsl:otherwise>
-<!-- xsl:copy-of makes sure we copy <a href> as well as <a name>
- or any other <a ...> forms -->
- <xsl:copy-of select="."/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="div[@id='skinconf-toc-page']">
- <xsl:if test="$config/toc">
- <xsl:if test="contains($minitoc-location,'page')">
- <xsl:if test="(count(//tocitems/tocitem) >= $config/toc/@min-sections) or (//tocitems/@force = 'true')">
- <xsl:call-template name="minitoc">
- <xsl:with-param name="tocroot" select="//tocitems"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:if>
- </xsl:if>
- </xsl:template>
- <xsl:template name="minitoc">
- <xsl:param name="tocroot"/>
- <xsl:if test="(count($tocroot/tocitem) >= $config/toc/@min-sections) or ($tocroot/@force = 'true')">
- <xsl:if test="contains($config/toc/@location,'page')">
- <ul class="minitoc">
- <xsl:for-each select="$tocroot/tocitem">
- <li><a href="{@href}">
- <xsl:value-of select="@title"/></a>
- <xsl:if test="@level&lt;//skinconfig/toc/@max-depth+1">
- <xsl:call-template name="minitoc">
- <xsl:with-param name="tocroot" select="."/>
- </xsl:call-template>
- </xsl:if></li>
- </xsl:for-each>
- </ul>
- </xsl:if>
- </xsl:if>
- </xsl:template>
- <xsl:template name="html-meta">
- <meta name="Generator" content="Apache Forrest"/>
- <meta name="Forrest-version">
- <xsl:attribute name="content">
- <xsl:value-of select="//info/forrest-version"/>
- </xsl:attribute>
- </meta>
- <meta name="Forrest-skin-name">
- <xsl:attribute name="content">
- <xsl:value-of select="//info/project-skin"/>
- </xsl:attribute>
- </meta>
- </xsl:template>
-<!-- meta information from v 2.0 documents
- FIXME: the match is really inefficient -->
- <xsl:template name="meta-data">
- <xsl:for-each select="//meta-data/meta">
- <xsl:element name="meta">
- <xsl:attribute name="name">
- <xsl:value-of select="@name"/>
- </xsl:attribute>
- <xsl:attribute name="content">
- <xsl:value-of select="."/>
- </xsl:attribute>
- <xsl:if test="@xml:lang">
- <xsl:attribute name="lang">
- <xsl:value-of select="@xml:lang"/>
- </xsl:attribute>
- </xsl:if>
- </xsl:element>
- </xsl:for-each>
- </xsl:template>
- <xsl:template name="feedback">
- <div id="feedback">
- <xsl:value-of select="$config/feedback"/>
- <xsl:choose>
- <xsl:when test="$config/feedback/@href and not($config/feedback/@href='')"><a id="feedbackto">
- <xsl:attribute name="href">
- <xsl:value-of select="$config/feedback/@href"/>
- <xsl:value-of select="$path"/>
- </xsl:attribute>
- <xsl:value-of select="$config/feedback/@to"/></a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$config/feedback/@to"/>
- </xsl:otherwise>
- </xsl:choose>
- </div>
- </xsl:template>
- <xsl:template match="node()|@*" priority="-1">
- <xsl:copy>
- <xsl:apply-templates select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:template>
-<!-- inception year copyright management -->
- <xsl:template name="current-year">
-<!-- Displays the current year after the inception year (in the copyright i.e: 2002-2005)
- - the copyright year (2005 by default) can be indicated in the copyrightyear parameter,
- - the year format (yyyy by default) can be indicated in the dateformat parameter,
- - the dates separator (- by default) can be indicated in the dateseparator parameter.
- For instance the following call will format the year on 2 digits and separates the dates
- with /
- (copyright 02/05)
- <xsl:call-template name="current-year">
- <xsl:with-param name="copyrightyear" select="'02'"/>
- <xsl:with-param name="dateformat" select="'yy'"/>
- <xsl:with-param name="dateseparator" select="'/'"/>
- </xsl:call-template>
- Warning, to enable inception year, inception attribute must be set to "true" in copyright/year/@inception
- -->
- <xsl:param name="copyrightyear">2005</xsl:param>
- <xsl:param name="dateformat">yyyy</xsl:param>
- <xsl:param name="dateseparator">-</xsl:param>
- <xsl:if test="$copyrightyear[@inception = 'true']">
- <xsl:variable name="tz" select='java:java.util.SimpleTimeZone.new(0,"GMT+00:00")' />
- <xsl:variable name="formatter" select="java:java.text.SimpleDateFormat.new($dateformat)"/>
- <xsl:variable name="settz" select="java:setTimeZone($formatter, $tz)" />
- <xsl:variable name="date" select="java:java.util.Date.new()"/>
- <xsl:variable name="year" select="java:format($formatter, $date)"/>
- <xsl:if test="$copyrightyear != $year">
- <xsl:value-of select="$dateseparator"/>
- <xsl:value-of select="$year"/>
- </xsl:if>
- </xsl:if>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/split.xsl b/src/site/src/documentation/skins/common/xslt/html/split.xsl
deleted file mode 100644
index 14c88e72c..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/split.xsl
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<!--
- This stylesheet was taken from the XSLT FAQ http://www.dpawson.co.uk/xsl/
-
- Comments and adaption to be used without normalize-space()
--->
-<!--
- Input:
-
-<doc>
-
-<para>
- 123456 2345 343434 545454 43434 343
- 12345 343434 545454 43434 343
- 32345645 343434 545454 43434 343
- 3422222225 343434 545454 43434 343
- llllllllllllllllllllllooooooooooooooonnnnnnnnnnnggggggggg
- 345 343434 545454 43434 343
-</para>
-
-</doc>
-
-Output:
-
-<HTML>
-<BODY>
-<PRE>123456 2345 343434 545454
-43434 343 12345 343434 545454
-43434 343 32345645 343434
-545454 43434 343 3422222225
-343434 545454 43434 343
-lllllllllllllllllllllloooooooo
-ooooooonnnnnnnnnnnggggggggg
-345 343434 545454 43434
-343
-</PRE>
-</BODY>
-</HTML>
-
-Fragment ised:
-
- <xsl:template match="/doc">
- <HTML><BODY><PRE>
- <xsl:call-template name="format">
- <xsl:with-param select="normalize-space(para)" name="txt" />
- <xsl:with-param name="width">30</xsl:with-param>
- </xsl:call-template>
- </PRE></BODY></HTML>
- </xsl:template>
-
-
--->
- <xsl:template match="/body">
- <body>
- <xsl:call-template name="format">
- <xsl:with-param select="source" name="txt" />
- <xsl:with-param name="width">40</xsl:with-param>
- </xsl:call-template>
- </body>
- </xsl:template>
- <xsl:template name="format">
- <xsl:param name="txt" />
- <xsl:param name="width" />
-<!-- if there is still text left -->
- <xsl:if test="$txt">
- <xsl:variable name = "pretxt" select = "substring($txt,0, $width)" />
- <xsl:choose>
- <xsl:when test="contains($pretxt, '&#xA;')">
- <xsl:value-of select="substring-before($pretxt, '&#xA;')"/>
-<xsl:text>&#xA;</xsl:text>
- <xsl:call-template name="format">
- <xsl:with-param name="txt" select="substring-after($txt,'&#xA;')"/>
- <xsl:with-param select="$width" name="width" />
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
-<!-- get the width at which to break-->
- <xsl:variable name="real-width">
- <xsl:call-template name="tune-width">
- <xsl:with-param select="$txt" name="txt" />
- <xsl:with-param select="$width" name="width" />
- <xsl:with-param select="$width" name="def" />
- </xsl:call-template>
- </xsl:variable>
-<!-- output the first part of the broken string -->
- <xsl:value-of select="substring($txt, 1, $real-width)" />
-<!-- output a newline -->
-<xsl:text>&#xA;</xsl:text>
-<!-- call itself with the remaining part of the text -->
- <xsl:call-template name="format">
- <xsl:with-param select="substring($txt,$real-width + 1)" name="txt" />
- <xsl:with-param select="$width" name="width" />
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:if>
- </xsl:template>
-<!-- used by template "format", it calculates the width at the given def
-
- It starts at def length and comes back till it finds a space -->
- <xsl:template name="tune-width">
- <xsl:param name="txt" />
- <xsl:param name="width" />
- <xsl:param name="def" />
- <xsl:choose>
- <xsl:when test="$width = 0">
- <xsl:value-of select="$def" />
- </xsl:when>
- <xsl:when test="substring($txt, $width, 1 ) = ' '">
- <xsl:value-of select="$width" />
- </xsl:when>
- <xsl:otherwise>
-<!-- otherwise need to tune again, trying with $width - 1 -->
- <xsl:call-template name="tune-width">
- <xsl:with-param select="$width - 1" name="width" />
- <xsl:with-param select="$txt" name="txt" />
- <xsl:with-param select="$def" name="def" />
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/strip_namespaces.xsl b/src/site/src/documentation/skins/common/xslt/html/strip_namespaces.xsl
deleted file mode 100644
index 47dec6a17..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/strip_namespaces.xsl
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<!-- FIXME: FOR-555. This might not be the best solution though, but it sure works -->
- <xsl:template match="comment()|processing-instruction()">
- <xsl:copy>
- <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
- </xsl:copy>
- </xsl:template>
-<!-- End fixme FOR-555 -->
- <xsl:template match="*">
-<!-- remove element prefix (if any) -->
- <xsl:element name="{local-name()}">
-<!-- process attributes -->
- <xsl:for-each select="@*">
-<!-- remove attribute prefix (if any) -->
- <xsl:attribute name="{local-name()}">
- <xsl:value-of select="."/>
- </xsl:attribute>
- </xsl:for-each>
- <xsl:apply-templates/>
- </xsl:element>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/tab-to-menu.xsl b/src/site/src/documentation/skins/common/xslt/html/tab-to-menu.xsl
deleted file mode 100644
index 257d2919f..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/tab-to-menu.xsl
+++ /dev/null
@@ -1,195 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-This stylesheet generates 'tabs' at the top left of the screen. Tabs are
-visual indicators that a certain subsection of the URI space is being browsed.
-For example, if we had tabs with paths:
-
-Tab1: ''
-Tab2: 'community'
-Tab3: 'community/howto'
-Tab4: 'community/howto/xmlform/index.html'
-
-Then if the current path was 'community/howto/foo', Tab3 would be highlighted.
-The rule is: the tab with the longest path that forms a prefix of the current
-path is enabled.
-
-The output of this stylesheet is HTML of the form:
- <div class="tab">
- ...
- </div>
-
-which is then merged by site-to-xhtml.xsl
-
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<!-- ================================================================ -->
-<!-- These templates SHOULD be overridden -->
-<!-- ================================================================ -->
-<!-- Called before first level 1 tag -->
- <xsl:template name="pre-separator"></xsl:template>
-<!-- Called after last level 1 tag -->
- <xsl:template name="post-separator"></xsl:template>
-<!-- Called between level 1 tags -->
- <xsl:template name="separator">
-<xsl:text> | </xsl:text>
- </xsl:template>
-<!-- Called before first level 2 tag -->
- <xsl:template name="level2-pre-separator"></xsl:template>
-<!-- Called after last level 2 tag -->
- <xsl:template name="level2-post-separator"></xsl:template>
-<!-- Called between level 2 tags -->
- <xsl:template name="level2-separator">
-<xsl:text> | </xsl:text>
- </xsl:template>
-<!--
- Note: sub-stylesheets can't do apply-imports here, because it would choose
- the 'tags' template and infinitely recurse. Hence call-template used instead.
- -->
-<!-- Display a selected level 1 tab node -->
- <xsl:template name="selected">
- <xsl:call-template name="base-selected"/>
- </xsl:template>
-<!-- Display an unselected level 1 tab node -->
- <xsl:template name="not-selected">
- <xsl:call-template name="base-not-selected"/>
- </xsl:template>
-<!-- Display a selected second level tab node -->
- <xsl:template name="level2-selected">
- <xsl:call-template name="base-selected"/>
- </xsl:template>
-<!-- Display an unselected second level tab node -->
- <xsl:template name="level2-not-selected">
- <xsl:call-template name="base-not-selected"/>
- </xsl:template>
-<!-- ================================================================ -->
-<!-- These templates CAN be overridden -->
-<!-- ================================================================ -->
- <xsl:template match="tabs">
- <div class="tab">
- <xsl:call-template name="base-tabs"/>
- </div>
- </xsl:template>
-<!-- ================================================================ -->
-<!-- These templates SHOULD NOT be overridden -->
-<!-- ================================================================ -->
- <xsl:param name="path"/>
- <xsl:include href="dotdots.xsl"/>
- <xsl:include href="tabutils.xsl"/>
-<!-- NOTE: Xalan has a bug (race condition?) where sometimes $root is only half-evaluated -->
- <xsl:variable name="root">
- <xsl:call-template name="dotdots">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="skin-img-dir" select="concat(string($root), 'skin/images')"/>
-<!--
- The longest path of any level 1 tab, whose path is a subset of the current URL. Ie,
- the path of the 'current' level 1 tab.
- -->
- <xsl:variable name="longest-dir">
- <xsl:call-template name="longest-dir">
- <xsl:with-param name="tabfile" select="/"/>
- </xsl:call-template>
- </xsl:variable>
-<!--
- The longest path of any level 2 tab, whose path is a subset of the current URL. Ie,
- the path of the 'current' level 2 tab.
- -->
- <xsl:variable name="level2-longest-dir">
- <xsl:call-template name="level2-longest-dir">
- <xsl:with-param name="tabfile" select="/"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="matching-id">
- <xsl:call-template name="matching-id"/>
- </xsl:variable>
-<!-- Called from tabs, after it has written the outer 'div class=tabs' and
- any other HTML -->
- <xsl:template name="base-tabs">
- <xsl:call-template name="pre-separator"/>
- <xsl:for-each select="tab">
- <xsl:if test="position()!=1">
- <xsl:call-template name="separator"/>
- </xsl:if>
- <xsl:apply-templates select="." mode="level1"/>
- </xsl:for-each>
- <xsl:call-template name="post-separator"/>
- </xsl:template>
-<!-- Called from tabs, after it has written the outer 'div class=tabs' and
- any other HTML -->
- <xsl:template name="level2tabs">
- <xsl:call-template name="level2-pre-separator"/>
- <xsl:for-each select="tab[@dir=$longest-dir]/tab|tab[@href=$longest-dir]/tab|tab[tab/@id=$matching-id]/tab">
- <xsl:if test="position()!=1">
- <xsl:call-template name="level2-separator"/>
- </xsl:if>
- <xsl:apply-templates select="." mode="level2"/>
- </xsl:for-each>
- <xsl:call-template name="level2-post-separator"/>
- </xsl:template>
- <xsl:template match="tab" mode="level1">
- <xsl:choose>
- <xsl:when test="@id and @id = $matching-id">
- <xsl:call-template name="selected"/>
- </xsl:when>
- <xsl:when test="not(@id) and @dir = $longest-dir or @href = $longest-dir">
- <xsl:call-template name="selected"/>
- </xsl:when>
- <xsl:when test="tab[@id = $matching-id]">
- <xsl:call-template name="selected"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="not-selected"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="tab" mode="level2">
- <xsl:choose>
- <xsl:when test="@id and @id = $matching-id">
- <xsl:call-template name="level2-selected"/>
- </xsl:when>
- <xsl:when test="@dir = $level2-longest-dir">
- <xsl:call-template name="level2-selected"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="level2-not-selected"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-<!-- Called from 'selected' -->
- <xsl:template name="base-selected"><a class="selected">
- <xsl:attribute name="href">
- <xsl:call-template name="calculate-tab-href">
- <xsl:with-param name="tab" select="."/>
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:value-of select="@label"/></a>
- </xsl:template>
-<!-- Called from 'not-selected' -->
- <xsl:template name="base-not-selected"><a class="unselected">
- <xsl:attribute name="href">
- <xsl:call-template name="calculate-tab-href">
- <xsl:with-param name="tab" select="."/>
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:value-of select="@label"/></a>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/html/tabutils.xsl b/src/site/src/documentation/skins/common/xslt/html/tabutils.xsl
deleted file mode 100644
index 0caaaf4c8..000000000
--- a/src/site/src/documentation/skins/common/xslt/html/tabutils.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-Some callable templates useful when dealing with tab paths. Mostly used in
-tab-to-menu.xsl
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:param name="site-file" select="'cocoon://abs-menulinks'"/>
- <xsl:variable name="site" select="document($site-file)"/>
-<!-- Given the current path and a tabs.xml entry, returns a relative path to
- the specified tab's URL. When rendering a set of tabs, this template will be
- called once per tab.
- -->
- <xsl:template name="calculate-tab-href">
- <xsl:param name="dir_index" select="'index.html'"/>
- <xsl:param name="tab"/>
-<!-- current 'tab' node -->
- <xsl:param name="path" select="$path"/>
- <xsl:if test="starts-with($tab/@href, 'http')">
-<!-- Absolute URL -->
- <xsl:value-of select="$tab/@href"/>
- </xsl:if>
- <xsl:if test="not(starts-with($tab/@href, 'http'))">
-<!-- Root-relative path -->
- <xsl:variable name="backpath">
- <xsl:call-template name="dotdots">
- <xsl:with-param name="path" select="$path"/>
- </xsl:call-template>
-<xsl:text>/</xsl:text>
- <xsl:value-of select="$tab/@dir | $tab/@href"/>
-<!-- If we obviously have a directory, add /index.html -->
- <xsl:if test="$tab/@dir or substring($tab/@href, string-length($tab/@href),
- string-length($tab/@href)) = '/'">
-<xsl:text>/</xsl:text>
- <xsl:if test="$tab/@indexfile">
- <xsl:value-of select="$tab/@indexfile"/>
- </xsl:if>
- <xsl:if test="not(@indexfile)">
- <xsl:value-of select="$dir_index"/>
- </xsl:if>
- </xsl:if>
- </xsl:variable>
- <xsl:value-of
- select="translate(normalize-space(translate($backpath, ' /', '/ ')), ' /', '/ ')"/>
-<!-- Link to backpath, normalizing slashes -->
- </xsl:if>
- </xsl:template>
-<!--
- The id of any tab, whose path is a subset of the current URL. Ie,
- the path of the 'current' tab.
- -->
- <xsl:template name="matching-id" xmlns:l="http://apache.org/forrest/linkmap/1.0">
- <xsl:value-of select="$site//*[starts-with(@href, $path)]/@tab"/>
- </xsl:template>
-<!--
- The longest path of any level 1 tab, whose path is a subset of the current URL. Ie,
- the path of the 'current' tab.
- -->
- <xsl:template name="longest-dir">
- <xsl:param name="tabfile"/>
- <xsl:for-each select="$tabfile/tabs/tab[starts-with($path, @dir|@href)]">
- <xsl:sort select="string-length(@dir|@href)"
- data-type="number" order="descending"/>
- <xsl:if test="position()=1">
- <xsl:value-of select="@dir|@href"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-<!--
- The longest path of any level 2 tab, whose path is a subset of the current URL. Ie,
- the path of the 'current' tab.
- -->
- <xsl:template name="level2-longest-dir">
- <xsl:param name="tabfile"/>
- <xsl:for-each select="$tabfile/tabs/tab/tab[starts-with($path, @dir|@href)]">
- <xsl:sort select="string-length(@dir|@href)"
- data-type="number" order="descending"/>
- <xsl:if test="position()=1">
- <xsl:value-of select="@dir|@href"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/common/xslt/svg/document-to-svg.xsl b/src/site/src/documentation/skins/common/xslt/svg/document-to-svg.xsl
deleted file mode 100644
index 08ca5ba1b..000000000
--- a/src/site/src/documentation/skins/common/xslt/svg/document-to-svg.xsl
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
- <xsl:output method="xml" media-type="image/svg" omit-xml-declaration="yes" indent="yes"/>
-<!-- the skinconf file -->
- <xsl:param name="config-file"/>
- <xsl:variable name="config" select="document($config-file)/skinconfig"/>
-<!-- Get the section depth to use when generating the minitoc (default is 2) -->
- <xsl:variable name="toc-max-depth" select="number($config/toc/@max-depth)"/>
- <xsl:param name="numbersections" select="'true'"/>
-<!-- Section depth at which we stop numbering and just indent -->
- <xsl:param name="numbering-max-depth" select="'3'"/>
- <xsl:param name="ctxbasedir" select="."/>
- <xsl:param name="xmlbasedir"/>
- <xsl:template match="/">
- <svg width="1305" height="1468" xmlns="http://www.w3.org/2000/svg">
- <g transform="translate(0 0)">
- <xsl:apply-templates/>
- </g>
- </svg>
- </xsl:template>
- <xsl:template match="document">
- <text x="00px" y="30px" style="font-size:20;">
- <xsl:value-of select="header/title"/>
- </text>
- <text x="0px" y="50px" style="font-size:12;">
- <xsl:apply-templates/>
- </text>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/lucene/css/basic.css b/src/site/src/documentation/skins/lucene/css/basic.css
deleted file mode 100644
index 4ed58b99a..000000000
--- a/src/site/src/documentation/skins/lucene/css/basic.css
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
-* 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.
-*/
-/**
- * General
- */
-
-img { border: 0; }
-
-#content table {
- border: 0;
- width: 100%;
-}
-/*Hack to get IE to render the table at 100%*/
-* html #content table { margin-left: -3px; }
-
-#content th,
-#content td {
- margin: 0;
- padding: 0;
- vertical-align: top;
-}
-
-.clearboth {
- clear: both;
-}
-
-.note, .warning, .fixme {
- border: solid black 1px;
- margin: 1em 3em;
-}
-
-.note .label {
- background: #369;
- color: white;
- font-weight: bold;
- padding: 5px 10px;
-}
-.note .content {
- background: #F0F0FF;
- color: black;
- line-height: 120%;
- font-size: 90%;
- padding: 5px 10px;
-}
-.warning .label {
- background: #C00;
- color: white;
- font-weight: bold;
- padding: 5px 10px;
-}
-.warning .content {
- background: #FFF0F0;
- color: black;
- line-height: 120%;
- font-size: 90%;
- padding: 5px 10px;
-}
-.fixme .label {
- background: #C6C600;
- color: black;
- font-weight: bold;
- padding: 5px 10px;
-}
-.fixme .content {
- padding: 5px 10px;
-}
-
-/**
- * Typography
- */
-
-body {
- font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif;
- font-size: 100%;
-}
-
-#content {
- font-family: Georgia, Palatino, Times, serif;
- font-size: 95%;
-}
-#tabs {
- font-size: 70%;
-}
-#menu {
- font-size: 80%;
-}
-#footer {
- font-size: 70%;
-}
-
-h1, h2, h3, h4, h5, h6 {
- font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
- font-weight: bold;
- margin-top: 1em;
- margin-bottom: .5em;
-}
-
-h1 {
- margin-top: 0;
- margin-bottom: 1em;
- font-size: 1.4em;
-}
-#content h1 {
- font-size: 160%;
- margin-bottom: .5em;
-}
-#menu h1 {
- margin: 0;
- padding: 10px;
- background: #336699;
- color: white;
-}
-h2 { font-size: 120%; }
-h3 { font-size: 100%; }
-h4 { font-size: 90%; }
-h5 { font-size: 80%; }
-h6 { font-size: 75%; }
-
-p {
- line-height: 120%;
- text-align: left;
- margin-top: .5em;
- margin-bottom: 1em;
-}
-
-#content li,
-#content th,
-#content td,
-#content li ul,
-#content li ol{
- margin-top: .5em;
- margin-bottom: .5em;
-}
-
-
-#content li li,
-#minitoc-area li{
- margin-top: 0em;
- margin-bottom: 0em;
-}
-
-#content .attribution {
- text-align: right;
- font-style: italic;
- font-size: 85%;
- margin-top: 1em;
-}
-
-.codefrag {
- font-family: "Courier New", Courier, monospace;
- font-size: 110%;
-}
diff --git a/src/site/src/documentation/skins/lucene/css/print.css b/src/site/src/documentation/skins/lucene/css/print.css
deleted file mode 100644
index 8916b9fc0..000000000
--- a/src/site/src/documentation/skins/lucene/css/print.css
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-* 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.
-*/
-body {
- font-family: Georgia, Palatino, serif;
- font-size: 12pt;
- background: white;
-}
-
-#tabs,
-#menu,
-#content .toc {
- display: none;
-}
-
-#content {
- width: auto;
- padding: 0;
- float: none !important;
- color: black;
- background: inherit;
-}
-
-a:link, a:visited {
- color: #336699;
- background: inherit;
- text-decoration: underline;
-}
-
-#top .logo {
- padding: 0;
- margin: 0 0 2em 0;
-}
-
-#footer {
- margin-top: 4em;
-}
-
-acronym {
- border: 0;
-}
diff --git a/src/site/src/documentation/skins/lucene/css/profile.css.xslt b/src/site/src/documentation/skins/lucene/css/profile.css.xslt
deleted file mode 100644
index a1dcb23e4..000000000
--- a/src/site/src/documentation/skins/lucene/css/profile.css.xslt
+++ /dev/null
@@ -1,182 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:import href="../../common/css/forrest.css.xslt"/>
-<!-- xsl:output is not used by Forrest but makes it possible to debug the
- stylesheet in standalone editors -->
- <xsl:output method = "text" omit-xml-declaration="yes" />
-<!-- ==================== main block colors ============================ -->
- <xsl:template match="color[@name='header']">
-#top { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
- <xsl:template match="color[@name='tab-selected']">
-#top .header .current { background-color: <xsl:value-of select="@value"/>;}
-#top .header .current a:link { color: <xsl:value-of select="@link"/>; }
-#top .header .current a:visited { color: <xsl:value-of select="@vlink"/>; }
-#top .header .current a:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template>
- <xsl:template match="color[@name='tab-unselected']">
-#tabs li { background-color: <xsl:value-of select="@value"/> ;}
-#tabs li a:link { color: <xsl:value-of select="@link"/>; }
-#tabs li a:visited { color: <xsl:value-of select="@vlink"/>; }
-#tabs li a:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template>
- <xsl:template match="color[@name='subtab-selected']">
-#level2tabs a.selected { background-color: <xsl:value-of select="@value"/> ;}
-#level2tabs a:link { color: <xsl:value-of select="@link"/>; }
-#level2tabs a:visited { color: <xsl:value-of select="@vlink"/>; }
-#level2tabs a:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template>
- <xsl:template match="color[@name='subtab-unselected']">
-#level2tabs { background-color: <xsl:value-of select="@value"/>;}
-#level2tabs a.unselected:link { color: <xsl:value-of select="@link"/>; }
-#level2tabs a.unselected:visited { color: <xsl:value-of select="@vlink"/>; }
-#level2tabs a.unselected:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template>
- <xsl:template match="color[@name='heading']">
-.heading { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
- <xsl:template match="color[@name='subheading']">
-.boxed { background-color: <xsl:value-of select="@value"/>;}
-.underlined_5 {border-bottom: solid 5px <xsl:value-of select="@value"/>;}
-.underlined_10 {border-bottom: solid 10px <xsl:value-of select="@value"/>;}
-table caption {
-background-color: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@font"/>;
-}
-</xsl:template>
- <xsl:template match="color[@name='feedback']">
-#feedback {
-color: <xsl:value-of select="@font"/>;
-background: <xsl:value-of select="@value"/>;
-text-align: <xsl:value-of select="@align"/>;
-}
-#feedback #feedbackto {
-color: <xsl:value-of select="@font"/>;
-}
-</xsl:template>
- <xsl:template match="color[@name='breadtrail']">
-#main .breadtrail {
-background: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@font"/>;
-}
-#main .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
-#main .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
-#main .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
-#top .breadtrail {
-background: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@font"/>;
-}
-#top .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
-#top .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
-#top .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
-</xsl:template>
-<!--Fix for other (old) profiles-->
- <xsl:template match="color[@name='navstrip']">
-#publishedStrip {
-color: <xsl:value-of select="@font"/>;
-background: <xsl:value-of select="@value"/>;
-}
-</xsl:template>
-<!--has to go after the nav-strip (no 'navstrip')-->
- <xsl:template match="color[@name='published']">
-#publishedStrip {
-color: <xsl:value-of select="@font"/>;
-background: <xsl:value-of select="@value"/>;
-}
-</xsl:template>
- <xsl:template match="color[@name='toolbox']">
-#menu .menupagetitle { background-color: <xsl:value-of select="@value"/>;
- color: <xsl:value-of select="@font"/>;}
-</xsl:template>
- <xsl:template match="color[@name='border']">
-#menu { border-color: <xsl:value-of select="@value"/>;}
-#menu .menupagetitle { border-color: <xsl:value-of select="@value"/>;}
-#menu .menupageitemgroup { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
- <xsl:template match="color[@name='menu']">
-#menu { background-color: <xsl:value-of select="@value"/>;}
-#menu { color: <xsl:value-of select="@font"/>;}
-#menu a:link { color: <xsl:value-of select="@link"/>;}
-#menu a:visited { color: <xsl:value-of select="@vlink"/>;}
-#menu a:hover {
-background-color: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@hlink"/>;}
-</xsl:template>
- <xsl:template match="color[@name='dialog']">
-#menu .menupageitemgroup {
-background-color: <xsl:value-of select="@value"/>;
-}
-#menu .menupageitem {
-color: <xsl:value-of select="@font"/>;
-}
-#menu .menupageitem a:link { color: <xsl:value-of select="@link"/>;}
-#menu .menupageitem a:visited { color: <xsl:value-of select="@vlink"/>;}
-#menu .menupageitem a:hover {
-background-color: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@hlink"/>;
-}
-</xsl:template>
- <xsl:template match="color[@name='menuheading']">
-#menu h1 {
-color: <xsl:value-of select="@font"/>;
-background-color: <xsl:value-of select="@value"/>;
-}
-</xsl:template>
- <xsl:template match="color[@name='searchbox']">
-#top .searchbox {
-background-color: <xsl:value-of select="@value"/> ;
-color: <xsl:value-of select="@font"/>;
-}
-</xsl:template>
- <xsl:template match="color[@name='body']">
-body{
-background-color: <xsl:value-of select="@value"/>;
-color: <xsl:value-of select="@font"/>;
-}
-a:link { color:<xsl:value-of select="@link"/>}
-a:visited { color:<xsl:value-of select="@vlink"/>}
-a:hover { color:<xsl:value-of select="@hlink"/>}
-
-</xsl:template>
- <xsl:template match="color[@name='footer']">
-#footer { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-<!-- ==================== other colors ============================ -->
- <xsl:template match="color[@name='highlight']">
-.highlight { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
- <xsl:template match="color[@name='fixme']">
-.fixme { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
- <xsl:template match="color[@name='note']">
-.note { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
- <xsl:template match="color[@name='warning']">
-.warning { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
- <xsl:template match="color[@name='code']">
-.code { border-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
- <xsl:template match="color[@name='table']">
-.ForrestTable { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
- <xsl:template match="color[@name='table-cell']">
-.ForrestTable td { background-color: <xsl:value-of select="@value"/>;}
-</xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/lucene/css/screen.css b/src/site/src/documentation/skins/lucene/css/screen.css
deleted file mode 100644
index aa8c457cb..000000000
--- a/src/site/src/documentation/skins/lucene/css/screen.css
+++ /dev/null
@@ -1,587 +0,0 @@
-/*
-* 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.
-*/
-body { margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif; }
-
-h1 { font-size : 160%; margin: 0px 0px 0px 0px; padding: 0px; }
-h2 { font-size : 140%; margin: 1em 0px 0.8em 0px; padding: 0px; font-weight : bold;}
-h3 { font-size : 130%; margin: 0.8em 0px 0px 0px; padding: 0px; font-weight : bold; }
-.h3 { margin: 22px 0px 3px 0px; }
-h4 { font-size : 120%; margin: 0.7em 0px 0px 0px; padding: 0px; font-weight : normal; text-align: left; }
-.h4 { margin: 18px 0px 0px 0px; }
-h4.faq { font-size : 120%; margin: 18px 0px 0px 0px; padding: 0px; font-weight : bold; text-align: left; }
-h5 { font-size : 100%; margin: 14px 0px 0px 0px; padding: 0px; font-weight : normal; text-align: left; }
-
-/**
-* table
-*/
-table .title { background-color: #000000; }
-.ForrestTable {
- color: #ffffff;
- background-color: #7099C5;
- width: 100%;
- font-size : 100%;
- empty-cells: show;
-}
-table caption {
- padding-left: 5px;
- color: white;
- text-align: left;
- font-weight: bold;
- background-color: #000000;
-}
-.ForrestTable td {
- color: black;
- background-color: #f0f0ff;
-}
-.ForrestTable th { text-align: center; }
-/**
- * Page Header
- */
-
-#top {
- position: relative;
- float: left;
- width: 100%;
- background: #294563; /* if you want a background in the header, put it here */
-}
-
-#top .breadtrail {
- background: #CFDCED;
- color: black;
- border-bottom: solid 1px white;
- padding: 3px 10px;
- font-size: 75%;
-}
-#top .breadtrail a { color: black; }
-
-#top .header {
- float: left;
- width: 100%;
- background: url("images/header_white_line.gif") repeat-x bottom;
-}
-
-#top .grouplogo {
- padding: 7px 0 10px 10px;
- float: left;
- text-align: left;
-}
-#top .projectlogo {
- padding: 7px 0 10px 10px;
- float: left;
- width: 33%;
- text-align: right;
-}
-#top .projectlogoA1 {
- padding: 7px 0 10px 10px;
- float: right;
-}
-html>body #top .searchbox {
- bottom: 0px;
-}
-#top .searchbox {
- position: absolute;
- right: 10px;
- height: 42px;
- font-size: 70%;
- white-space: nowrap;
- text-align: right;
- color: white;
- background-color: #000000;
- z-index:0;
- background-image: url(images/rc-t-l-5-1header-2searchbox-3searchbox.png);
- background-repeat: no-repeat;
- background-position: top left;
- bottom: -1px; /* compensate for IE rendering issue */
-}
-
-#top .searchbox form {
- padding: 5px 10px;
- margin: 0;
-}
-#top .searchbox p {
- padding: 0 0 2px 0;
- margin: 0;
-}
-#top .searchbox input {
- font-size: 100%;
-}
-
-#tabs {
- clear: both;
- padding-left: 10px;
- margin: 0;
- list-style: none;
-}
-/* background: #CFDCED url("images/tab-right.gif") no-repeat right top;*/
-#tabs li {
- float: left;
- background-image: url(images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png);
- background-repeat: no-repeat;
- background-position: top right;
- background-color: #000000;
- margin: 0 3px 0 0;
- padding: 0;
-}
-
-/*background: url("images/tab-left.gif") no-repeat left top;*/
-#tabs li a {
- float: left;
- display: block;
- font-family: verdana, arial, sans-serif;
- text-decoration: none;
- color: black;
- white-space: nowrap;
- background-image: url(images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png);
- background-repeat: no-repeat;
- background-position: top left;
- padding: 5px 15px 4px;
- width: .1em; /* IE/Win fix */
-}
-
-#tabs li a:hover {
-
- cursor: pointer;
- text-decoration:underline;
-}
-
-#tabs > li a { width: auto; } /* Rest of IE/Win fix */
-
-/* Commented Backslash Hack hides rule from IE5-Mac \*/
-#tabs a { float: none; }
-/* End IE5-Mac hack */
-
-#top .header .current {
- background-color: #4C6C8F;
- background-image: url(images/rc-t-r-5-1header-2tab-selected-3tab-selected.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-#top .header .current a {
- font-weight: bold;
- padding-bottom: 5px;
- color: white;
- background-image: url(images/rc-t-l-5-1header-2tab-selected-3tab-selected.png);
- background-repeat: no-repeat;
- background-position: top left;
-}
-#publishedStrip {
- padding-right: 10px;
- padding-left: 20px;
- padding-top: 3px;
- padding-bottom:3px;
- color: #ffffff;
- font-size : 60%;
- font-weight: bold;
- background-color: #4C6C8F;
- text-align:right;
-}
-
-#level2tabs {
-margin: 0;
-float:left;
-position:relative;
-
-}
-
-
-
-#level2tabs a:hover {
-
- cursor: pointer;
- text-decoration:underline;
-
-}
-
-#level2tabs a{
-
- cursor: pointer;
- text-decoration:none;
- background-image: url('images/chapter.gif');
- background-repeat: no-repeat;
- background-position: center left;
- padding-left: 6px;
- margin-left: 6px;
-}
-
-/*
-* border-top: solid #4C6C8F 15px;
-*/
-#main {
- position: relative;
- background: white;
- clear:both;
-}
-#main .breadtrail {
- clear:both;
- position: relative;
- background: #CFDCED;
- color: black;
- border-bottom: solid 1px black;
- border-top: solid 1px black;
- padding: 0px 180px;
- font-size: 75%;
- z-index:10;
-}
-/**
-* Round corner
-*/
-#roundtop {
- background-image: url(images/rc-t-r-15-1body-2menu-3menu.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-
-#roundbottom {
- background-image: url(images/rc-b-r-15-1body-2menu-3menu.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-
-img.corner {
- width: 15px;
- height: 15px;
- border: none;
- display: block !important;
-}
-
-.roundtopsmall {
- background-image: url(images/rc-t-r-5-1header-2searchbox-3searchbox.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-
-#roundbottomsmall {
- background-image: url(images/rc-b-r-5-1header-2tab-selected-3tab-selected.png);
- background-repeat: no-repeat;
- background-position: top right;
-}
-
-img.cornersmall {
- width: 5px;
- height: 5px;
- border: none;
- display: block !important;
-}
-/**
- * Side menu
- */
-#menu a { font-weight: normal; text-decoration: none;}
-#menu a:visited { font-weight: normal; }
-#menu a:active { font-weight: normal; }
-#menu a:hover { font-weight: normal; text-decoration:underline;}
-
-#menuarea { width:10em;}
-#menu {
- position: relative;
- float: left;
- width: 160px;
- padding-top: 0px;
- top:-18px;
- left:10px;
- z-index: 20;
- background-color: #f90;
- font-size : 70%;
-
-}
-
-.menutitle {
- cursor:pointer;
- padding: 3px 12px;
- margin-left: 10px;
- background-image: url('images/chapter.gif');
- background-repeat: no-repeat;
- background-position: center left;
- font-weight : bold;
-
-
-}
-
-.menutitle:hover{text-decoration:underline;cursor: pointer;}
-
-#menu .menuitemgroup {
- margin: 0px 0px 6px 8px;
- padding: 0px;
- font-weight : bold; }
-
-#menu .selectedmenuitemgroup{
- margin: 0px 0px 0px 8px;
- padding: 0px;
- font-weight : normal;
-
- }
-
-#menu .menuitem {
- padding: 2px 0px 1px 13px;
- background-image: url('images/page.gif');
- background-repeat: no-repeat;
- background-position: center left;
- font-weight : normal;
- margin-left: 10px;
-}
-
-#menu .menupage {
- margin: 2px 0px 1px 10px;
- padding: 0px 3px 0px 12px;
- background-image: url('images/page.gif');
- background-repeat: no-repeat;
- background-position: center left;
- font-style : normal;
-}
-#menu .menupagetitle {
- padding: 0px 0px 0px 1px;
- font-style : normal;
- border-style: solid;
- border-width: 1px;
- margin-right: 10px;
-
-}
-#menu .menupageitemgroup {
- padding: 3px 0px 4px 6px;
- font-style : normal;
- border-bottom: 1px solid ;
- border-left: 1px solid ;
- border-right: 1px solid ;
- margin-right: 10px;
-}
-#menu .menupageitem {
- font-style : normal;
- font-weight : normal;
- border-width: 0px;
- font-size : 90%;
-}
-#menu #credit {
- text-align: center;
-}
-#menu #credit2 {
- text-align: center;
- padding: 3px 3px 3px 3px;
- background-color: #ffffff;
-}
-#menu .searchbox {
- text-align: center;
-}
-#menu .searchbox form {
- padding: 3px 3px;
- margin: 0;
-}
-#menu .searchbox input {
- font-size: 100%;
-}
-
-#content {
- padding: 20px 20px 20px 180px;
- margin: 0;
- font : small Verdana, Helvetica, sans-serif;
- font-size : 80%;
-}
-
-#content ul {
- margin: 0;
- padding: 0 25px;
-}
-#content li {
- padding: 0 5px;
-}
-#feedback {
- color: black;
- background: #CFDCED;
- text-align:center;
- margin-top: 5px;
-}
-#feedback #feedbackto {
- font-size: 90%;
- color: black;
-}
-#footer {
- clear: both;
- position: relative; /* IE bugfix (http://www.dracos.co.uk/web/css/ie6floatbug/) */
- width: 100%;
- background: #CFDCED;
- border-top: solid 1px #4C6C8F;
- color: black;
-}
-#footer .copyright {
- position: relative; /* IE bugfix cont'd */
- padding: 5px;
- margin: 0;
- width: 45%;
-}
-#footer .lastmodified {
- position: relative; /* IE bugfix cont'd */
- float: right;
- width: 45%;
- padding: 5px;
- margin: 0;
- text-align: right;
-}
-#footer a { color: white; }
-
-#footer #logos {
- text-align: left;
-}
-
-
-/**
- * Misc Styles
- */
-
-acronym { cursor: help; }
-.boxed { background-color: #a5b6c6;}
-.underlined_5 {border-bottom: solid 5px #4C6C8F;}
-.underlined_10 {border-bottom: solid 10px #4C6C8F;}
-/* ==================== snail trail ============================ */
-
-.trail {
- position: relative; /* IE bugfix cont'd */
- font-size: 70%;
- text-align: right;
- float: right;
- margin: -10px 5px 0px 5px;
- padding: 0;
-}
-
-#motd-area {
- position: relative; /* IE bugfix cont'd */
- float: right;
- width: 35%;
- background-color: #f0f0ff;
- border-top: solid 1px #4C6C8F;
- border-bottom: solid 1px #4C6C8F;
- margin-bottom: 15px;
- margin-left: 15px;
- margin-right: 10%;
- padding-bottom: 5px;
- padding-top: 5px;
-}
-
-#minitoc-area {
- border-top: solid 1px #4C6C8F;
- border-bottom: solid 1px #4C6C8F;
- margin: 15px 10% 5px 15px;
- /* margin-bottom: 15px;
- margin-left: 15px;
- margin-right: 10%;*/
- padding-bottom: 7px;
- padding-top: 5px;
-}
-.minitoc {
- list-style-image: url('images/current.gif');
- font-weight: normal;
-}
-
-li p {
- margin: 0;
- padding: 0;
-}
-
-.pdflink {
- position: relative; /* IE bugfix cont'd */
- float: right;
- margin: 0px 5px;
- padding: 0;
-}
-.pdflink br {
- margin-top: -10px;
- padding-left: 1px;
-}
-.pdflink a {
- display: block;
- font-size: 70%;
- text-align: center;
- margin: 0;
- padding: 0;
-}
-
-.pdflink img {
- display: block;
- height: 16px;
- width: 16px;
-}
-.xmllink {
- position: relative; /* IE bugfix cont'd */
- float: right;
- margin: 0px 5px;
- padding: 0;
-}
-.xmllink br {
- margin-top: -10px;
- padding-left: 1px;
-}
-.xmllink a {
- display: block;
- font-size: 70%;
- text-align: center;
- margin: 0;
- padding: 0;
-}
-
-.xmllink img {
- display: block;
- height: 16px;
- width: 16px;
-}
-.podlink {
- position: relative; /* IE bugfix cont'd */
- float: right;
- margin: 0px 5px;
- padding: 0;
-}
-.podlink br {
- margin-top: -10px;
- padding-left: 1px;
-}
-.podlink a {
- display: block;
- font-size: 70%;
- text-align: center;
- margin: 0;
- padding: 0;
-}
-
-.podlink img {
- display: block;
- height: 16px;
- width: 16px;
-}
-
-.printlink {
- position: relative; /* IE bugfix cont'd */
- float: right;
-}
-.printlink br {
- margin-top: -10px;
- padding-left: 1px;
-}
-.printlink a {
- display: block;
- font-size: 70%;
- text-align: center;
- margin: 0;
- padding: 0;
-}
-.printlink img {
- display: block;
- height: 16px;
- width: 16px;
-}
-
-p.instruction {
- display: list-item;
- list-style-image: url('../images/instruction_arrow.png');
- list-style-position: outside;
- margin-left: 2em;
-}
diff --git a/src/site/src/documentation/skins/lucene/note.txt b/src/site/src/documentation/skins/lucene/note.txt
deleted file mode 100644
index d34c8db5e..000000000
--- a/src/site/src/documentation/skins/lucene/note.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-Notes for developer:
-
---Legend-------------------
-TODO -> blocker
-DONE -> blocker
-ToDo -> enhancement bug
-done -> enhancement bug
-
---Issues-------------------
-- the corner images should be rendered through svg with the header color.
--> DONE
--> ToDo: get rid of the images and use only divs!
-
-- the menu points should be displayed "better".
--> DONE
--- Use the krysalis-site menu approach for the overall menu display.
--> DONE
--- Use the old lenya innermenu approch to further enhance the menu .
--> DONE
-
-- the content area needs some attention.
--> DONE
--- introduce the heading scheme from krysalis (<headings type="clean|box|underlined"/>)
--> DONE
--> ToDo: make box with round corners
--> done: make underlined with variable border height
--> ToDo: make underline with bottom round corner
--- introduce the toc for each html-page
--> DONE
--- introduce the external-link-images.
--> DONE
-
-- the publish note should be where now only a border is.
-Like <div id="published"/>
--> DONE
-, but make it configurable.
--> DONE
-- footer needs some attention
--> DONE
--- the footer do not have the color profile! Enable it!
--> DONE
--- the footer should as well contain a feedback link.
-See http://issues.apache.org/eyebrowse/[email protected]&msgNo=71
--> DONE
-
-- introduce credits alternativ location
--> DONE
-
-- border for published / breadtrail / menu /tab divs
--> ToDo
\ No newline at end of file
diff --git a/src/site/src/documentation/skins/lucene/skinconf.xsl b/src/site/src/documentation/skins/lucene/skinconf.xsl
deleted file mode 100644
index 2f8df1290..000000000
--- a/src/site/src/documentation/skins/lucene/skinconf.xsl
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="skinconfig">
- <xsl:if test="not(colors)">
- <colors>
-<!-- Lenya -->
- <color name="header" value="#ffffff"/>
- <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="subtab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
- <color name="heading" value="#E5E4D9"/>
- <color name="subheading" value="#E5E4D9"/>
- <color name="published" value="#4C6C8F" font="#FFFFFF"/>
- <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
- <color name="navstrip" value="#E5E4D9" font="#000000"/>
- <color name="toolbox" value="#CFDCED" font="#000000"/>
- <color name="border" value="#999999"/>
- <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff" />
- <color name="menuheading" value="#cfdced" font="#000000" />
- <color name="searchbox" value="#E5E4D9" font="#000000"/>
- <color name="dialog" value="#E5E4D9" font="#000000"/>
- <color name="body" value="#ffffff" />
- <color name="table" value="#ccc"/>
- <color name="table-cell" value="#ffffff"/>
- <color name="highlight" value="#ffff00"/>
- <color name="fixme" value="#cc6600"/>
- <color name="note" value="#006699"/>
- <color name="warning" value="#990000"/>
- <color name="code" value="#003366"/>
- <color name="footer" value="#E5E4D9"/>
- </colors>
- </xsl:if>
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:copy-of select="node()[not(name(.)='colors')]"/>
- <xsl:apply-templates select="colors"/>
- </xsl:copy>
- </xsl:template>
- <xsl:template match="colors">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:copy-of select="node()[name(.)='color']"/>
- <xsl:if test="not(color[@name='header'])">
- <color name="header" value="#FFFFFF"/>
- </xsl:if>
- <xsl:if test="not(color[@name='tab-selected'])">
- <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- </xsl:if>
- <xsl:if test="not(color[@name='tab-unselected'])">
- <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subtab-selected'])">
- <color name="subtab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subtab-unselected'])">
- <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='heading'])">
- <color name="heading" value="#E5E4D9"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subheading'])">
- <color name="subheading" value="#E5E4D9"/>
- </xsl:if>
- <xsl:if test="not(color[@name='feedback'])">
- <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
- </xsl:if>
- <xsl:if test="not(color[@name='published'])">
- <color name="published" value="#4C6C8F" font="#FFFFFF"/>
- </xsl:if>
- <xsl:if test="not(color[@name='navstrip'])">
- <color name="navstrip" value="#E5E4D9" font="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='toolbox'])">
- <color name="toolbox" value="#CFDCED" font="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='border'])">
- <color name="border" value="#999999"/>
- </xsl:if>
- <xsl:if test="not(color[@name='menu'])">
- <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff" />
- </xsl:if>
- <xsl:if test="not(color[@name='menuheading'])">
- <color name="menuheading" value="#cfdced" font="#000000" />
- </xsl:if>
- <xsl:if test="not(color[@name='searchbox'])">
- <color name="searchbox" value="#E5E4D9" font="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='dialog'])">
- <color name="dialog" value="#E5E4D9" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='body'])">
- <color name="body" value="#ffffff" />
- </xsl:if>
- <xsl:if test="not(color[@name='table'])">
- <color name="table" value="#ccc"/>
- </xsl:if>
- <xsl:if test="not(color[@name='table-cell'])">
- <color name="table-cell" value="#ffffff"/>
- </xsl:if>
- <xsl:if test="not(color[@name='highlight'])">
- <color name="highlight" value="#ffff00"/>
- </xsl:if>
- <xsl:if test="not(color[@name='fixme'])">
- <color name="fixme" value="#c60"/>
- </xsl:if>
- <xsl:if test="not(color[@name='note'])">
- <color name="note" value="#069"/>
- </xsl:if>
- <xsl:if test="not(color[@name='warning'])">
- <color name="warning" value="#900"/>
- </xsl:if>
- <xsl:if test="not(color[@name='code'])">
- <color name="code" value="#a5b6c6"/>
- </xsl:if>
- <xsl:if test="not(color[@name='footer'])">
- <color name="footer" value="#E5E4D9"/>
- </xsl:if>
- </xsl:copy>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/lucene/xslt/fo/document-to-fo.xsl b/src/site/src/documentation/skins/lucene/xslt/fo/document-to-fo.xsl
deleted file mode 100644
index 0fb2a2373..000000000
--- a/src/site/src/documentation/skins/lucene/xslt/fo/document-to-fo.xsl
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- version="1.0">
- <xsl:import href="../../../common/xslt/fo/document-to-fo.xsl"/>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/lucene/xslt/html/book-to-menu.xsl b/src/site/src/documentation/skins/lucene/xslt/html/book-to-menu.xsl
deleted file mode 100644
index 5242fc851..000000000
--- a/src/site/src/documentation/skins/lucene/xslt/html/book-to-menu.xsl
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-book-to-menu.xsl generates the HTML menu. See the imported book-to-menu.xsl for
-details.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:import href="../../../common/xslt/html/book-to-menu.xsl"/>
- <xsl:template match="book">
- <div id="menu">
- <ul>
- <xsl:apply-templates select="menu"/>
- </ul>
- </div>
- </xsl:template>
- <xsl:template match="menu">
- <li><h1>
- <xsl:value-of select="@label"/>
- </h1>
- <ul>
- <xsl:apply-templates/>
- </ul></li>
- </xsl:template>
- <xsl:template match="menu-item[@type='hidden']"/>
- <xsl:template match="menu-item">
- <li><xsl:apply-imports/></li>
- </xsl:template>
- <xsl:template name="selected">
- <div class="current">
- <xsl:value-of select="@label"/>
- </div>
- </xsl:template>
- <xsl:template name="print-external">
- <font color="#ffcc00">
- <xsl:apply-imports/>
- </font>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/lucene/xslt/html/document-to-html.xsl b/src/site/src/documentation/skins/lucene/xslt/html/document-to-html.xsl
deleted file mode 100644
index 2d337bf0d..000000000
--- a/src/site/src/documentation/skins/lucene/xslt/html/document-to-html.xsl
+++ /dev/null
@@ -1,154 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-This stylesheet contains templates for converting documentv11 to HTML. See the
-imported document-to-html.xsl for details.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:import href="../../../common/xslt/html/document-to-html.xsl"/>
- <xsl:template match="document">
- <meta-data>
- <xsl:apply-templates select="header/meta"/>
- </meta-data>
- <div id="content">
- <div id="skinconf-printlink"/>
- <div id="skinconf-xmllink"/>
- <div id="skinconf-podlink"/>
- <div id="skinconf-txtlink"/>
- <div id="skinconf-pdflink"/>
- <div id="disable-font-script"/>
- <xsl:if test="normalize-space(header/title)!=''">
- <h1>
- <xsl:value-of select="header/title"/>
- </h1>
- </xsl:if>
- <xsl:if test="normalize-space(header/subtitle)!=''">
- <h3>
- <xsl:value-of select="header/subtitle"/>
- </h3>
- </xsl:if>
-<!--
- <xsl:apply-templates select="header/type"/>
- <xsl:apply-templates select="header/notice"/>
- <xsl:apply-templates select="header/abstract"/>
- <xsl:apply-templates select="body"/>
-
- <div class="attribution">
- <xsl:apply-templates select="header/authors"/>
- <xsl:if test="header/authors and header/version">
- <xsl:text>; </xsl:text>
- </xsl:if>
- <xsl:apply-templates select="header/version"/>
- </div>
- -->
- <xsl:if test="header/abstract">
- <div class="abstract">
- <xsl:value-of select="header/abstract"/>
- </div>
- </xsl:if>
- <xsl:apply-templates select="body"/>
- <xsl:if test="header/authors">
- <p align="right">
- <font size="-2">
- <xsl:for-each select="header/authors/person">
- <xsl:choose>
- <xsl:when test="position()=1">by&#160;</xsl:when>
- <xsl:otherwise>,&#160;</xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="@name"/>
- </xsl:for-each>
- </font>
- </p>
- </xsl:if>
- <xsl:if test="header/version">
- <xsl:apply-templates select="header/version"/>
- </xsl:if>
- </div>
- </xsl:template>
- <xsl:template match="body">
- <div id="skinconf-toc-page"/>
- <xsl:apply-templates/>
- </xsl:template>
- <xsl:template match="@id">
- <xsl:apply-imports/>
- </xsl:template>
- <xsl:template match="section"><a name="{generate-id()}"/>
- <xsl:apply-templates select="@id"/>
- <xsl:variable name = "level" select = "count(ancestor::section)+1" />
- <xsl:choose>
- <xsl:when test="$level=1">
- <div class="skinconf-heading-{$level}">
- <h1>
- <xsl:value-of select="title"/>
- </h1>
- </div>
- <div class="section">
- <xsl:apply-templates select="*[not(self::title)]"/>
- </div>
- </xsl:when>
- <xsl:when test="$level=2">
- <div class="skinconf-heading-{$level}">
- <h2>
- <xsl:value-of select="title"/>
- </h2>
- </div>
- <xsl:apply-templates select="*[not(self::title)]"/>
- </xsl:when>
-<!-- If a faq, answer sections will be level 3 (1=Q/A, 2=part) -->
- <xsl:when test="$level=3 and $notoc='true'">
- <h4 class="faq">
- <xsl:value-of select="title"/>
- </h4>
- <div align="right"><a href="#{@id}-menu">^</a>
- </div>
- <div style="margin-left: 15px">
- <xsl:apply-templates select="*[not(self::title)]"/>
- </div>
- </xsl:when>
- <xsl:when test="$level=3">
- <h4>
- <xsl:value-of select="title"/>
- </h4>
- <xsl:apply-templates select="*[not(self::title)]"/>
- </xsl:when>
- <xsl:otherwise>
- <h5>
- <xsl:value-of select="title"/>
- </h5>
- <xsl:apply-templates select="*[not(self::title)]"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="figure">
- <xsl:apply-templates select="@id"/>
- <div style="text-align: center;" id="{@id}">
- <img src="{@src}" alt="{@alt}" class="figure" id="{@id}">
- <xsl:if test="@height">
- <xsl:attribute name="height">
- <xsl:value-of select="@height"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@width">
- <xsl:attribute name="width">
- <xsl:value-of select="@width"/>
- </xsl:attribute>
- </xsl:if>
- </img>
- </div>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/lucene/xslt/html/site-to-xhtml.xsl b/src/site/src/documentation/skins/lucene/xslt/html/site-to-xhtml.xsl
deleted file mode 100644
index d93a28309..000000000
--- a/src/site/src/documentation/skins/lucene/xslt/html/site-to-xhtml.xsl
+++ /dev/null
@@ -1,808 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-site-to-xhtml.xsl is the final stage in HTML page production. It merges HTML from
-document-to-html.xsl, tab-to-menu.xsl and book-to-menu.xsl, and adds the site header,
-footer, searchbar, css etc. As input, it takes XML of the form:
-
-<site>
- <div class="menu">
- ...
- </div>
- <div class="tab">
- ...
- </div>
- <div class="content">
- ...
- </div>
-</site>
-
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:i18n="http://apache.org/cocoon/i18n/2.1" exclude-result-prefixes="i18n">
- <xsl:import href="../../../common/xslt/html/site-to-xhtml.xsl"/>
-<!--+
- |Overall site template
- +-->
- <xsl:template match="site">
-<!--html lang="en" xml:lang="en"-->
- <html>
-<!--+
- |HTML-head
- +-->
- <head>
-<!--+
- |generator meta
- +-->
-<!-- Add some Forrest-specific metadata -->
- <xsl:call-template name="html-meta"/>
-<!-- Add any metadata from the documents -->
- <xsl:call-template name="meta-data"/>
-<!--+
- |title
- +-->
- <title><xsl:value-of select="div[@id='content']/h1"/>
- <xsl:if test="$config/motd">
- <xsl:for-each select="$config/motd/motd-option">
- <xsl:choose>
- <xsl:when test="@starts-with='true'">
- <xsl:if test="starts-with($path, @pattern)">
- <xsl:if test="normalize-space(motd-title) != ''">
-<xsl:text> (</xsl:text>
- <xsl:value-of select="motd-title"/>
-<xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- <xsl:if test="contains($path, @pattern)">
- <xsl:if test="normalize-space(motd-title) != ''">
-<xsl:text> (</xsl:text>
- <xsl:value-of select="motd-title"/>
-<xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </xsl:if></title>
-<!--+
- |stylesheets
- +--><link rel="stylesheet" href="{$root}skin/basic.css" type="text/css"
- /><link rel="stylesheet" href="{$root}skin/screen.css"
- type="text/css" media="screen" /><link rel="stylesheet" href="{$root}skin/print.css" type="text/css"
- media="print" /><link rel="stylesheet" href="{$root}skin/profile.css"
- type="text/css" />
-<!--+
- |Javascripts
- +-->
-<script type="text/javascript" language="javascript"
- src="{$root}skin/getBlank.js"></script>
-<script type="text/javascript" language="javascript"
- src="{$root}skin/getMenu.js"></script>
-<script type="text/javascript" language="javascript"
- src="{$root}skin/fontsize.js"></script>
-<!--+
- |favicon
- +-->
- <xsl:if test="//skinconfig/favicon-url"><link rel="shortcut icon">
- <xsl:attribute name="href">
- <xsl:value-of
- select="concat($root,//skinconfig/favicon-url)"/>
- </xsl:attribute></link>
- </xsl:if>
- </head>
-<!--+
- |HTML-body
- +-->
- <body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<!--+Site structure
- +++++++++++++++++++++++++++
- +=========================+
- | topstrip |
- +=========================+
- | |
- | centerstrip |
- | |
- | |
- +=========================+
- | bottomstrip |
- +=========================+
- +++++++++++++++++++++++++++
- +-->
-<!--+
- |topstrip with logos and search box
- +-->
- <div id="top">
-<!--breadcrumbs org location-->
- <xsl:if test="not ($config/trail/@location)">
- <xsl:comment>+
- |breadtrail
- +</xsl:comment>
- <div class="breadtrail">
- <xsl:call-template name="breadcrumbs"/>
- </div>
- </xsl:if>
- <xsl:comment>+
- |header
- +</xsl:comment>
- <div class="header">
- <xsl:comment>+
- |start group logo
- +</xsl:comment>
- <xsl:if test="$config/group-url">
- <div class="grouplogo">
- <xsl:call-template name="renderlogo">
- <xsl:with-param name="name" select="$config/group-name"/>
- <xsl:with-param name="url" select="$config/group-url"/>
- <xsl:with-param name="logo" select="$config/group-logo"/>
- <xsl:with-param name="root" select="$root"/>
- <xsl:with-param name="description" select="$config/group-description"/>
- </xsl:call-template>
- </div>
- </xsl:if>
- <xsl:comment>+
- |end group logo
- +</xsl:comment>
- <xsl:comment>+
- |start Project Logo
- +</xsl:comment>
- <xsl:variable name="xtest">
- <xsl:choose>
- <xsl:when
- test="$config/group-url and $config/search and not($config/search/@box-location = 'alt')">
-<xsl:text>true</xsl:text>
- </xsl:when>
- <xsl:otherwise>
-<xsl:text>false</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <div class="projectlogo">
- <xsl:if test="$xtest='false'" >
- <xsl:attribute name="class">
-<xsl:text>projectlogoA1</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:call-template name="renderlogo">
- <xsl:with-param name="name" select="$config/project-name"/>
- <xsl:with-param name="url" select="$config/project-url"/>
- <xsl:with-param name="logo" select="$config/project-logo"/>
- <xsl:with-param name="root" select="$root"/>
- <xsl:with-param name="description" select="$config/project-description"/>
- </xsl:call-template>
- </div>
- <xsl:comment>+
- |end Project Logo
- +</xsl:comment>
- <xsl:if
- test="$config/search and not($config/search/@box-location = 'alt')">
- <xsl:comment>+
- |start Search
- +</xsl:comment>
- <div class="searchbox">
- <xsl:variable name="search-prompt">
- <i18n:text>Search the site with</i18n:text>
-<xsl:text> </xsl:text>
- <xsl:value-of select="$config/search/@provider"/>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$config/search/@provider = 'lucene'">
-<!-- Lucene search -->
- <form method="get" action="{$root}{$lucene-search}">
- <input type="text" id="query" name="queryString" size="25" onFocus="getBlank (this, '{$search-prompt}');">
- <xsl:attribute name="value">
- <xsl:value-of select="$search-prompt"/>
- </xsl:attribute>
- </input>&#160;
- <input type="submit" value="Search" name="Search" i18n:attr="value"/>
- </form>
- </xsl:when>
- <xsl:otherwise>
- <form class="roundtopsmall" method="get" action="http://search.lucidimagination.com/p:nutch">
- <input type="text" id="query" name="q" size="25" onFocus="getBlank (this, '{$search-prompt}');">
- <xsl:attribute name="value">
- <xsl:value-of select="$search-prompt"/>
- </xsl:attribute>
- </input>&#160;
- <input type="submit" value="Search" name="Search" i18n:attr="value"/>
- </form>
- <div style="position: relative; top: -5px; left: -10px">Powered by <a style="color: #033268" href="http://www.lucidimagination.com">Lucid Imagination</a></div>
- </xsl:otherwise>
- </xsl:choose>
-<!--div id="roundbottomsmall">
- <img
- src="{$skin-img-dir}/rc-b-l-5-1body-2menu-3menu.png"
- alt="" width="5" height="5" class="cornersmall"
- style="display: none" />
- </div-->
- </div>
- <xsl:comment>+
- |end search
- +</xsl:comment>
- </xsl:if>
- <xsl:comment>+
- |start Tabs
- +</xsl:comment>
- <xsl:apply-templates select="ul[@id='tabs']"/>
- <xsl:comment>+
- |end Tabs
- +</xsl:comment>
- </div>
- </div>
-<!--+
- |centerstrip with menu and mainarea
- +-->
- <div id="main">
- <div id="publishedStrip">
- <xsl:comment>+
- |start Subtabs
- +</xsl:comment>
- <div id="level2tabs">
- <xsl:apply-templates select="span[@id='level2tabs']/node()"/>
- </div>
- <xsl:comment>+
- |end Endtabs
- +</xsl:comment>
- <xsl:call-template name="last-published"/>
- </div>
- <xsl:comment>+
- |breadtrail
- +</xsl:comment>
- <div class="breadtrail">
- <xsl:choose>
- <xsl:when test="$config/trail/@location='alt'">
-<!--breadtrail location='alt'-->
- <xsl:call-template name="breadcrumbs"/>
- </xsl:when>
- <xsl:otherwise>
-<!--*NO* breadtrail-->
- &#160;
- </xsl:otherwise>
- </xsl:choose>
- </div>
- <xsl:comment>+
- |start Menu, mainarea
- +</xsl:comment>
- <xsl:if test="div[@id='menu']/ul/li">
- <xsl:call-template name="menu"/>
- </xsl:if>
- <xsl:comment>+
- |start content
- +</xsl:comment>
- <xsl:apply-templates select="div[@id='content']"/>
- <xsl:comment>+
- |end content
- +</xsl:comment>
- <div class="clearboth">&#160;</div>
- </div>
-<!--+
- |bottomstrip with footer
- +-->
- <div id="footer">
- <xsl:comment>+
- |start bottomstrip
- +</xsl:comment>
- <div class="lastmodified">
- <xsl:call-template name="last-published"/>
- </div>
- <xsl:if test="not($config/disable-copyright-footer = 'true')">
- <div class="copyright">
- Copyright &#169;
- <xsl:text> </xsl:text>
- <xsl:value-of select="$config/year"/>
- <xsl:call-template name="current-year">
- <xsl:with-param name="copyrightyear" select="$config/year"/>
- </xsl:call-template>
-<xsl:text> </xsl:text>
- <xsl:choose>
- <xsl:when test="$config/copyright-link"><a>
- <xsl:attribute name="href">
- <xsl:value-of select="$config/copyright-link"/>
- </xsl:attribute>
- <xsl:value-of select="$config/vendor"/></a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$config/vendor"/>
- </xsl:otherwise>
- </xsl:choose>
- </div>
- </xsl:if>
- <xsl:if test="$filename = 'index.html'">
- <div id="logos" >
- <xsl:if test="$config/disable-compliance-links/@align">
- <xsl:attribute name="style">text-align: <xsl:value-of select="$config/disable-compliance-links/@align"/>
- </xsl:attribute>
- </xsl:if>
-<!-- W3C logos style="text-align: center;"-->
- <xsl:call-template name="compliancy-logos"/>
- <xsl:if test="$filename = 'index.html' and $config/credits">
- <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
- <xsl:if test="not(@box-location = 'alt') and not(@box-location = 'alt2')">
- <xsl:variable name="name" select="name"/>
- <xsl:variable name="url" select="url"/>
- <xsl:variable name="image" select="image"/>
- <xsl:variable name="width" select="width"/>
- <xsl:variable name="height" select="height"/><a href="{$url}">
- <img alt="{$name} - logo" title="{$name}" border="0">
- <xsl:attribute name="src">
- <xsl:if test="not(starts-with($image, 'http://'))">
- <xsl:value-of select="$root"/>
- </xsl:if>
- <xsl:value-of select="$image"/>
- </xsl:attribute>
- <xsl:attribute name="style">
- <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
- <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
- </xsl:attribute>
- </img></a>
- </xsl:if>
- </xsl:for-each>
- </xsl:if>
- </div>
- </xsl:if>
- <xsl:if test="$config/host-logo and not($config/host-logo = '')">
- <div class="host">
- <xsl:call-template name="renderlogo">
- <xsl:with-param name="name" select="$config/host-name"/>
- <xsl:with-param name="url" select="$config/host-url"/>
- <xsl:with-param name="logo" select="$config/host-logo"/>
- <xsl:with-param name="root" select="$root"/>
- </xsl:call-template>
- </div>
- </xsl:if>
- <xsl:if test="$config/feedback">
- <xsl:call-template name="feedback"/>
- </xsl:if>
- <xsl:comment>+
- |end bottomstrip
- +</xsl:comment>
- </div>
- </body>
- </html>
- </xsl:template>
- <xsl:template name="last-published">
-<script type="text/javascript"><![CDATA[<!--
-document.write("]]><i18n:text >Last Published:</i18n:text><![CDATA[ " + document.lastModified);
-// -->]]></script>
- </xsl:template>
-<!--headings-->
- <xsl:template match="div[@class = 'skinconf-heading-1']">
- <xsl:choose>
- <xsl:when test="//skinconfig/headings/@type='underlined'">
- <h2 class="underlined_10">
- <xsl:value-of select="h1"/>
- </h2>
- </xsl:when>
- <xsl:when test="//skinconfig/headings/@type='boxed'">
- <h2 class="boxed">
- <xsl:value-of select="h1"/>
- </h2>
- </xsl:when>
- <xsl:otherwise>
- <h2 class="h3">
- <xsl:value-of select="h1"/>
- </h2>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="div[@class = 'skinconf-heading-2']">
- <xsl:choose>
- <xsl:when test="//skinconfig/headings/@type='underlined'">
- <h3 class="underlined_5">
- <xsl:value-of select="h2"/>
- </h3>
- </xsl:when>
- <xsl:when test="//skinconfig/headings/@type='boxed'">
- <h3 class="boxed">
- <xsl:value-of select="h2"/>
- </h3>
- </xsl:when>
- <xsl:otherwise>
- <h3 class="h4">
- <xsl:value-of select="h2"/>
- </h3>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-<!-- Add links to any standards-compliance logos -->
- <xsl:template name="compliancy-logos">
- <xsl:if test="$filename = 'index.html' and $config/disable-compliance-links = 'false'"><a href="http://validator.w3.org/check/referer">
- <img class="logoImage"
- src="{$skin-img-dir}/valid-html401.png"
- alt="Valid HTML 4.01!" title="Valid HTML 4.01!" style="height: 31px; width: 88px;" /></a><a href="http://jigsaw.w3.org/css-validator/check/referer">
- <img class="logoImage"
- src="{$skin-img-dir}/vcss.png"
- alt="Valid CSS!" title="Valid CSS!" style="height: 31px; width: 88px;"/></a>
- </xsl:if>
- </xsl:template>
- <xsl:template name="menu">
- <xsl:comment>+
- |start Menu
- +</xsl:comment>
- <div id="menu">
-<!--menu - inner-->
- <xsl:for-each select = "div[@id='menu']/ul/li">
- <xsl:call-template name = "innermenuli" >
- <xsl:with-param name="id" select="concat('1.', position())"/>
- </xsl:call-template>
- </xsl:for-each>
-<!--
- <xsl:apply-templates select="div[@id='menu']/*" />
- -->
-<!-- Search box: alternative location -->
- <xsl:if
- test="$config/search and $config/search/@box-location='alt'">
- <xsl:comment>+
- |start Search
- +</xsl:comment>
- <div class="searchbox">
- <hr />
- <xsl:variable name="search-prompt">
- <i18n:text>Search the site with</i18n:text>
-<xsl:text> </xsl:text>
- <xsl:value-of select="$config/search/@provider"/>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$config/search/@provider = 'lucene'">
-<!-- Lucene search -->
- <form method="get" action="{$root}{$lucene-search}">
- <input type="text" id="query" name="queryString" size="18" onFocus="getBlank (this, '{$search-prompt}');">
- <xsl:attribute name="value">
- <xsl:value-of select="$search-prompt"/>
- </xsl:attribute>
- </input>&#160;
- <input type="submit" value="Search" name="Search" i18n:attr="value"/>
- </form>
- </xsl:when>
- <xsl:otherwise>
- <form class="roundtopsmall" method="get" action="http://search.lucidimagination.com/p:nutch">
- <input type="text" id="query" name="q" size="25" onFocus="getBlank (this, '{$search-prompt}');">
- <xsl:attribute name="value">
- <xsl:value-of select="$search-prompt"/>
- </xsl:attribute>
- </input>&#160;
- <input type="submit" value="Search" name="Search" i18n:attr="value"/>
- </form>
- </xsl:otherwise>
- </xsl:choose>
- </div>
- <xsl:comment>+
- |end search
- +</xsl:comment>
- </xsl:if>
-<!--credits in alternative location-->
- <div id="credit">
- <xsl:if test="$filename = 'index.html' and $config/credits and ($config/credits/credit/@box-location = 'alt')">
- <hr />
- <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
- <xsl:if test="@box-location = 'alt'">
- <xsl:variable name="name" select="name"/>
- <xsl:variable name="url" select="url"/>
- <xsl:variable name="image" select="image"/>
- <xsl:variable name="width" select="width"/>
- <xsl:variable name="height" select="height"/><a href="{$url}">
- <img alt="{$name} - logo" title="{$name}" border="0">
- <xsl:attribute name="src">
- <xsl:if test="not(starts-with($image, 'http://'))">
- <xsl:value-of select="$root"/>
- </xsl:if>
- <xsl:value-of select="$image"/>
- </xsl:attribute>
- <xsl:attribute name="style">
- <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
- <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
- </xsl:attribute>
- </img></a>
- </xsl:if>
- </xsl:for-each>
- </xsl:if>
-<!-- Message of the day -->
- <xsl:if test="$config/motd">
- <xsl:for-each select="$config/motd/motd-option">
- <xsl:choose>
- <xsl:when test="@starts-with='true'">
- <xsl:if test="starts-with($path, @pattern)">
- <xsl:if test="motd-page/@location='alt' or motd-page/@location='both'">
- <hr />
- <xsl:value-of select="motd-page"/>
- <xsl:if test="motd-page-url">
-<xsl:text> (</xsl:text><a>
- <xsl:attribute name="href">
- <xsl:value-of select="motd-page-url"/>
- </xsl:attribute>
-<xsl:text>More</xsl:text></a>
-<xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:if>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- <xsl:if test="contains($path, @pattern)">
- <xsl:if test="motd-page/@location='alt' or motd-page/@location='both'">
- <hr />
- <xsl:value-of select="motd-page"/>
- <xsl:if test="motd-page-url">
-<xsl:text> (</xsl:text><a>
- <xsl:attribute name="href">
- <xsl:value-of select="motd-page-url"/>
- </xsl:attribute>
-<xsl:text>More</xsl:text></a>
-<xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:if>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </xsl:if>
- </div>
- <div id="roundbottom">
- <img
- src="{$skin-img-dir}/rc-b-l-15-1body-2menu-3menu.png"
- alt="" width="15" height="15" class="corner"
- style="display: none" />
- </div>
-<!--credits in alternative location #2-->
- <xsl:comment>+
- |alternative credits
- +</xsl:comment>
- <div id="credit2">
- <xsl:if test="$config/credits and ($config/credits/credit/@box-location = 'alt2')">
- <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
- <xsl:if test="@box-location = 'alt2'">
- <xsl:variable name="name" select="name"/>
- <xsl:variable name="url" select="url"/>
- <xsl:variable name="image" select="image"/>
- <xsl:variable name="width" select="width"/>
- <xsl:variable name="height" select="height"/><a href="{$url}">
- <img alt="{$name} - logo" title="{$name}" border="0">
- <xsl:attribute name="src">
- <xsl:if test="not(starts-with($image, 'http://'))">
- <xsl:value-of select="$root"/>
- </xsl:if>
- <xsl:value-of select="$image"/>
- </xsl:attribute>
- <xsl:attribute name="style">
- <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
- <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
- </xsl:attribute>
- </img></a>
- </xsl:if>
- </xsl:for-each>
- </xsl:if>
- </div>
- </div>
- <xsl:comment>+
- |end Menu
- +</xsl:comment>
- </xsl:template>
- <xsl:template name="innermenuli">
- <xsl:param name="id"/>
- <xsl:variable name="tagid">
- <xsl:choose>
- <xsl:when test="descendant-or-self::node()/li/div/@class='current'">
- <xsl:value-of select="concat('menu_selected_',$id)"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat('menu_',concat(font,$id))"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="whichGroup">
- <xsl:choose>
- <xsl:when test="descendant-or-self::node()/li/div/@class='current'">selectedmenuitemgroup</xsl:when>
- <xsl:otherwise>menuitemgroup</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <div class="menutitle" id="{$tagid}Title"
- onclick="SwitchMenu('{$tagid}', '{$root}skin/')">
- <xsl:if test="contains($tagid, '_selected_')" >
- <xsl:attribute name="style">
-<xsl:text>background-image: url('</xsl:text>
- <xsl:value-of select="$root"/>
-<xsl:text>skin/images/chapter_open.gif');</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:value-of select="h1"/>
- </div>
- <div class="{$whichGroup}" id="{$tagid}">
- <xsl:if test="contains($tagid, '_selected_')" >
- <xsl:attribute name="style">
-<xsl:text>display: block;</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:for-each select= "ul/li">
- <xsl:choose>
- <xsl:when test="a">
- <div class="menuitem"><a>
- <xsl:attribute name="href">
- <xsl:value-of select="a/@href"/>
- </xsl:attribute>
- <xsl:if test="a/@title!=''">
- <xsl:attribute name="title">
- <xsl:value-of select="a/@title"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:value-of select="a"/></a>
- </div>
- </xsl:when>
- <xsl:when test="div/@class='current'">
- <div class="menupage">
- <div class="menupagetitle">
- <xsl:value-of select="div" />
- </div>
- <xsl:if test="$config/toc/@max-depth > 0
- and contains($minitoc-location,'menu')
- and count(//tocitems/tocitem) >= $config/toc/@min-sections">
- <div class="menupageitemgroup">
- <xsl:for-each select = "//tocitems/tocitem">
- <div class="menupageitem">
- <xsl:choose>
- <xsl:when test="string-length(@title)>15"><a href="{@href}" title="{@title}">
- <xsl:value-of select="substring(@title,0,20)" />...</a>
- </xsl:when>
- <xsl:otherwise><a href="{@href}">
- <xsl:value-of select="@title" /></a>
- </xsl:otherwise>
- </xsl:choose>
- </div>
- </xsl:for-each>
- </div>
- </xsl:if>
- </div>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name = "innermenuli">
- <xsl:with-param name="id" select="concat($id, '.', position())"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </div>
- </xsl:template>
-<!--+
- |Generates the PDF link
- +-->
- <xsl:template match="div[@id='skinconf-pdflink']">
- <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'">
- <div class="pdflink" title="Portable Document Format"><a href="{$filename-noext}.pdf" class="dida">
- <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF -icon" />
- <br/>
- PDF</a>
- </div>
- </xsl:if>
- </xsl:template>
- <xsl:template match="div[@id='skinconf-xmllink']">
- <xsl:if test="not($config/disable-xml-link) or $disable-xml-link = 'false'">
- <div class="xmllink" title="raw XML"><a href="{$filename-noext}.xml" class="dida">
- <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="XML - icon" />
- <br/>
- XML</a>
- </div>
- </xsl:if>
- </xsl:template>
- <xsl:template match="div[@id='skinconf-txtlink']">
- <xsl:if test="not($config/disable-txt-link) or $disable-txt-link = 'false'">
- <div class="podlink" title="Plain Text Documentation"><a href="{$filename-noext}.txt" class="dida">
- <img class="skin" src="{$skin-img-dir}/txtdoc.png" alt="TXT - icon" />
- <br/>
- TXT</a>
- </div>
- </xsl:if>
- </xsl:template>
- <xsl:template match="div[@id='skinconf-podlink']">
- <xsl:if test="not($config/disable-pod-link) or $disable-pod-link = 'false'">
- <div class="podlink" title="Plain Old Documentation"><a href="{$filename-noext}.pod" class="dida">
- <img class="skin" src="{$skin-img-dir}/poddoc.png" alt="POD - icon" />
- <br/>
- POD</a>
- </div>
- </xsl:if>
- </xsl:template>
- <xsl:template match="div[@id='skinconf-printlink']">
- <xsl:if test="not($config/disable-print-link) or $disable-print-link = 'false'">
-<script type="text/javascript" language="Javascript">
-function printit() {
- if (window.print) {
- window.focus();
- window.print();
- }
-}
- </script>
-<script type="text/javascript" language="Javascript">
-var NS = (navigator.appName == "Netscape");
-var VERSION = parseInt(navigator.appVersion);
-if (VERSION > 3) {
- document.write('<div class="printlink" title="Print this Page">');
- document.write(' <a href="javascript:printit()" class="dida">');
- document.write(' <img class="skin" src="{$skin-img-dir}/printer.gif" alt="print - icon" />');
- document.write(' <br />');
- document.write(' PRINT</a>');
- document.write('</div>');
-}
- </script>
- </xsl:if>
- </xsl:template>
- <xsl:template match="div[@id='disable-font-script']">
- <xsl:if test="$disable-font-script = 'false'">
- <div class="trail">
- <i18n:text >Font size:</i18n:text>
- &#160;<input type="button" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" class="resetfont" value="Reset"/>
- &#160;<input type="button" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" class="smallerfont" value="-a"/>
- &#160;<input type="button" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" class="biggerfont" value="+a"/>
- </div>
- </xsl:if>
- </xsl:template>
- <xsl:template match="div[@id='skinconf-toc-page']">
-<!-- Message of the day -->
- <xsl:if test="$config/motd">
- <xsl:for-each select="$config/motd/motd-option">
- <xsl:choose>
- <xsl:when test="@starts-with='true'">
- <xsl:if test="starts-with($path, @pattern)">
- <xsl:if test="motd-page/@location='page' or motd-page/@location='both'">
- <div id="motd-area">
- <xsl:value-of select="motd-page"/>
- <xsl:if test="motd-page-url">
-<xsl:text> (</xsl:text><a>
- <xsl:attribute name="href">
- <xsl:value-of select="motd-page-url"/>
- </xsl:attribute>
-<xsl:text>More</xsl:text></a>
-<xsl:text>)</xsl:text>
- </xsl:if>
- </div>
- </xsl:if>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- <xsl:if test="contains($path, @pattern)">
- <xsl:if test="motd-page/@location='page' or motd-page/@location='both'">
- <div id="motd-area">
- <xsl:value-of select="motd-page"/>
- <xsl:if test="motd-page-url">
-<xsl:text> (</xsl:text><a>
- <xsl:attribute name="href">
- <xsl:value-of select="motd-page-url"/>
- </xsl:attribute>
-<xsl:text>More</xsl:text></a>
-<xsl:text>)</xsl:text>
- </xsl:if>
- </div>
- </xsl:if>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </xsl:if>
-<!-- Table of Contents ToC -->
- <xsl:if test="$config/toc">
- <xsl:if test="contains($minitoc-location,'page')">
- <xsl:if test="(count(//tocitems/tocitem) >= $config/toc/@min-sections) or (//tocitems/@force = 'true')">
- <div id="minitoc-area">
- <xsl:call-template name="minitoc">
- <xsl:with-param name="tocroot" select="//tocitems"/>
- </xsl:call-template>
- </div>
- </xsl:if>
- </xsl:if>
- </xsl:if>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/src/documentation/skins/lucene/xslt/html/tab-to-menu.xsl b/src/site/src/documentation/skins/lucene/xslt/html/tab-to-menu.xsl
deleted file mode 100644
index 3253adb0e..000000000
--- a/src/site/src/documentation/skins/lucene/xslt/html/tab-to-menu.xsl
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<!--
-This stylesheet generates 'tabs' at the top left of the screen. Tabs are
-visual indicators that a certain subsection of the URI space is being browsed.
-For example, if we had tabs with paths:
-
-Tab1: ''
-Tab2: 'community'
-Tab3: 'community/howto'
-Tab4: 'community/howto/form/index.html'
-
-Then if the current path was 'community/howto/foo', Tab3 would be highlighted.
-The rule is: the tab with the longest path that forms a prefix of the current
-path is enabled.
-
-The output of this stylesheet is HTML of the form:
- <div class="tab">
- ...
- </div>
-
-which is then merged by site-to-xhtml.xsl
-
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:import href="../../../common/xslt/html/tab-to-menu.xsl"/>
- <xsl:template match="tabs">
- <ul id="tabs">
- <xsl:call-template name="base-tabs"/>
- </ul>
- <span id="level2tabs">
- <xsl:call-template name="level2tabs"/>
- </span>
- </xsl:template>
- <xsl:template name="pre-separator"></xsl:template>
- <xsl:template name="post-separator"></xsl:template>
- <xsl:template name="separator"></xsl:template>
- <xsl:template name="level2-separator"></xsl:template>
- <xsl:template name="selected">
- <li class="current"><xsl:call-template name="base-selected"/></li>
- </xsl:template>
- <xsl:template name="not-selected">
- <li><xsl:call-template name="base-not-selected"/></li>
- </xsl:template>
- <xsl:template name="level2-not-selected">
- <xsl:call-template name="base-not-selected"/>
- </xsl:template>
- <xsl:template name="level2-selected">
- <xsl:call-template name="base-selected"/>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/src/site/status.xml b/src/site/status.xml
deleted file mode 100644
index a8207267e..000000000
--- a/src/site/status.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<status>
-
- <developers>
- <person name="Joe Bloggs" email="[email protected]" id="JB" />
- <!-- Add more people here -->
- </developers>
-
- <changes>
- <!-- Add new releases here -->
- <release version="0.1" date="unreleased">
- <!-- Some action types have associated images. By default, images are
- defined for 'add', 'fix', 'remove', 'update' and 'hack'. If you add
- src/documentation/resources/images/<foo>.jpg images, these will
- automatically be used for entries of type <foo>. -->
-
- <action dev="JB" type="add" context="admin">
- Initial Import
- </action>
- <!-- Sample action:
- <action dev="JB" type="fix" due-to="Joe Contributor"
- due-to-email="[email protected]" fixes-bug="123">
- Fixed a bug in the Foo class.
- </action>
- -->
- </release>
- </changes>
-
- <todo>
- <actions priority="high">
- <action context="docs" dev="JB">
- Customize this template project with your project's details. This
- TODO list is generated from 'status.xml'.
- </action>
- <action context="docs" dev="JB">
- Add lots of content. XML content goes in
- <code>src/documentation/content/xdocs</code>, or wherever the
- <code>${project.xdocs-dir}</code> property (set in
- <code>forrest.properties</code>) points.
- </action>
- <action context="feedback" dev="JB">
- Mail <link
- href="mailto:[email protected]">[email protected]</link>
- with feedback.
- </action>
- </actions>
- <!-- Add todo items. @context is an arbitrary string. Eg:
- <actions priority="high">
- <action context="code" dev="SN">
- </action>
- </actions>
- <actions priority="medium">
- <action context="docs" dev="open">
- </action>
- </actions>
- -->
- </todo>
-
-</status>
diff --git a/src/test/crawl-tests.xml b/src/test/crawl-tests.xml
index 87eeb2c42..deb4c3af0 100644
--- a/src/test/crawl-tests.xml
+++ b/src/test/crawl-tests.xml
@@ -6,7 +6,7 @@
<property>
<name>plugin.includes</name>
- <value>parse-html|protocol-http|urlfilter-suffix|scoring-opic</value>
+ <value>parse-tika|protocol-http|urlfilter-suffix|scoring-opic</value>
<description>Enable required plugins.</description>
</property>
diff --git a/src/test/nutch-site.xml b/src/test/nutch-site.xml
index dd408739d..92c08c40d 100644
--- a/src/test/nutch-site.xml
+++ b/src/test/nutch-site.xml
@@ -16,4 +16,10 @@
<description>TCP port used during junit testing.</description>
</property>
+<property>
+ <name>storage.data.store.class</name>
+ <value>org.gora.sql.store.SqlStore</value>
+ <description>Default class for storing data</description>
+</property>
+
</configuration>
diff --git a/src/test/org/apache/nutch/crawl/TestGenerator.java b/src/test/org/apache/nutch/crawl/TestGenerator.java
index 4e3a2b58c..768e72a36 100644
--- a/src/test/org/apache/nutch/crawl/TestGenerator.java
+++ b/src/test/org/apache/nutch/crawl/TestGenerator.java
@@ -21,11 +21,11 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
+import junit.framework.TestCase;
+
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.hbase.HBaseClusterTestCase;
-import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.nutch.storage.Mark;
import org.apache.nutch.storage.WebPage;
import org.apache.nutch.util.TableUtil;
@@ -44,7 +44,7 @@ import org.gora.store.DataStoreFactory;
* @param <URLWebPage>
*
*/
-public class TestGenerator extends HBaseClusterTestCase {
+public class TestGenerator extends TestCase {
public static final Log LOG = LogFactory.getLog(TestGenerator.class);
@@ -54,9 +54,10 @@ public class TestGenerator extends HBaseClusterTestCase {
@Override
protected void setUp() throws Exception {
- conf = CrawlDBTestUtil.createConfiguration();
- super.conf = new HBaseConfiguration(conf);
super.setUp();
+ conf = CrawlDBTestUtil.createConfiguration();
+ DataStoreFactory.properties.setProperty("gora.sqlstore.jdbc.driver","org.hsqldb.jdbcDriver");
+ DataStoreFactory.properties.setProperty("gora.gora.sqlstore.jdbc.url","jdbc:hsqldb:hsql://localhost/nutchtest");
webPageStore = DataStoreFactory.getDataStore(HBaseStore.class,
String.class, WebPage.class);
}
@@ -65,7 +66,6 @@ public class TestGenerator extends HBaseClusterTestCase {
protected void tearDown() throws Exception {
webPageStore.close();
super.tearDown();
- super.cluster.shutdown();
}
/**
diff --git a/src/test/org/apache/nutch/crawl/TestInjector.java b/src/test/org/apache/nutch/crawl/TestInjector.java
index 1bf04457f..49bceaefe 100644
--- a/src/test/org/apache/nutch/crawl/TestInjector.java
+++ b/src/test/org/apache/nutch/crawl/TestInjector.java
@@ -21,19 +21,20 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
+import junit.framework.TestCase;
+
import org.apache.avro.util.Utf8;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
-import org.apache.hadoop.hbase.HBaseClusterTestCase;
-import org.apache.hadoop.hbase.util.Bytes;
import org.apache.nutch.storage.WebPage;
import org.apache.nutch.util.TableUtil;
-import org.gora.hbase.store.HBaseStore;
import org.gora.query.Query;
import org.gora.query.Result;
+import org.gora.sql.store.SqlStore;
import org.gora.store.DataStore;
import org.gora.store.DataStoreFactory;
+import org.gora.util.ByteUtils;
import org.junit.Before;
/**
@@ -43,7 +44,7 @@ import org.junit.Before;
*
* @author nutch-dev <nutch-dev at lucene.apache.org>
*/
-public class TestInjector extends HBaseClusterTestCase {
+public class TestInjector extends TestCase {
private Configuration conf;
private FileSystem fs;
@@ -60,7 +61,9 @@ public class TestInjector extends HBaseClusterTestCase {
fs = FileSystem.get(conf);
if (fs.exists(urlPath))
fs.delete(urlPath, false);
- webPageStore = DataStoreFactory.getDataStore(HBaseStore.class,
+ DataStoreFactory.properties.setProperty("gora.sqlstore.jdbc.driver","org.hsqldb.jdbcDriver");
+ DataStoreFactory.properties.setProperty("gora.gora.sqlstore.jdbc.url","jdbc:hsqldb:hsql://localhost/nutchtest");
+ webPageStore = DataStoreFactory.getDataStore(SqlStore.class,
String.class, WebPage.class);
}
@@ -135,7 +138,7 @@ public class TestInjector extends HBaseClusterTestCase {
ByteBuffer bb = page.getFromMetadata(new Utf8("custom.attribute"));
if (bb != null) {
representation += "\tnutch.score=" + (int) fscore;
- representation += "\tcustom.attribute=" + Bytes.toString(bb.array());
+ representation += "\tcustom.attribute=" + ByteUtils.toString(bb.array());
}
read.add(representation);
}
diff --git a/src/test/org/apache/nutch/parse/TestParserFactory.java b/src/test/org/apache/nutch/parse/TestParserFactory.java
index 87cd2b3a9..08c96e537 100644
--- a/src/test/org/apache/nutch/parse/TestParserFactory.java
+++ b/src/test/org/apache/nutch/parse/TestParserFactory.java
@@ -50,9 +50,9 @@ public class TestParserFactory extends TestCase {
/** Unit test for <code>getExtensions(String)</code> method. */
public void testGetExtensions() throws Exception {
Extension ext = (Extension)parserFactory.getExtensions("text/html").get(0);
- assertEquals("parse-html", ext.getDescriptor().getPluginId());
+ assertEquals("parse-tika", ext.getDescriptor().getPluginId());
ext = (Extension) parserFactory.getExtensions("text/html; charset=ISO-8859-1").get(0);
- assertEquals("parse-html", ext.getDescriptor().getPluginId());
+ assertEquals("parse-tika", ext.getDescriptor().getPluginId());
ext = (Extension)parserFactory.getExtensions("foo/bar").get(0);
assertEquals("parse-tika", ext.getDescriptor().getPluginId());
}
@@ -62,14 +62,14 @@ public class TestParserFactory extends TestCase {
Parser [] parsers = parserFactory.getParsers("text/html", "http://foo.com");
assertNotNull(parsers);
assertEquals(1, parsers.length);
- assertEquals("org.apache.nutch.parse.html.HtmlParser",
+ assertEquals("org.apache.nutch.parse.tika.TikaParser",
parsers[0].getClass().getName());
parsers = parserFactory.getParsers("text/html; charset=ISO-8859-1",
"http://foo.com");
assertNotNull(parsers);
assertEquals(1, parsers.length);
- assertEquals("org.apache.nutch.parse.html.HtmlParser",
+ assertEquals("org.apache.nutch.parse.tika.TikaParser",
parsers[0].getClass().getName());
parsers = parserFactory.getParsers("application/x-javascript",
diff --git a/src/test/org/apache/nutch/parse/parse-plugin-test.xml b/src/test/org/apache/nutch/parse/parse-plugin-test.xml
index 3aee73087..b748905dc 100644
--- a/src/test/org/apache/nutch/parse/parse-plugin-test.xml
+++ b/src/test/org/apache/nutch/parse/parse-plugin-test.xml
@@ -34,12 +34,6 @@
! it should not block the process and then the next one is used
!-->
<plugin id="parse-plugin-that-not-exist"/>
- <plugin id="parse-html"/>
- </mimeType>
-
- <mimeType name="text/plain">
- <!-- Test that an extension-id can be directly used here -->
- <plugin id="org.apache.nutch.parse.tika.TikaParser"/>
</mimeType>
<mimeType name="application/x-javascript">
@@ -47,14 +41,13 @@
</mimeType>
<mimeType name="text/rss">
- <plugin id="parse-rss"/>
+ <!-- Test that an extension-id can be directly used here -->
+ <plugin id="org.apache.nutch.parse.rss.RSSParser"/>
</mimeType>
<!-- alias mappings for parse-xxx names to the actual extension implementation
ids described in each plugin's plugin.xml file -->
<aliases>
- <alias name="parse-html"
- extension-id="org.apache.nutch.parse.html.HtmlParser" />
<alias name="parse-js"
extension-id="JSParser" />
<alias name="parse-rss"
diff --git a/src/test/org/apache/nutch/util/TestNodeWalker.java b/src/test/org/apache/nutch/util/TestNodeWalker.java
index e2f6b070d..fc4862d3f 100644
--- a/src/test/org/apache/nutch/util/TestNodeWalker.java
+++ b/src/test/org/apache/nutch/util/TestNodeWalker.java
@@ -58,7 +58,10 @@ public class TestNodeWalker extends TestCase {
public void testSkipChildren() {
DOMParser parser= new DOMParser();
+
try {
+ parser.setFeature("http://xml.org/sax/features/validation", false);
+ parser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
parser.parse(new InputSource(new ByteArrayInputStream(WEBPAGE.getBytes())));
} catch (Exception e) {
e.printStackTrace();