RssChannel

Complex Type Information

Model

(title | link | description | language{0,1} | copyright{0,1} | managingEditor{0,1} | webMaster{0,1} | pubDate{0,1} | lastBuildDate{0,1} | category{0,1} | generator{0,1} | docs{0,1} | cloud{0,1} | ttl{0,1} | image{0,1} | rating{0,1} | textInput{0,1} | skipHours{0,1} | skipDays{0,1} | ANY element from ANY namespace OTHER than 'No Namespace') , item+ , ANY element from ANY namespace OTHER than 'No Namespace'

Attributes

Used By

Element rss/channel

Source

<xs:complexType name="RssChannel">
  <xs:sequence>
    <xs:choice maxOccurs="unbounded">
      <xs:element name="title" type="xs:string">
        <xs:annotation>
          <xs:documentation>The name of the channel. It's how people refer to your service. If you have an HTML website that contains the same information as your RSS file, the title of your channel should be the same as the title of your website.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="link" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>The URL to the HTML website corresponding to the channel.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="description" type="xs:string">
        <xs:annotation>
          <xs:documentation>Phrase or sentence describing the channel.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="language" type="xs:language" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The language the channel is written in. This allows aggregators to group all Italian language sites, for example, on a single page. A list of allowable values for this element, as provided by Netscape, is here. You may also use values defined by the W3C.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="copyright" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Copyright notice for content in the channel.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="managingEditor" type="EmailAddress" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Email address for person responsible for editorial content.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="webMaster" type="EmailAddress" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Email address for person responsible for technical issues relating to channel.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="pubDate" type="Rfc822FormatDate" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The publication date for the content in the channel. All date-times in RSS conform to the Date and Time Specification of RFC 822, with the exception that the year may be expressed with two characters or four characters (four preferred).</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="lastBuildDate" type="Rfc822FormatDate" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The last time the content of the channel changed.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="category" type="Category" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specify one or more categories that the channel belongs to.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="generator" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>A string indicating the program used to generate the channel.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="docs" type="xs:anyURI" minOccurs="0">
        <xs:annotation>
          <xs:documentation>A URL that points to the documentation for the format used in the RSS file. It's probably a pointer to this page. It's for people who might stumble across an RSS file on a Web server 25 years from now and wonder what it is.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="cloud" type="Cloud" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Allows processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ttl" type="xs:nonNegativeInteger" minOccurs="0">
        <xs:annotation>
          <xs:documentation>ttl stands for time to live. It's a number of minutes that indicates how long a channel can be cached before refreshing from the source.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="image" type="Image" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specifies a GIF, JPEG or PNG image that can be displayed with the channel.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="rating" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The PICS rating for the channel.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="textInput" type="TextInput" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specifies a text input box that can be displayed with the channel.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="skipHours" type="SkipHoursList" minOccurs="0">
        <xs:annotation>
          <xs:documentation>A hint for aggregators telling them which hours they can skip.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="skipDays" type="SkipDaysList" minOccurs="0">
        <xs:annotation>
          <xs:documentation>A hint for aggregators telling them which days they can skip.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Extensibility element.</xs:documentation>
        </xs:annotation>
      </xs:any>
    </xs:choice>
    <xs:element name="item" type="RssItem" minOccurs="1" maxOccurs="unbounded">
      <!-- 
           HACK: According to the RSS 2.0 spec, it should strictly be possible to have zero item elements, 
                 but this makes the schema non-deterministic with regard to extensibility elements
                 so for the moment we undid bug-fix 10231 and set minOccurs=1 to work around this problem. 
         -->
    </xs:element>
    <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>Extensibility element.</xs:documentation>
      </xs:annotation>
    </xs:any>
  </xs:sequence>
  <xs:anyAttribute namespace="##any"/>
</xs:complexType>