RSSItem Type

An RSS item as it is received from the RSS feed.

Remarks

When an RSS feed is parsed by the component, each item is parsed into an RSSItem type. This type contains field value pairs for standard RSS 2.0 elements.

Fields

Author
String

This property contains the email address or contact information for the current item's author.

Category
String

This property contains the location of the current item within a hierarchy. The value of this property is a forward-slash-separated string that identifies a hierarchic location in a particular hierarchy. The conventions used to interpret an RSS item's category depend upon the processor.

CategoryDomain
String

This property contains the URL indicating the definition of the current item's category. This points to a location that defines the category indicated by the Category which is provided in the Items properties.

Comments
String

If present, this property should point to a URL location of a page for comments related to the current item.

Description
String

This property contains the description of the content of the current item. For abstracts, Link should point to the complete text of the item.

This property is required for RSS feeds that conform to version 0.91 of the RSS protocol. For later versions, an item must have either Title or Description defined.

EnclosureLength
String

This property indicates how large the enclosure is in bytes.

An enclosure specifies a media object which is attached to the item. The fields EnclosureLength, EnclosureType, and EnclosureUrl all are required when specifying an enclosure.

EnclosureType
String

This property specifies the type of enclosure. This property must contain a standard MIME type such as "audio/mpeg".

An enclosure specifies a media object which is attached to the item. The fields EnclosureLength, EnclosureType, and EnclosureUrl all are required when specifying an enclosure.

EnclosureUrl
String

This property contains the URL where the enclosure is located.

An enclosure specifies a media object which is attached to the item. The fields EnclosureLength, EnclosureType, and EnclosureUrl all are required when specifying an enclosure.

Guid
String

This property contains the globally unique identifier for the current item. It is a string that uniquely identifies the item. Aggregators can use This property to determine whether or not an item is new.

Aggregators should view this value as a string, but it is up to the source of the feed to guarantee its uniqueness. The value may be the URL link to the full text of the item in order to help guarantee that it is unique.

GuidIsPermaLink
Boolean

When this property is set to true, the reader may assume that the guid is a permalink to the item. A permalink is a url that can be opened in a Web browser, which contains the full item contents from the original RSS feed.

ItemXML
String

This property contains the full XML contents of the item. Unless the properties of the RSSItem are modified, this value will contain the original XML from the RSS feed.

NOTE: When setting This property, the entire contents of the item must be supplied including the item tags. All previous item values will be lost.

Link
String

For headline or abstract items, this property should be the location of the full text of the item.

PubDate
String

This property contains the date of the current item's most recent publication. It should conform to the standards set in RFC 822, with the exception that years can be either 2 or 4 characters long.

Source
String

This property contains the name of the RSS feed in which the item was originally published, derived from the feed's title. If This property or SourceURL are empty, they should be filled with the values contained in Title and Link properties of the Channel before forwarding the feed from a news aggregator to a weblog.

SourceURL
String

This property contains the URL location of the XML-version of the current item's source. This is required if Source is defined. It is a URL that points to the XML representation of the source of the current item.

Title
String

This property contains the title or headline of the current item. This property is required for RSS feeds that conform to version 0.91 of the RSS protocol. For later versions, an item must have either Title or Description defined.

This property should contain a short description of the item, or a headline if Description is defined.

Constructors

constructor Create();
constructor Create(valTitle: String; valDescription: String);

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Delphi Edition - Version 20.0 [Build 8307]