
To integrate your code into the Search Robot, follow these steps:

1. Write your code. See rdgen.c for an example.
   Robot API functions use an interface which is
   similiar to the Web Server's NSAPI. For example:

	int myPluginFunction(libcs_pblock *pb, CSFilter *f, CSResource *r);

2. Compile into a shared library. See Makefile and Makefile.msc 
   for an example.

3. Make your shared library availiable to the robot.

	UNIX:     cp   myPlugin.so  /PortalServerInstallPath/SUNWps/lib

4. Reference your shared library in filter.conf using the 'load-modules' 
   function. For example, add this line to the top of filter.conf:

	Init fn=load-modules shlib=myPlugin.so funcs=myPluginFunction

5. Reference your function as appropriate in filter.conf:

	Generate fn=myPluginFunction

