Index: openacs-4/packages/robot-detection/robot-detection.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/robot-detection/robot-detection.info,v diff -u -r1.1 -r1.2 --- openacs-4/packages/robot-detection/robot-detection.info 20 Apr 2001 20:51:22 -0000 1.1 +++ openacs-4/packages/robot-detection/robot-detection.info 2 May 2001 20:36:12 -0000 1.2 @@ -23,10 +23,15 @@ + + + + - + + Index: openacs-4/packages/robot-detection/tcl/robot-detection-init.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/robot-detection/tcl/robot-detection-init.xql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/robot-detection/tcl/robot-detection-init.xql 2 May 2001 20:36:38 -0000 1.1 @@ -0,0 +1,13 @@ + + + + + + +select package_id from apm_packages +where package_key = 'robot-detection' + + + + + Index: openacs-4/packages/robot-detection/tcl/robot-detection-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/robot-detection/tcl/robot-detection-procs.xql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/robot-detection/tcl/robot-detection-procs.xql 2 May 2001 20:36:38 -0000 1.1 @@ -0,0 +1,60 @@ + + + + + + + delete from robots + + + + + + + + + insert into robots(robot_id, robot_name, robot_details_url, robot_useragent) + values + (:robot_id, :robot_name, :robot_details_url, :robot_useragent) + + + + + + + + select count(*) from robots + + + + + + + select robot_useragent from robots + + + + + + + select package_id from apm_packages where package_key = 'robot-detection' + + + + + + + select count(*) from robots + + + + + + + + select trunc(current_time - max(coalesce(modified_date, insertion_date))) from robots + + + + + Index: openacs-4/packages/robot-detection/www/admin/index.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/robot-detection/www/admin/index.xql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/robot-detection/www/admin/index.xql 2 May 2001 20:37:03 -0000 1.1 @@ -0,0 +1,11 @@ + + + + + + select robot_name, robot_details_url from robots order by robot_name + + + + +