Specifications

B-6
Cisco Internet Streamer CDS 2.0-2.3 Software Configuration Guide
OL-13493-04
Appendix B Creating Manifest Files
Working with Manifest Files
In the following example, page freshness is scheduled to be crawled and checked every hour to a link
depth value of 2:
<crawler
start-url="index.html"
depth="2"
ttl="60"
/>
If the content is not yet available at a particular URL, the prefetch attribute can be used to specify the
start time for acquisition at the specified URL. For example, prefetch=“2002-06-28 18:35:21” means the
content acquisition job can only start on June 28, 2002 and at the specified time.
The following example schedules a crawl of this website every hour to a link depth value of 2 to start on
November 9, 2001 at 8:45 a.m.
<crawler
start-url="index.html"
depth="2"
prefetch="2001-11-09 08:45:12"
ttl="60"
/>
Specifying Shared Attributes
Attributes in single <item> tags can be shared or have the same attribute values. Instead of writing these
attributes individually for every <item> tag, you can extract them and place them in a higher-level tag
called <item-group>, where these attributes can be shared from this higher-level tag. You can create an
<item-group> tag at a level below the <CdnManifest> tag, and write <item> tags into it as subtags,
moving shared attributes into the <item-group> tag, as shown in the following example:
<?xml version="1.0"?>
<CdnManifest>
<server name="cisco-cco">
<host name="http://www.cisco.com"
proto="http" />
</server>
<item-group
server="cisco-cco"
ttl="1440"
type="prepos" >
<item src="jobs/index.html"/>
<item src="jobs/index1.html"/>
<item src="jobs/index2.html"/>
<item src="jobs/index3.html"/>
<item src="jobs/index4.html"/>
<item src="jobs/index5.html"/>
</item-group>
</CdnManifest>