The functions discussed in this chapter are used during filtering to manipulate or generate information on the resource. The robot can then process the resource by calling filtering functions. These functions can be used in Enumeration and Generation filters in the filter.conf file.
The assign-source function assigns a new value to a given information source. This permits editing during the filtering process. The function can assign an explicit new value, or it can copy a value from another information source.
The parameters used with the assign-source function and their description are:
Name of the source whose value is to be changed.
Specifies an explicit value.
Information source to copy to dst
You must specify either a value parameter or a src parameter, but not both.
Data fn=assign-source dst=type src=content-type |