You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by th...@apache.org on 2008/02/20 18:58:45 UTC
svn commit: r629545 [1/3] - in /labs/droids/trunk: ./ docs/ docs/images/
docs/themes/ docs/themes/images/ src/documentation/
src/documentation/classes/ src/documentation/conf/
src/documentation/content/ src/documentation/content/xdocs/
src/documentatio...
Author: thorsten
Date: Wed Feb 20 09:58:31 2008
New Revision: 629545
URL: http://svn.apache.org/viewvc?rev=629545&view=rev
Log:
Adding asic documentation for droids
Added:
labs/droids/trunk/docs/
labs/droids/trunk/docs/broken-links.xml (with props)
labs/droids/trunk/docs/favicon.ico (with props)
labs/droids/trunk/docs/images/
labs/droids/trunk/docs/images/built-with-forrest-button.png (with props)
labs/droids/trunk/docs/images/droid-logo.png (with props)
labs/droids/trunk/docs/index.dispatcher.css (with props)
labs/droids/trunk/docs/index.html (with props)
labs/droids/trunk/docs/index.pdf (with props)
labs/droids/trunk/docs/linkmap.dispatcher.css (with props)
labs/droids/trunk/docs/linkmap.html (with props)
labs/droids/trunk/docs/linkmap.pdf (with props)
labs/droids/trunk/docs/locationmap.xml (with props)
labs/droids/trunk/docs/sample.dispatcher.css (with props)
labs/droids/trunk/docs/sample.html (with props)
labs/droids/trunk/docs/sample.pdf (with props)
labs/droids/trunk/docs/themes/
labs/droids/trunk/docs/themes/breadcrumbs.js (with props)
labs/droids/trunk/docs/themes/common.css (with props)
labs/droids/trunk/docs/themes/droids.css (with props)
labs/droids/trunk/docs/themes/fontsize.js (with props)
labs/droids/trunk/docs/themes/getBlank.js (with props)
labs/droids/trunk/docs/themes/images/
labs/droids/trunk/docs/themes/images/chapter.gif (with props)
labs/droids/trunk/docs/themes/images/chapter_open.gif (with props)
labs/droids/trunk/docs/themes/images/current.gif (with props)
labs/droids/trunk/docs/themes/images/header_white_line.gif (with props)
labs/droids/trunk/docs/themes/images/instruction_arrow.png (with props)
labs/droids/trunk/docs/themes/images/page.gif (with props)
labs/droids/trunk/docs/themes/images/pdfdoc.gif (with props)
labs/droids/trunk/docs/themes/images/roundcorner-b-l-15-bg294563-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-b-l-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-b-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-b-r-15-bg294563-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-b-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-b-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-b-r-5-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-t-l-5-bg294563-strokeB5C7E7-fgB5C7E7.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-t-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bg294563-strokeB5C7E7-fgB5C7E7.png (with props)
labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png (with props)
labs/droids/trunk/docs/themes/images/spacer.gif (with props)
labs/droids/trunk/docs/themes/images/top_bg.jpg (with props)
labs/droids/trunk/docs/themes/leather-dev.css (with props)
labs/droids/trunk/docs/themes/menu.js (with props)
labs/droids/trunk/docs/themes/pelt.print.css (with props)
labs/droids/trunk/docs/themes/pelt.screen.css (with props)
labs/droids/trunk/src/documentation/
labs/droids/trunk/src/documentation/classes/
labs/droids/trunk/src/documentation/classes/CatalogManager.properties (with props)
labs/droids/trunk/src/documentation/conf/
labs/droids/trunk/src/documentation/content/
labs/droids/trunk/src/documentation/content/locationmap.xml (with props)
labs/droids/trunk/src/documentation/content/xdocs/
labs/droids/trunk/src/documentation/content/xdocs/favicon.ico (with props)
labs/droids/trunk/src/documentation/content/xdocs/images/
labs/droids/trunk/src/documentation/content/xdocs/images/group-logo.gif (with props)
labs/droids/trunk/src/documentation/content/xdocs/images/group.svg (with props)
labs/droids/trunk/src/documentation/content/xdocs/images/icon-e.png (with props)
labs/droids/trunk/src/documentation/content/xdocs/images/project-logo.gif (with props)
labs/droids/trunk/src/documentation/content/xdocs/images/project.svg (with props)
labs/droids/trunk/src/documentation/content/xdocs/images/usemap.gif (with props)
labs/droids/trunk/src/documentation/content/xdocs/index.xml (with props)
labs/droids/trunk/src/documentation/content/xdocs/sample.xml (with props)
labs/droids/trunk/src/documentation/content/xdocs/site.xml (with props)
labs/droids/trunk/src/documentation/content/xdocs/tabs.xml (with props)
labs/droids/trunk/src/documentation/resources/
labs/droids/trunk/src/documentation/resources/images/
labs/droids/trunk/src/documentation/resources/images/droid-logo.png (with props)
labs/droids/trunk/src/documentation/resources/images/project-logo.png (with props)
labs/droids/trunk/src/documentation/resources/schema/
labs/droids/trunk/src/documentation/resources/schema/catalog.xcat (with props)
labs/droids/trunk/src/documentation/resources/schema/hello-v10.dtd (with props)
labs/droids/trunk/src/documentation/resources/schema/symbols-project-v10.ent (with props)
labs/droids/trunk/src/documentation/resources/stylesheets/
labs/droids/trunk/src/documentation/resources/stylesheets/hello2document.xsl (with props)
labs/droids/trunk/src/documentation/resources/themes/
labs/droids/trunk/src/documentation/resources/themes/common/
labs/droids/trunk/src/documentation/resources/themes/common/css/
labs/droids/trunk/src/documentation/resources/themes/common/css/droids.css (with props)
labs/droids/trunk/src/documentation/resources/themes/common/html/
labs/droids/trunk/src/documentation/resources/themes/common/images/
labs/droids/trunk/src/documentation/resources/themes/common/images/top_bg.jpg (with props)
labs/droids/trunk/src/documentation/resources/themes/pelt/
labs/droids/trunk/src/documentation/resources/themes/pelt/panels/
labs/droids/trunk/src/documentation/resources/themes/pelt/panels/pelt-html.content-specific.panel.xml (with props)
labs/droids/trunk/src/documentation/resources/themes/pelt/panels/pelt-html.header.panel.xml (with props)
labs/droids/trunk/src/documentation/translations/
labs/droids/trunk/src/documentation/translations/langcode.xml (with props)
labs/droids/trunk/src/documentation/translations/languages_de.xml (with props)
labs/droids/trunk/src/documentation/translations/languages_en.xml (with props)
labs/droids/trunk/src/documentation/translations/languages_es.xml (with props)
labs/droids/trunk/src/documentation/translations/languages_fr.xml (with props)
labs/droids/trunk/src/documentation/translations/languages_nl.xml (with props)
labs/droids/trunk/src/documentation/translations/menu.xml (with props)
labs/droids/trunk/src/documentation/translations/menu_af.xml (with props)
labs/droids/trunk/src/documentation/translations/menu_de.xml (with props)
labs/droids/trunk/src/documentation/translations/menu_es.xml (with props)
labs/droids/trunk/src/documentation/translations/menu_fr.xml (with props)
labs/droids/trunk/src/documentation/translations/menu_it.xml (with props)
labs/droids/trunk/src/documentation/translations/menu_nl.xml (with props)
labs/droids/trunk/src/documentation/translations/menu_no.xml (with props)
labs/droids/trunk/src/documentation/translations/menu_ru.xml (with props)
labs/droids/trunk/src/documentation/translations/menu_sk.xml (with props)
labs/droids/trunk/src/documentation/translations/tabs.xml (with props)
labs/droids/trunk/src/documentation/translations/tabs_de.xml (with props)
labs/droids/trunk/src/documentation/translations/tabs_es.xml (with props)
labs/droids/trunk/src/documentation/translations/tabs_fr.xml (with props)
labs/droids/trunk/src/documentation/translations/tabs_nl.xml (with props)
Modified:
labs/droids/trunk/README.TXT
Modified: labs/droids/trunk/README.TXT
URL: http://svn.apache.org/viewvc/labs/droids/trunk/README.TXT?rev=629545&r1=629544&r2=629545&view=diff
==============================================================================
--- labs/droids/trunk/README.TXT (original)
+++ labs/droids/trunk/README.TXT Wed Feb 20 09:58:31 2008
@@ -3,64 +3,19 @@
by Thorsten Scherler <thorsten at apache.org>
-+-----------------------------------------------------------+
-| HEADSUP: |
-| !!! Please ONLY crawl localhost NEVER a internet site!!! |
-| The first implementation does not follow robots rules! |
-| DO NOT TRY ANY APACHE SITE! |
-+-----------------------------------------------------------+
+-----------------------------------------------------------+
| HEADSUP: |
-| The undelying api is in PoC state meaning totally open |
-| for discussion and HIGHLY likely to change whithout |
-| further notice. |
+| The undelying api is in early state meaning still open |
+| for discussion and likely to change. |
| |
-| The plugin implemented are as well in PoC state. |
+| The plugins implemented are in an even earlier state. |
| |
-| If you a brave soul subscribe to labs@labs.apache.org |
+| If you are a brave soul subscribe to labs@labs.apache.org |
| and let us know that you are developing with droids. |
| We then will try to stabilize the api with your feedback. |
+-----------------------------------------------------------+
-
- What is this?
- -------------
- Droids aims to be an intelligent standalone robot
- framework that allows to create robots as plugins, which can automatically seeks out
- relevant online information based on the user's specifications. For the core I took
- formally nutch, ripped out and modified the awesome plugin/extension framework.
-
- Anyhow this version will not be based on this framework but using Spring instead.
- The main reason is that Spring has become a standard.
-
- Droids makes it very easy to extend robots or write a new one.
- Why was it created?
- -------------------
- Mainly because of personal curiosity:
- The background of this work is that Cocoon trunk does not provide a
- crawler anymore and Forrest is based on it, meaning we cannot update
- anymore till we found a crawler replacement. Getting more involved in
- Solr and Nutch I see request for a generic standalone crawler.
-
-
- Requirements
- ************
-* Apache Ant version 1.7.0
-* JDK 1.5 or higher
-
- HEADSUP
- *******
- !!! Please ONLY crawl localhost NEVER a internet site!!!
- The parse-html plugin assumes that the incoming stream is valid xml!
- You will need to adjust the urlfilters to limit loops.
-
- Links / related projects
- -------------------------
- http://lucene.apache.org/nutch/ - Nutch web-search software
- http://www.robotstxt.org/wc/robots.html - The Web Robots Pages
- http://www.andreas-hess.info/programming/webcrawler/index.html
- http://java.sun.com/developer/technicalArticles/ThirdParty/WebCrawler/ - Writing a Web Crawler in the Java Programming Language
-http://svn.apache.org/repos/asf/httpcomponents/norobots-rfc/trunk/src/java/org/apache/http/norobots/
+Please see docs/index.html for more information.
Outro
-----
Added: labs/droids/trunk/docs/broken-links.xml
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/broken-links.xml?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/broken-links.xml (added)
+++ labs/droids/trunk/docs/broken-links.xml Wed Feb 20 09:58:31 2008
@@ -0,0 +1,2 @@
+<broken-links>
+</broken-links>
Propchange: labs/droids/trunk/docs/broken-links.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/favicon.ico
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/favicon.ico?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/favicon.ico
------------------------------------------------------------------------------
svn:mime-type = image/x-icon
Added: labs/droids/trunk/docs/images/built-with-forrest-button.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/images/built-with-forrest-button.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/images/built-with-forrest-button.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/images/droid-logo.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/images/droid-logo.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/images/droid-logo.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/index.dispatcher.css
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/index.dispatcher.css?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/index.dispatcher.css (added)
+++ labs/droids/trunk/docs/index.dispatcher.css Wed Feb 20 09:58:31 2008
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+/* branding-theme-profiler-theme: Pelt */
+#header .round-top-left-small {
+ background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+}
+#header .round-top-right-small {
+ background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+}
+#nav-main li {
+ background-image: url(themes/images/roundcorner-t-r-5-bg294563-strokeB5C7E7-fgB5C7E7.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+}
+#nav-main li a {
+ background-image: url(themes/images/roundcorner-t-l-5-bg294563-strokeB5C7E7-fgB5C7E7.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+}
+#nav-main .current {
+ background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+}
+#nav-main .current a {
+ background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+}
+#roundbottom {
+ background-image: url(themes/images/roundcorner-b-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: bottom right;
+}
+#roundbottomLeft {
+ background-image: url(themes/images/roundcorner-b-l-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: bottom left;
+}
+
+
+
\ No newline at end of file
Propchange: labs/droids/trunk/docs/index.dispatcher.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/index.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/index.html?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/index.html (added)
+++ labs/droids/trunk/docs/index.html Wed Feb 20 09:58:31 2008
@@ -0,0 +1,269 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <link href="themes/common.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" />
+ <link href="themes/leather-dev.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" />
+ <link href="themes/pelt.screen.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" />
+
+ <link href="index.dispatcher.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" />
+ <link href="themes/pelt.print.css" media="print" rel="stylesheet" title="Pelt" type="text/css" />
+ <style type="text/css">/* Extra css */
+p.quote {
+ margin-left: 2em;
+ padding: .5em;
+ background-color: #f0f0f0;
+ font-family: monospace;
+}</style>
+ <meta content="Apache Forrest" name="Generator" />
+<meta content="0.9-dev" name="Forrest-version" />
+<meta content="pelt" name="Forrest-theme-name" />
+<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
+<!--+ |start navigation links +-->
+<link href="index.html" rel="Index" title="Index..." />
+<link href="linkmap.html" rel="CONTENTS" title="Site map..." />
+<link href="sample.html" rel="NEXT" title="Install/Use" />
+<link href="linkmap.html" rel="LAST" title="Documentation ToC" />
+<!--+ |end navigation links +-->
+<!--+|start favicon +-->
+<link href="favicon.ico" rel="shortcut icon" />
+<!--+|start favicon +-->
+ <link href="themes/droids.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" />
+ <script src="themes/getBlank.js" type="text/javascript">Â </script>
+<script src="themes/menu.js" type="text/javascript">Â </script>
+<script src="themes/fontsize.js" type="text/javascript">Â </script>
+<!--+ |start content-title +-->
+<title>Welcome to Apache Droids</title>
+<!--+ |end content-title +-->
+</head>
+<body>
+<div id="container">
+<!--+
+ | start breadtrail
+ +-->
+<div class="breadtrail">
+<a href="http://labs.apache.org/">Apache Labs</a>
+<script src="themes/breadcrumbs.js" type="text/javascript">Â </script>
+</div>
+<!--+
+ | end breadtrail
+ +-->
+<div id="header">
+<div id="branding-tagline-name">new seed</div>
+<div id="branding-tagline-tagline">powered by the
+ dispatcher</div>
+<div class="logo">
+<!--+
+ |start Logo
+ +-->
+<a href="http://svn.apache.org/repos/asf/labs/droids/">
+<img alt="Apache Droids Logo" class="logoImage" src="images/droid-logo.png" title="Apache Droids" width="115px" />
+</a>
+<!--+
+ |end group Logo
+ +-->
+</div>
+<!--+
+ |start Search
+ +-->
+<div class="searchbox">
+<div class="round-top-left-small">
+<div class="round-top-right-small">
+<div class="search-input">
+<form action="http://www.google.com/search" method="get">
+<div class="search-hidden">
+<input name="sitesearch" type="hidden" value="mydomain" />
+</div>
+<div class="search-field">
+<input name="q" onblur="getPrompt(this, 'Search the site with google');" onfocus="getBlank(this, 'Search the site with google');" size="25" type="text" value="Search the site with google" />
+</div>
+<div class="search-submit">
+<input name="Search" type="submit" value="Search" />
+</div>
+</form>
+</div>
+</div>
+</div>
+</div>
+<!--+ |end search +-->
+<div id="nav-main-hook">
+<!--+ |start Tabs new +-->
+<ul id="nav-main">
+<li class="current">
+<a class="base-selected" href="index.html">Home</a>
+</li>
+<li>
+<a class="base-not-selected" href="http://labs.apache.org">Apache Labs</a>
+</li>
+</ul>
+<!--+ |end Tabs +-->
+<!--+
+ |start nav-main-sub
+ +-->
+<!--+
+ |end Endtabs
+ +-->
+<div id="publishedStrip"> <script type="text/javascript">document.write("Last Published:Â " + document.lastModified);</script>
+</div>
+</div>
+</div>
+<div id="page">
+<div id="leftbar">
+<!--+ |start 0 menu +-->
+<!--+ |start Menu +-->
+<div id="nav-section">
+<ul>
+<li class="pagegroupselected" id="menu_selected_1.1Title">
+<span onclick="SwitchMenu('menu_selected_1.1')">About</span>
+<ul class="selectedmenuitemgroup" id="menu_selected_1.1">
+<li class="menupage">
+<div class="menupagetitle">Index</div>
+</li>
+<li class="menuitem">
+<a href="sample.html" title="You find here how to personalize your own Apache Droids.">Install/Use</a>
+</li>
+<li class="menuitem">
+<a href="linkmap.html" title="Table of Contents for Apache Droids">Documentation ToC</a>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!--+ |end menu +-->
+<!--+ |start content-motd-page +-->
+<!--+ |end content-motd-page +-->
+<div id="roundbottom">
+<div id="roundbottomLeft">
+<img alt="spacer" class="corner" src="themes/images/spacer.gif" />
+</div>
+</div>
+</div>
+<div id="content">
+<div id="export-link">
+<a class="format" href="index.pdf">
+<img alt="PDF - icon" class="skin" src="themes/images/pdfdoc.gif" />
+<span class="caption">PDF</span>
+</a>
+</div>
+<div class="trail">
+<script type="text/javascript">ndeSetTextSize();</script>
+ Font size:
+ Â <input class="resetfont" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" type="button" value="Reset" />
+ Â <input class="smallerfont" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" type="button" value="-a" />
+ Â <input class="biggerfont" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" type="button" value="+a" />
+</div>
+<!--+ |start content-title +-->
+<h1 class="content-title">Welcome to Apache Droids</h1>
+<!--+ |end content-title +-->
+<!--+ |start content-abstract +-->
+<!--+ |end content-abstract +-->
+<!--+ |start content-minitoc +-->
+<div id="content-minitoc-area">
+<ul class="minitoc">
+<li>
+<a href="#what">What is this?</a>
+</li>
+<li>
+<a href="#Why+was+it+created%3F">Why was it created?</a>
+</li>
+<li>
+<a href="#Requirements">Requirements</a>
+</li>
+<li>
+<a href="#Links+%2F+related+projects">Links / related projects</a>
+</li>
+</ul>
+</div>
+<!--+ |end minitoc +-->
+<!--+ |start content-main +-->
+<a name="what" title="What is this?"> </a>
+<h2 class="underlined_10">What is this?</h2>
+<div class="section">
+<p>Droids aims to be an intelligent standalone robot framework that allows to create
+ robots as plugins, which can automatically seeks out relevant online information
+ based on the user's specifications. For the core I formally took nutch, ripped out and
+ modified the plugin/extension framework. </p>
+<p> However the current is not based on this framework but is using Spring instead. The
+ main reason is that Spring has become a standard and helps to make Droids as extensible
+ as possible. </p>
+<p>Droids makes it very easy to extend existing robots or write a new one from scratch.
+ </p>
+</div>
+<a name="Why+was+it+created%3F" title="Why was it created?"> </a>
+<h2 class="underlined_10">Why was it created?</h2>
+<div class="section">
+<p>Mainly because of personal curiosity: The background of this work is that Cocoon
+ trunk does not provide a crawler anymore and Forrest is based on it, meaning we cannot
+ update anymore till we found a crawler replacement. Getting more involved in Solr and
+ Nutch I see request for a generic standalone crawler. </p>
+</div>
+<a name="Requirements" title="Requirements"> </a>
+<h2 class="underlined_10">Requirements</h2>
+<div class="section">
+<ul>
+ <li>Apache Ant version 1.7.0 or higher</li>
+ <li>JDK 1.5 or higher</li>
+ </ul>
+</div>
+<div class="warning">
+<div class="label">HEADSUP</div>
+<div class="content"> !!! Please ONLY crawl localhost NEVER a internet site when you
+ test the first time!!! You will need to adjust the urlfilters to limit loops. </div>
+</div>
+<a name="Links+%2F+related+projects" title="Links / related projects"> </a>
+<h2 class="underlined_10">Links / related projects</h2>
+<div class="section">
+<ul>
+ <li>
+ <a href="http://lucene.apache.org/nutch/">Nutch web-search software</a>
+ </li>
+ <li>
+ <a href="http://www.robotstxt.org/wc/robots.html">The Web Robots Pages</a>
+ </li>
+ <li>
+ <a href="http://www.andreas-hess.info/programming/webcrawler/index.html">
+ Programming webcrawler</a>
+ </li>
+ <li>
+ <a href="http://www.andreas-hess.info/programming/webcrawler/index.html">
+ Writing a Web Crawler in the Java Programming Language</a>
+ </li>
+ <li>
+ <a href="http://svn.apache.org/repos/asf/httpcomponents/norobots-rfc/trunk/src/java/org/apache/http/norobots/">
+ Norbert</a>
+ </li>
+ </ul>
+</div>
+<!--+ |end content-main +-->
+</div>
+</div>
+<div id="footer">
+<div class="lastmodified">
+<script type="text/javascript">document.write("Last Published:Â " + document.lastModified);</script>
+</div>
+<div class="copyright">
+ Copyright ©
+ 2002-2008 <a href="http://example.org">The Example Organisation.</a> </div>
+<!--+ |start compliance links +-->
+<div id="siteinfo-compliance-links">
+<a href="http://validator.w3.org/check?uri=referer">
+<img alt="Valid XHTML 1.0!" height="31" src="http://www.w3.org/Icons/valid-xhtml10" width="88" />
+</a>
+<a href="http://jigsaw.w3.org/css-validator/check/referer">
+<img alt="Valid CSS!" src="http://jigsaw.w3.org/css-validator/images/vcss" style="border:0;width:88px;height:31px" />
+</a>
+</div>
+<!--+ |end compliance links +-->
+<!-- |start siteinfo-credits -->
+<div id="credit">
+<a href="http://forrest.apache.org/">
+<img alt="Built with Apache Forrest - logo" src="images/built-with-forrest-button.png" style="width: 88px;height: 31px;" title="Built with Apache Forrest" />
+</a>
+<a href="http://cocoon.apache.org/">
+<img alt="Built with Cocoon - logo" src="http://forrest.apache.org/images/built-with-cocoon.gif" style="" title="Built with Cocoon" />
+</a>
+</div>
+<!--+ |end siteinfo-credits +-->
+</div>
+</div>
+</body>
+</html>
Propchange: labs/droids/trunk/docs/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/index.pdf
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/index.pdf?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/index.pdf
------------------------------------------------------------------------------
svn:mime-type = application/pdf
Added: labs/droids/trunk/docs/linkmap.dispatcher.css
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/linkmap.dispatcher.css?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/linkmap.dispatcher.css (added)
+++ labs/droids/trunk/docs/linkmap.dispatcher.css Wed Feb 20 09:58:31 2008
@@ -0,0 +1,45 @@
+
+/* branding-theme-profiler-theme: Pelt */
+#header .round-top-left-small {
+ background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+}
+#header .round-top-right-small {
+ background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+}
+#nav-main li {
+ background-image: url(themes/images/roundcorner-t-r-5-bg294563-strokeB5C7E7-fgB5C7E7.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+}
+#nav-main li a {
+ background-image: url(themes/images/roundcorner-t-l-5-bg294563-strokeB5C7E7-fgB5C7E7.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+}
+#nav-main .current {
+ background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+}
+#nav-main .current a {
+ background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+}
+#roundbottom {
+ background-image: url(themes/images/roundcorner-b-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: bottom right;
+}
+#roundbottomLeft {
+ background-image: url(themes/images/roundcorner-b-l-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: bottom left;
+}
+
+
+
\ No newline at end of file
Propchange: labs/droids/trunk/docs/linkmap.dispatcher.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/linkmap.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/linkmap.html?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/linkmap.html (added)
+++ labs/droids/trunk/docs/linkmap.html Wed Feb 20 09:58:31 2008
@@ -0,0 +1,216 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <link href="themes/common.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" />
+ <link href="themes/leather-dev.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" />
+ <link href="themes/pelt.screen.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" />
+
+ <link href="linkmap.dispatcher.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" />
+ <link href="themes/pelt.print.css" media="print" rel="stylesheet" title="Pelt" type="text/css" />
+ <style type="text/css">/* Extra css */
+p.quote {
+ margin-left: 2em;
+ padding: .5em;
+ background-color: #f0f0f0;
+ font-family: monospace;
+}</style>
+ <meta content="Apache Forrest" name="Generator" />
+<meta content="0.9-dev" name="Forrest-version" />
+<meta content="pelt" name="Forrest-theme-name" />
+<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
+<!--+ |start navigation links +-->
+<link href="index.html" rel="Index" title="Index..." />
+<link href="linkmap.html" rel="CONTENTS" title="Site map..." />
+<link href="sample.html" rel="PREVIOUS" title="Install/Use" />
+<link href="index.html" rel="FIRST" title="Index" />
+<!--+ |end navigation links +-->
+<!--+|start favicon +-->
+<link href="favicon.ico" rel="shortcut icon" />
+<!--+|start favicon +-->
+ <link href="themes/droids.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" />
+ <script src="themes/getBlank.js" type="text/javascript">Â </script>
+<script src="themes/menu.js" type="text/javascript">Â </script>
+<script src="themes/fontsize.js" type="text/javascript">Â </script>
+<!--+ |start content-title +-->
+<title>Site Linkmap Table of Contents</title>
+<!--+ |end content-title +-->
+</head>
+<body>
+<div id="container">
+<!--+
+ | start breadtrail
+ +-->
+<div class="breadtrail">
+<a href="http://labs.apache.org/">Apache Labs</a>
+<script src="themes/breadcrumbs.js" type="text/javascript">Â </script>
+</div>
+<!--+
+ | end breadtrail
+ +-->
+<div id="header">
+<div id="branding-tagline-name">new seed</div>
+<div id="branding-tagline-tagline">powered by the
+ dispatcher</div>
+<div class="logo">
+<!--+
+ |start Logo
+ +-->
+<a href="http://svn.apache.org/repos/asf/labs/droids/">
+<img alt="Apache Droids Logo" class="logoImage" src="images/droid-logo.png" title="Apache Droids" width="115px" />
+</a>
+<!--+
+ |end group Logo
+ +-->
+</div>
+<!--+
+ |start Search
+ +-->
+<div class="searchbox">
+<div class="round-top-left-small">
+<div class="round-top-right-small">
+<div class="search-input">
+<form action="http://www.google.com/search" method="get">
+<div class="search-hidden">
+<input name="sitesearch" type="hidden" value="mydomain" />
+</div>
+<div class="search-field">
+<input name="q" onblur="getPrompt(this, 'Search the site with google');" onfocus="getBlank(this, 'Search the site with google');" size="25" type="text" value="Search the site with google" />
+</div>
+<div class="search-submit">
+<input name="Search" type="submit" value="Search" />
+</div>
+</form>
+</div>
+</div>
+</div>
+</div>
+<!--+ |end search +-->
+<div id="nav-main-hook">
+<!--+ |start Tabs new +-->
+<ul id="nav-main">
+<li class="current">
+<a class="base-selected" href="index.html">Home</a>
+</li>
+<li>
+<a class="base-not-selected" href="http://labs.apache.org">Apache Labs</a>
+</li>
+</ul>
+<!--+ |end Tabs +-->
+<!--+
+ |start nav-main-sub
+ +-->
+<!--+
+ |end Endtabs
+ +-->
+<div id="publishedStrip"> <script type="text/javascript">document.write("Last Published:Â " + document.lastModified);</script>
+</div>
+</div>
+</div>
+<div id="page">
+<div id="leftbar">
+<!--+ |start 0 menu +-->
+<!--+ |start Menu +-->
+<div id="nav-section">
+<ul>
+<li class="pagegroupselected" id="menu_selected_1.1Title">
+<span onclick="SwitchMenu('menu_selected_1.1')">About</span>
+<ul class="selectedmenuitemgroup" id="menu_selected_1.1">
+<li class="menuitem">
+<a href="index.html" title="Welcome to Apache Droids">Index</a>
+</li>
+<li class="menuitem">
+<a href="sample.html" title="You find here how to personalize your own Apache Droids.">Install/Use</a>
+</li>
+<li class="menupage">
+<div class="menupagetitle">Documentation ToC</div>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!--+ |end menu +-->
+<!--+ |start content-motd-page +-->
+<!--+ |end content-motd-page +-->
+<div id="roundbottom">
+<div id="roundbottomLeft">
+<img alt="spacer" class="corner" src="themes/images/spacer.gif" />
+</div>
+</div>
+</div>
+<div id="content">
+<div id="export-link">
+<a class="format" href="linkmap.pdf">
+<img alt="PDF - icon" class="skin" src="themes/images/pdfdoc.gif" />
+<span class="caption">PDF</span>
+</a>
+</div>
+<div class="trail">
+<script type="text/javascript">ndeSetTextSize();</script>
+ Font size:
+ Â <input class="resetfont" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" type="button" value="Reset" />
+ Â <input class="smallerfont" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" type="button" value="-a" />
+ Â <input class="biggerfont" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" type="button" value="+a" />
+</div>
+<!--+ |start content-title +-->
+<h1 class="content-title">Site Linkmap Table of Contents</h1>
+<!--+ |end content-title +-->
+<!--+ |start content-abstract +-->
+<!--+ |end content-abstract +-->
+<!--+ |start content-minitoc +-->
+<!--+ |end minitoc +-->
+<!--+ |start content-main +-->
+<p>
+ This is a map of the complete site and its structure.
+ </p>
+<ul>
+<li>
+<a>Apache Droids</a>Â Â ___________________Â Â <em>site</em>
+</li>
+<ul>
+ <ul>
+<li>
+<a>About</a>Â Â ___________________Â Â <em>about</em>
+</li>
+<ul>
+ <ul>
+<li>
+<a href="index.html">Index</a>Â Â ___________________Â Â <em>index</em>Â : Welcome to Apache Droids</li>
+</ul>
+ <ul>
+<li>
+<a href="sample.html">Install/Use</a>Â Â ___________________Â Â <em>sample</em>Â : You find here how to personalize your own Apache Droids.</li>
+</ul>
+ <ul>
+<li>
+<a href="linkmap.html">Documentation ToC</a>Â Â ___________________Â Â <em>linkmap</em>Â : Table of Contents for Apache Droids</li>
+</ul>
+ </ul>
+</ul>
+
+
+</ul>
+</ul>
+<!--+ |end content-main +-->
+</div>
+</div>
+<div id="footer">
+<div class="lastmodified">
+<script type="text/javascript">document.write("Last Published:Â " + document.lastModified);</script>
+</div>
+<div class="copyright">
+ Copyright ©
+ 2002-2008 <a href="http://example.org">The Example Organisation.</a> </div>
+<!--+ |start compliance links +-->
+<div id="siteinfo-compliance-links">
+<a href="http://validator.w3.org/check?uri=referer">
+<img alt="Valid XHTML 1.0!" height="31" src="http://www.w3.org/Icons/valid-xhtml10" width="88" />
+</a>
+<a href="http://jigsaw.w3.org/css-validator/check/referer">
+<img alt="Valid CSS!" src="http://jigsaw.w3.org/css-validator/images/vcss" style="border:0;width:88px;height:31px" />
+</a>
+</div>
+<!--+ |end compliance links +-->
+</div>
+</div>
+</body>
+</html>
Propchange: labs/droids/trunk/docs/linkmap.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/linkmap.pdf
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/linkmap.pdf?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/linkmap.pdf
------------------------------------------------------------------------------
svn:mime-type = application/pdf
Added: labs/droids/trunk/docs/locationmap.xml
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/locationmap.xml?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/locationmap.xml (added)
+++ labs/droids/trunk/docs/locationmap.xml Wed Feb 20 09:58:31 2008
@@ -0,0 +1,72 @@
+<?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.
+-->
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+ <components>
+ <matchers default="lm">
+ <matcher name="lm" src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+ </matchers>
+<!--
+ * Can contain any sitemap selector with the following syntax. *
+ <selectors default="exists">
+ <selector name="exists" logger="sitemap.selector.exists"
+ src="org.apache.forrest.sourceexists.SourceExistsSelector" />
+ </selectors>
+ -->
+ </components>
+<!--
+ * Can contain a mount statement as a sibling to components and locator *
+ <mount src="somelocation.xml"/>
+ -->
+ <locator>
+<!--
+ * Can contain a mount within a selector where a selector is valid.
+ <select>
+ <mount src="somelocation.xml"/>
+ </select>
+ -->
+ <match pattern="project.rewrite.**">
+ <location src="http://cocoon.apache.org/{1}.html"/>
+ </match>
+ <match pattern="project.remote.**.xml">
+ <location src="http://svn.apache.org/repos/asf/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/{1}.xml"/>
+ </match>
+<!--
+ * Can use a selector inside a match. *
+ <match pattern="somepattern/**">
+ <select>
+ <location src="first-location-attempted"/>
+ <location src="second-location-attempted"/>
+ <location src="third-location-attepted"/>
+ </select>
+ </match>
+ -->
+<!--
+ To locate all your source documents in a slide repository you can do:
+
+ <match pattern="tabs.xml">
+ <location src="http://127.0.0.1:8080/slide/files/tabs.xml"/>
+ </match>
+ <match pattern="site.xml">
+ <location src="http://127.0.0.1:8080/slide/files/site.xml"/>
+ </match>
+ <match pattern="**.xml">
+ <location src="http://127.0.0.1:8080/slide/files/{1}.xml"/>
+ </match>
+ -->
+ </locator>
+</locationmap>
Propchange: labs/droids/trunk/docs/locationmap.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/sample.dispatcher.css
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/sample.dispatcher.css?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/sample.dispatcher.css (added)
+++ labs/droids/trunk/docs/sample.dispatcher.css Wed Feb 20 09:58:31 2008
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+/* branding-theme-profiler-theme: Pelt */
+#header .round-top-left-small {
+ background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+}
+#header .round-top-right-small {
+ background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+}
+#nav-main li {
+ background-image: url(themes/images/roundcorner-t-r-5-bg294563-strokeB5C7E7-fgB5C7E7.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+}
+#nav-main li a {
+ background-image: url(themes/images/roundcorner-t-l-5-bg294563-strokeB5C7E7-fgB5C7E7.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+}
+#nav-main .current {
+ background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+}
+#nav-main .current a {
+ background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+}
+#roundbottom {
+ background-image: url(themes/images/roundcorner-b-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: bottom right;
+}
+#roundbottomLeft {
+ background-image: url(themes/images/roundcorner-b-l-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png);
+ background-repeat: no-repeat;
+ background-position: bottom left;
+}
+
+
+
\ No newline at end of file
Propchange: labs/droids/trunk/docs/sample.dispatcher.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/sample.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/sample.html?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/sample.html (added)
+++ labs/droids/trunk/docs/sample.html Wed Feb 20 09:58:31 2008
@@ -0,0 +1,247 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <link href="themes/common.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" />
+ <link href="themes/leather-dev.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" />
+ <link href="themes/pelt.screen.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" />
+
+ <link href="sample.dispatcher.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" />
+ <link href="themes/pelt.print.css" media="print" rel="stylesheet" title="Pelt" type="text/css" />
+ <style type="text/css">/* Extra css */
+p.quote {
+ margin-left: 2em;
+ padding: .5em;
+ background-color: #f0f0f0;
+ font-family: monospace;
+}</style>
+ <meta content="Apache Forrest" name="Generator" />
+<meta content="0.9-dev" name="Forrest-version" />
+<meta content="pelt" name="Forrest-theme-name" />
+<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
+<!--+ |start navigation links +-->
+<link href="index.html" rel="Index" title="Index..." />
+<link href="linkmap.html" rel="CONTENTS" title="Site map..." />
+<link href="linkmap.html" rel="NEXT" title="Documentation ToC" />
+<link href="index.html" rel="PREVIOUS" title="Index" />
+<link href="linkmap.html" rel="LAST" title="Documentation ToC" />
+<link href="index.html" rel="FIRST" title="Index" />
+<!--+ |end navigation links +-->
+<!--+|start favicon +-->
+<link href="favicon.ico" rel="shortcut icon" />
+<!--+|start favicon +-->
+ <link href="themes/droids.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" />
+ <script src="themes/getBlank.js" type="text/javascript">Â </script>
+<script src="themes/menu.js" type="text/javascript">Â </script>
+<script src="themes/fontsize.js" type="text/javascript">Â </script>
+<!--+ |start content-title +-->
+<title>How to use Apache Droids in your spring based project</title>
+<!--+ |end content-title +-->
+</head>
+<body>
+<div id="container">
+<!--+
+ | start breadtrail
+ +-->
+<div class="breadtrail">
+<a href="http://labs.apache.org/">Apache Labs</a>
+<script src="themes/breadcrumbs.js" type="text/javascript">Â </script>
+</div>
+<!--+
+ | end breadtrail
+ +-->
+<div id="header">
+<div id="branding-tagline-name">new seed</div>
+<div id="branding-tagline-tagline">powered by the
+ dispatcher</div>
+<div class="logo">
+<!--+
+ |start Logo
+ +-->
+<a href="http://svn.apache.org/repos/asf/labs/droids/">
+<img alt="Apache Droids Logo" class="logoImage" src="images/droid-logo.png" title="Apache Droids" width="115px" />
+</a>
+<!--+
+ |end group Logo
+ +-->
+</div>
+<!--+
+ |start Search
+ +-->
+<div class="searchbox">
+<div class="round-top-left-small">
+<div class="round-top-right-small">
+<div class="search-input">
+<form action="http://www.google.com/search" method="get">
+<div class="search-hidden">
+<input name="sitesearch" type="hidden" value="mydomain" />
+</div>
+<div class="search-field">
+<input name="q" onblur="getPrompt(this, 'Search the site with google');" onfocus="getBlank(this, 'Search the site with google');" size="25" type="text" value="Search the site with google" />
+</div>
+<div class="search-submit">
+<input name="Search" type="submit" value="Search" />
+</div>
+</form>
+</div>
+</div>
+</div>
+</div>
+<!--+ |end search +-->
+<div id="nav-main-hook">
+<!--+ |start Tabs new +-->
+<ul id="nav-main">
+<li class="current">
+<a class="base-selected" href="index.html">Home</a>
+</li>
+<li>
+<a class="base-not-selected" href="http://labs.apache.org">Apache Labs</a>
+</li>
+</ul>
+<!--+ |end Tabs +-->
+<!--+
+ |start nav-main-sub
+ +-->
+<!--+
+ |end Endtabs
+ +-->
+<div id="publishedStrip"> <script type="text/javascript">document.write("Last Published:Â " + document.lastModified);</script>
+</div>
+</div>
+</div>
+<div id="page">
+<div id="leftbar">
+<!--+ |start 0 menu +-->
+<!--+ |start Menu +-->
+<div id="nav-section">
+<ul>
+<li class="pagegroupselected" id="menu_selected_1.1Title">
+<span onclick="SwitchMenu('menu_selected_1.1')">About</span>
+<ul class="selectedmenuitemgroup" id="menu_selected_1.1">
+<li class="menuitem">
+<a href="index.html" title="Welcome to Apache Droids">Index</a>
+</li>
+<li class="menupage">
+<div class="menupagetitle">Install/Use</div>
+</li>
+<li class="menuitem">
+<a href="linkmap.html" title="Table of Contents for Apache Droids">Documentation ToC</a>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!--+ |end menu +-->
+<!--+ |start content-motd-page +-->
+<!--+ |end content-motd-page +-->
+<div id="roundbottom">
+<div id="roundbottomLeft">
+<img alt="spacer" class="corner" src="themes/images/spacer.gif" />
+</div>
+</div>
+</div>
+<div id="content">
+<div id="export-link">
+<a class="format" href="sample.pdf">
+<img alt="PDF - icon" class="skin" src="themes/images/pdfdoc.gif" />
+<span class="caption">PDF</span>
+</a>
+</div>
+<div class="trail">
+<script type="text/javascript">ndeSetTextSize();</script>
+ Font size:
+ Â <input class="resetfont" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" type="button" value="Reset" />
+ Â <input class="smallerfont" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" type="button" value="-a" />
+ Â <input class="biggerfont" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" type="button" value="+a" />
+</div>
+<!--+ |start content-title +-->
+<h1 class="content-title">How to use Apache Droids in your spring based project</h1>
+<!--+ |end content-title +-->
+<!--+ |start content-abstract +-->
+<!--+ |end content-abstract +-->
+<!--+ |start content-minitoc +-->
+<div id="content-minitoc-area">
+<ul class="minitoc">
+<li>
+<a href="#Download">Download</a>
+</li>
+<li>
+<a href="#Build">Build</a>
+</li>
+<li>
+<a href="#Crawling">Crawling</a>
+</li>
+</ul>
+</div>
+<!--+ |end minitoc +-->
+<!--+ |start content-main +-->
+<a name="Download" title="Download"> </a>
+<h2 class="underlined_10">Download</h2>
+<div class="section">
+<p>Download the Droids code base (we refer to the resulting directory as
+ $DROIDS_HOME):</p>
+<pre class="code">svn co https://svn.apache.org/repos/asf/labs/droids/trunk droids</pre>
+</div>
+<a name="Build" title="Build"> </a>
+<h2 class="underlined_10">Build</h2>
+<div class="section">
+<p>Before building droids, create a file called build.properties to customize your Droid.
+ All properties that you can override can be found in the file default.properties.</p>
+<p>The normal case is to implement the following properties with your custom values:</p>
+<pre class="code"># The initial url to crawl (is likely the only property you do not want from default)
+droids.initial.url=http://target-x.de/about.html
+
+# The droid you want to use
+droids.name=default
+
+# the regular expression file we want to use
+droids.filter.regex=${basedir}/regex-urlfilter.txt
+
+# the root output dir for saving a crawl
+droids.handler.save.dir=${basedir}/export/</pre>
+<p>
+ <strong>After</strong> you create the above file you can go ahead and build droids
+ like follows. The command will first download all libaries that we need with the help
+ of Apache Ivy and then generate a jar.</p>
+<pre class="code">ant ivy.resolve droids.jar
+...
+[jar] Building jar: /home/thorsten/src/testing/droids/build/droids-initial.jar
+BUILD SUCCESSFUL
+Total time: 22 seconds</pre>
+</div>
+<a name="Crawling" title="Crawling"> </a>
+<h2 class="underlined_10">Crawling</h2>
+<div class="section">
+<div class="note">
+<div class="label">Note</div>
+<div class="content">Please note that we do not crawl yet images, css and scripts linked in the pages,
+ but this feature is on top of the TODO list. We will try to implement it ASAP.</div>
+</div>
+<p>If you have set the property "droids.initial.url" to your initial url and edited the
+ regex file "droids.filter.regex" to exclude/include follow up links, the default
+ Droid will save the crawl to "droids.filter.regex" after you invoke:</p>
+<pre class="code">ant droids.crawl</pre>
+</div>
+<!--+ |end content-main +-->
+</div>
+</div>
+<div id="footer">
+<div class="lastmodified">
+<script type="text/javascript">document.write("Last Published:Â " + document.lastModified);</script>
+</div>
+<div class="copyright">
+ Copyright ©
+ 2002-2008 <a href="http://example.org">The Example Organisation.</a> </div>
+<!--+ |start compliance links +-->
+<div id="siteinfo-compliance-links">
+<a href="http://validator.w3.org/check?uri=referer">
+<img alt="Valid XHTML 1.0!" height="31" src="http://www.w3.org/Icons/valid-xhtml10" width="88" />
+</a>
+<a href="http://jigsaw.w3.org/css-validator/check/referer">
+<img alt="Valid CSS!" src="http://jigsaw.w3.org/css-validator/images/vcss" style="border:0;width:88px;height:31px" />
+</a>
+</div>
+<!--+ |end compliance links +-->
+</div>
+</div>
+</body>
+</html>
Propchange: labs/droids/trunk/docs/sample.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/sample.pdf
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/sample.pdf?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/sample.pdf
------------------------------------------------------------------------------
svn:mime-type = application/pdf
Added: labs/droids/trunk/docs/themes/breadcrumbs.js
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/breadcrumbs.js?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/themes/breadcrumbs.js (added)
+++ labs/droids/trunk/docs/themes/breadcrumbs.js Wed Feb 20 09:58:31 2008
@@ -0,0 +1,237 @@
+/*
+* 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" 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 = " > ";
+/**
+ * String to include at the beginning of the trail
+ */
+var DISPLAY_PREPREND = " > ";
+/**
+ * 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() ) ) );
+}
+
Propchange: labs/droids/trunk/docs/themes/breadcrumbs.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/themes/common.css
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/common.css?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/themes/common.css (added)
+++ labs/droids/trunk/docs/themes/common.css Wed Feb 20 09:58:31 2008
@@ -0,0 +1,266 @@
+/*
+* 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.
+*/
+/************************************************************************
+ * Apache Forrest
+ * Skin: Minimalistic
+ * Author: Diwaker Gupta <diwakergupta AT gmail DOT com>
+ *
+ * Notes:
+ * =====
+ * The colors used have been picked to taste from the Ubuntu, KDE and
+ * GNOME color palettes.
+ * This skin uses relative positioning for the menu on the left, and the
+ * floating text for the alternative format icons on the right
+ ***********************************************************************/
+
+/* header */
+#header {
+ background: #ffffff;
+ border-bottom: thick solid #002b3d;
+}
+
+/* tabs */
+#nav-main-hook {
+ background: #ffffff;
+ text-align: center;
+ text-decoration: none;
+ font-weight: bold;
+ text-transform: lowercase;
+ font-family: sans-serif;
+ max-width: 90%;
+}
+
+#nav-main li {
+ display: inline;
+ padding: 0 1em 0 1em;
+}
+
+#nav-main li a {
+ font-weight: bold;
+}
+
+#nav-main li a:hover {
+ text-decoration: underline;
+}
+
+#nav-main li a.base-selected:before {
+ content: "[ ";
+}
+
+#nav-main li a.base-selected:after {
+ content: " ]";
+}
+
+/* menu */
+#leftbar {
+ width: 25%;
+ float: left;
+}
+
+#nav-section {
+ background: #eae8e3;
+ border: thin dashed #565248;
+ margin-bottom: 10px;
+}
+
+#nav-section ul {
+ list-style: none;
+ padding-left: 20px;
+}
+
+#nav-section li.pagegroup ul {
+ list-style: none;
+}
+
+.menupagetitle {
+ color: #013396;
+ display: inline;
+ font-weight: bold;
+}
+
+.menupagetitle:before {
+ content: "[ ";
+}
+
+.menupagetitle:after {
+ content: " ]";
+}
+
+/* The actual content */
+#content {
+ margin-left: 25%;
+ padding: 0 20px 0 20px;
+}
+
+/* footer */
+#footer {
+ text-align: center;
+ font-style: italic;
+ font-size: 10px;
+ background: #314e6c;
+ color: #ffffff;
+ padding: 2px;
+ clear: both;
+}
+
+#footer a {
+ color: #9db8d2;
+}
+
+/* note */
+.note {
+ border: 2px solid #013397;
+ background: #b3d3fd;
+ padding: 4px;
+ margin: 4px;
+}
+
+.note .label {
+ font-weight: bold;
+ text-decoration: underline;
+ font-size: large;
+ text-align: center;
+ padding-bottom: 2px;
+}
+
+/* warning */
+.warning {
+ border: 2px solid #980101;
+ background: #f44800;
+ padding: 4px;
+ margin: 4px;
+}
+
+.warning .label {
+ font-weight: bold;
+ text-decoration: underline;
+ font-size: large;
+ text-align: center;
+ padding-bottom: 2px;
+}
+
+/* link to alternate formats */
+#export-link {
+ text-align: right;
+ display: inline;
+ float: right;
+}
+
+/* search box */
+#search-input {
+ padding-left: 10px;
+ padding-top: 10px;
+ border-top: 4px groove #bab5ab;
+}
+
+#search-input form input {
+ width: 90%;
+}
+
+div.searchbox-input form input {
+ display: block;
+}
+
+/* header */
+#branding-tagline-name {
+ text-align: center;
+ font-size: 24px;
+ font-weight: bold;
+ text-transform: lowercase;
+ background: #314e6c;
+ color: #ffffff;
+ padding-top: 10px;
+}
+
+#branding-tagline-tagline {
+ text-align: center;
+ font-size: 16px;
+ font-weight: bold;
+ text-transform: lowercase;
+ background: #314e6c;
+ color: #ffffff;
+ padding-bottom: 10px;
+ border-bottom: thick solid #002b3d;
+}
+
+/* abstract */
+
+div.abstract {
+ font-style: italic;
+}
+
+/* container */
+#container {
+ max-width: 900px;
+ margin-left: auto;
+ margin-right: auto;
+ border: thin solid #565248;
+ background: #ffffff;
+}
+
+/* page */
+#page {
+ padding: 10px;
+}
+
+/* HTML elements */
+a {
+ color: #013397;
+ text-decoration: none;
+ font-weight: bold;
+}
+
+a:visited {
+ font-weight: normal;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+body {
+ color: #000000;
+ font-family: sans-serif;
+ background: #eae8e3;
+ font-size: 12px;
+}
+
+pre {
+ background: #eae8e3;
+ border: thin dashed #565248;
+ font-family: monospace;
+ padding-top: 10px;
+}
+
+img {
+ border: 0;
+}
+
+h1 {
+ font-size: 18px;
+ margin: 4px 0 4px 0;
+}
+
+h2 {
+ font-size: 16px;
+ margin: 4px 0 4px 0;
+}
+
+h3 {
+ font-size: 14px;
+ margin: 4px 0 4px 0
+}
\ No newline at end of file
Propchange: labs/droids/trunk/docs/themes/common.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/themes/droids.css
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/droids.css?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/themes/droids.css (added)
+++ labs/droids/trunk/docs/themes/droids.css Wed Feb 20 09:58:31 2008
@@ -0,0 +1,3 @@
+div#nav-main-hook {
+background:#666666 url(../themes/images/top_bg.jpg) repeat-x scroll left top;
+}
\ No newline at end of file
Propchange: labs/droids/trunk/docs/themes/droids.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/themes/fontsize.js
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/fontsize.js?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/themes/fontsize.js (added)
+++ labs/droids/trunk/docs/themes/fontsize.js Wed Feb 20 09:58:31 2008
@@ -0,0 +1,166 @@
+/*
+* 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;
+}
Propchange: labs/droids/trunk/docs/themes/fontsize.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/themes/getBlank.js
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/getBlank.js?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/themes/getBlank.js (added)
+++ labs/droids/trunk/docs/themes/getBlank.js Wed Feb 20 09:58:31 2008
@@ -0,0 +1,40 @@
+/*
+* 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" 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;
+}
+//-->
Propchange: labs/droids/trunk/docs/themes/getBlank.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/themes/images/chapter.gif
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/chapter.gif?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/chapter.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: labs/droids/trunk/docs/themes/images/chapter_open.gif
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/chapter_open.gif?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/chapter_open.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: labs/droids/trunk/docs/themes/images/current.gif
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/current.gif?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/current.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: labs/droids/trunk/docs/themes/images/header_white_line.gif
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/header_white_line.gif?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/header_white_line.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: labs/droids/trunk/docs/themes/images/instruction_arrow.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/instruction_arrow.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/instruction_arrow.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/page.gif
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/page.gif?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/page.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: labs/droids/trunk/docs/themes/images/pdfdoc.gif
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/pdfdoc.gif?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/pdfdoc.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: labs/droids/trunk/docs/themes/images/roundcorner-b-l-15-bg294563-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-b-l-15-bg294563-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-b-l-15-bg294563-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-b-l-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-b-l-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-b-l-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-b-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-b-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-b-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-b-r-15-bg294563-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-b-r-15-bg294563-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-b-r-15-bg294563-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-b-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-b-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-b-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-b-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-b-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-b-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-b-r-5-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-b-r-5-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-b-r-5-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-t-l-5-bg294563-strokeB5C7E7-fgB5C7E7.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-t-l-5-bg294563-strokeB5C7E7-fgB5C7E7.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-t-l-5-bg294563-strokeB5C7E7-fgB5C7E7.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-t-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-t-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-t-r-15-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bg294563-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bg294563-strokeB5C7E7-fgB5C7E7.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bg294563-strokeB5C7E7-fgB5C7E7.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bg294563-strokeB5C7E7-fgB5C7E7.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/roundcorner-t-r-5-bgFFFFFF-stroke4A6D8C-fg4A6D8C.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: labs/droids/trunk/docs/themes/images/spacer.gif
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/spacer.gif?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/spacer.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: labs/droids/trunk/docs/themes/images/top_bg.jpg
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/images/top_bg.jpg?rev=629545&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/droids/trunk/docs/themes/images/top_bg.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: labs/droids/trunk/docs/themes/leather-dev.css
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/leather-dev.css?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/themes/leather-dev.css (added)
+++ labs/droids/trunk/docs/themes/leather-dev.css Wed Feb 20 09:58:31 2008
@@ -0,0 +1,50 @@
+/*
+* 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.
+*/
+
+#container .breadtrail {
+ display: none;
+}
+
+#container .logo {
+ display: none;
+}
+
+#header .searchbox {
+ display: none;
+}
+#header .lastmodified {
+ display: none;
+}
+#leftbar #credit {
+ display: none;
+}
+
+#leftbar hr {
+ display: none;
+}
+
+#leftbar #credit2 {
+ display: none;
+}
+
+.trail {
+ display: none;
+}
+
+.motd-area {
+ display: none;
+}
\ No newline at end of file
Propchange: labs/droids/trunk/docs/themes/leather-dev.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/droids/trunk/docs/themes/menu.js
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/themes/menu.js?rev=629545&view=auto
==============================================================================
--- labs/droids/trunk/docs/themes/menu.js (added)
+++ labs/droids/trunk/docs/themes/menu.js Wed Feb 20 09:58:31 2008
@@ -0,0 +1,48 @@
+/*
+* 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" 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)
Propchange: labs/droids/trunk/docs/themes/menu.js
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org