The Repository Loader has many configuration options, but can be characterized as having two modes, automatic and manifest. In the automatic mode, you configure a FileSystemMonitorScheduler to scan the portion of the file system that is the source of your repository items. In the manifest mode, you pass to the Repository Loader a manifest file that identifies each of the files to be loaded into the repository.

Using automatic mode may require less effort on the part of the Web site administrators. Using manifest mode results in faster loading and puts less of a burden on your system. If you use a content management system that can identify for you the files that have changed since your last Web site update, you should be able to generate a manifest of files to be loaded, updated, or removed fairly easily.

Note that you will need to configure more than just the few properties described in this section. This section is intended only to bring out the most significant differences between these two modes of operation.

Automatic Mode

If the file system handled by the Repository Loader is comparatively small, you can configure the Repository Loader for more automatic operation. You can set the Repository Loader to scan the file system on command or according to a prescribed schedule and automatically identify the files that need to be loaded into the repository. As mentioned earlier, what constitutes a “comparatively small” set of files will vary, but in any case, a set of 1000 or fewer files may be considered small. To configure the Repository Loader for automatic operation, set the following properties:

FileSystemMonitorScheduler:

enabled="true"

Set the schedule property to the schedule on which you want the file system to be scanned. For example:

schedule=every 2 hours in 15 minutes
Manifest Mode

Use the RLClient to load large numbers of files. Use this configuration setting:

FileSystemMonitorScheduler:

enabled="false"

You also need to create a manifest file that lists all the folders and files to be loaded into the repository by the Repository Loader. See Using a Repository Loader Manifest for information about the manifest file format.

 
loading table of contents...