From 78c80d39126d6774f26bce978bf2e421f5c3a8ab Mon Sep 17 00:00:00 2001
From: erik
- 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:
+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. +
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.
+
In the binary distribution, execute the
run
script for your operating system
@@ -212,6 +229,19 @@
+ 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.
+
@@ -225,11 +255,11 @@
- 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.