SCHEDULE Element

Obsolete. Defines the schedule used for channel updating.

Syntax

<SCHEDULE
    STARTDATE = "date"
    STOPDATE = "date"
    TIMEZONE = "offset">
<!-- child elements -->
</SCHEDULE>

Attributes

STARTDATE
Optional. Numeric value specifying the day on which the schedule will start to apply. If this attribute is omitted, the schedule will start to apply on the current day. The date for this attribute is specified in the form yyyy-mm-dd, where:
yyyySpecifies the year.
mmSpecifies the month (01-12).
ddSpecifies the day of the month (01-31).
STOPDATE
Optional. Numeric value specifying the day on which the schedule stops updating (expires). If this attribute is omitted, the schedule will not expire. The date for this attribute is specified in the form yyyy-mm-dd, where:
yyyySpecifies the year.
mmSpecifies the month (01-12).
ddSpecifies the day of the month (01-31).
TIMEZONE
Optional. Difference between local time and Universal Time Coordinated (UTC). This allows channel publishers to specify an absolute time for an update schedule. The offset specified for this attribute adjusts the EARLIESTTIME and LATESTTIME child elements accordingly.

For example, to specify the U.S. Eastern Standard Time (EST), which is 5 hours earlier than UTC, use: TIMEZONE="-0500".

The date for this attribute is specified in the form szzzz, where:

sSpecifies the relationship of the local time to UTC. A minus (-) or plus (+) sign is used to indicate whether the local time is earlier or later than UTC.
zzzzSpecifies the offset from UTC in hours and minutes.

Element Information

Parent elements CHANNEL
Child elements
May occur at most once EARLIESTTIME, INTERVALTIME, LATESTTIME
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Remarks

Windows Internet Explorer 7. The Channel Definition Format (CDF) is obsolete and should not be used.

The ENDDATE attribute of this element is obsolete. Do not use it. This attribute has been replaced by STOPDATE.

Starting at midnight on STARTDATE, channel updating occurs once within each consecutive time interval specified by the INTERVALTIME child element.

The EARLIESTTIME and LATESTTIME child elements specify offsets that define the valid range of time within each interval that channel updates can occur.

The schedule must be placed directly under the top-level channel element, and it must contain a nonzero INTERVALTIME value to be considered valid. This schedule is relative to the time zone in TIMEZONE, if present. Otherwise, the schedule is relative to the local time of the user. This schedule applies to the channel only if the user accepts the default "publisher's recommended schedule" when subscribing to the channel.

This element should appear near the top of the CDF file, after the top-level CHANNEL element and before any ITEM or nested CHANNEL elements.

Example

The following example shows a schedule that takes effect immediately and updates the channel once per day, sometime between noon and 6 P.M. The channel will stop receiving updates on August 17, 1999.


<SCHEDULE STOPDATE="1999-08-17"> 
    <INTERVALTIME DAY="1"/>
    <EARLIESTTIME HOUR="12"/>
    <LATESTTIME HOUR="18"/>
</SCHEDULE>

Community Additions

ADD
Show:
© 2014 Microsoft