Release 1.3 - ...
<include> element
Under the filter element, you may use both the include and exclude element. Both the include and exclude elements behave like the group element with the match attribute set to "any".
The example filter allows any hit on either the channel DEF or MOB.
Example
XML |
Copy Code
|
<hits>
<include>
<channel code="DEF" />
<channel code="MOB" />
</include>
</hits>
|
Attributes
Attribute name |
Required |
Description |
negate |
No |
If set to true, the filter is inverted. The default value is false. |
match |
No |
When set to "all", all the conditions inside this element must be met for this filter to become true. When set to "any", any condition inside this element that is met, is enough for this filter to become true. The default value is "any". |
Parent element
Element name |
Description |
<hits> |
Describes the element "hits" that is used to filter incoming Smi hits. |
Child elements
Element name |
Description |
<channel> |
Describes how to filter on a channel. |
<client> |
Describes how to filter on a client address. |
<contenttype> |
Describes how to filter on a content type. |
<group> |
Describes how to use the group element to group multiple filter conditions into a single condition. |
<item> |
Describes how to use the item filter in Smi. |
<parent> |
Describes how to use the parent filter in Smi. |
<url> |
Describes how to use the url filter for Smi. |