Specifications

B-41
Cisco Internet Streamer CDS 2.0-2.3 Software Configuration Guide
OL-13493-04
Appendix B Creating Manifest Files
Manifest File Structure and Syntax
(See the “item” section on page B-28 for descriptions of the <schedule><repeat> subelements.)
Example
<!--grouped content items-->
<item-group server="origin-web-server" type="prepos" ttl="300" cdnPrefix="unicorn/" >
<item cdn-url="newHQpresentation.rm" src="newHQpresentation.rm" />
<item cdn-url="animatedlogo.mpg" src="animlogo.mpg" />
<item cdn-url="companytheme.mp3" src="cotheme.mp3" />
<item cdn-url="newHQlayout.avi" src="newHQ.mov" />
</item-group>
matchRule
The <matchRule> </matchRule> tag set is optional and defines additional filter rules for crawler jobs.
It affects only <crawler> tasks and is not used by single <item> tags. The crawler parameters defined in
the <crawler></crawler> tag set determine primarily the scope of a crawl search. If a content object does
not meet the criteria specified by the crawler parameter, neither it nor its children are searched.
The <matchRule> tag, however, determines only whether or not the content objects should be acquired
regardless of the scope of the search. If a web page matches the crawler parameters without the
<matchRule> feature, its children are searched even though its content objects are not acquired.
In the following crawler job example that uses the <matchRule> tag, the entire website is searched, but
only files with the .jpg file extension larger than 50 kilobytes are acquired.
<crawler start-url="index.html" depth="-1" >
<matchRule>
<match minFileSizeIn-KB="50" extension="jpg" />
</matchRule>
</crawler>
The <matchRule> element can be nested within an <item-group> tag to define group-wide filter rules
for <crawler> tags contained in the group. It can also be a subelement of a particular <crawler> job. The
<crawler> tag-level setting overrides the <item-group> tag-level setting when both tags are present.
If you define criteria locally for individual <crawler> jobs, any existing group-level criterion is entirely
discarded for that <crawler> job. If your <item-group> tag match rule is set to A and your <crawler> tag
specifies another match rule set to B, only B is to be used for the <crawler> tag rather than a combination
of A and B. You can define at most one <matchRule> tag per <item-group> tag and at most one
<matchRule> tag per <crawler> tag.
Attributes
None
Subelements
At least one <match> tag
match
The <match> </match> tag is optional and specifies the acquisition criteria of content objects before
they can be acquired by CDS software. Every attribute within a single <match> tag has a Boolean AND
relationship (to form a logical conjunction) with the other attributes.