An item may represent a "story" -- much like a story in a newspaper or magazine; if so its description is a synopsis of the story, and the link points to the full story. An item may also be complete in itself, if so, the description contains the text (entity-encoded HTML is allowed), and the link and title may be omitted. |
Element | RssChannel/item |
<xs:complexType name="RssItem"> <xs:annotation> <xs:documentation>An item may represent a "story" -- much like a story in a newspaper or magazine; if so its description is a synopsis of the story, and the link points to the full story. An item may also be complete in itself, if so, the description contains the text (entity-encoded HTML is allowed), and the link and title may be omitted.</xs:documentation> </xs:annotation> <xs:sequence> <xs:choice maxOccurs="unbounded"> <xs:element name="title" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>The title of the item.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="description" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>The item synopsis.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="link" type="xs:anyURI" minOccurs="0"> <xs:annotation> <xs:documentation>The URL of the item.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="author" type="EmailAddress" minOccurs="0"> <xs:annotation> <xs:documentation>Email address of the author of the item.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="category" type="Category" minOccurs="0"> <xs:annotation> <xs:documentation>Includes the item in one or more categories.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="comments" type="xs:anyURI" minOccurs="0"> <xs:annotation> <xs:documentation>URL of a page for comments relating to the item.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="enclosure" type="Enclosure" minOccurs="0"> <xs:annotation> <xs:documentation>Describes a media object that is attached to the item.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="guid" type="Guid" minOccurs="0"> <xs:annotation> <xs:documentation>guid or permalink URL for this entry</xs:documentation> </xs:annotation> </xs:element> <xs:element name="pubDate" type="Rfc822FormatDate" minOccurs="0"> <xs:annotation> <xs:documentation>Indicates when the item was published.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="source" type="Source" minOccurs="0"> <xs:annotation> <xs:documentation>The RSS channel that the item came from.</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:sequence> <xs:anyAttribute namespace="##any"/> </xs:complexType> |