From 71df10b3b2a9424038dacd0843fbcf7bbaba4f02 Mon Sep 17 00:00:00 2001 From: erik Date: Sat, 6 May 2006 20:05:09 +0000 Subject: [PATCH] --- .../crawler/kiss/docs/content/xdocs/index.xml | 50 +++++++++++++++---- 1 file changed, 40 insertions(+), 10 deletions(-) diff --git a/trunk/crawler/kiss/docs/content/xdocs/index.xml b/trunk/crawler/kiss/docs/content/xdocs/index.xml index 18b1d616..02d1a466 100644 --- a/trunk/crawler/kiss/docs/content/xdocs/index.xml +++ b/trunk/crawler/kiss/docs/content/xdocs/index.xml @@ -47,9 +47,14 @@ records programs for you or sends notifications about interesting ones.

- In its current version, the crawler can be used a standalone program - only and the preferred way to run it is as a scheduled task. + In its current version, the crawler can be used in two ways:

+
@@ -61,13 +66,20 @@

The easy way to start is the - binary version. + standalone program binary version + or using the web + application.

The latest source can be obtained from subversion with the URL https://wamblee.org/svn/public/utils. The subversion repository allows read-only access to anyone.

+

+ The application was developed and tested on SuSE linux 9.1 with JBoss 4.0.2 application + server (only required for the web application). It requires at least a Java Virtual Machine + 1.5 or greater to run. +

@@ -81,9 +93,14 @@ tailored to the KiSS electronic programme guide.
  • programs.xml: containing a description of which programs must be recorded and which programs are interesting.
  • -
  • org.wamblee.crawler.properties: Containing a configuration of - how to notify users of results.
  • +
  • org.wamblee.crawler.properties: Containing a configuration
  • +

    + For the standalone program, all configuration files are in the conf directory. + For the web application, the properties files is located in the WEB-INF/classes + directory of the web application, and crawler.xml and programs.xml + are located outside of the web application at a location configured in the properties file. +

    @@ -203,7 +220,7 @@ Installing and running the crawler
    - Binary distribution + Standalone application

    In the binary distribution, execute the run script for your operating system @@ -212,6 +229,19 @@

    +
    + Web application +

    + After deploying the web application, navigate to the + application in your browser (e.g. + http://localhost:8080/wamblee-crawler-kissweb). + The screen should show an overview of the last time it ran (if + it ran before) as well as a button to run the crawler immediately. + Also, the result of the last run can be viewed. + The crawler will run automatically every morning at 5 AM local time. +

    +
    +
    Source distribution

    @@ -225,11 +255,11 @@

    General usage

    - The crawler, as it is now, is s standalone program which is - intended to be run from a command-line. When it runs, it + When the crawler runs, it retrieves the programs for today. As a result, it is advisable to run the program at an early point of the day as a scheduled - task (e.g. cron on unix). + task (e.g. cron on unix). For the web application this is + preconfigured at 5AM.

    Modifying the program to allow it to investigate tomorrow's @@ -245,7 +275,7 @@

    The best example is in the distribution itself. It is my personal - programs.xml file. + programs.xml file.

    -- 2.31.1