IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

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 field contains the email address or contact information for the current item's author.

Category
String

This field contains the location of the current item within a hierarchy. The value of this field 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 field 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 collection .

Comments
String

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

Description
String

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

This field 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 field 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 field specifies the type of enclosure. This field 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 field 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 field contains the globally unique identifier for the current item. It is a string that uniquely identifies the item. Aggregators can use this field 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 field 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 field 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 field, 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 field should be the location of the full text of the item.

PubDate
String

This field 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 field contains the name of the RSS feed in which the item was originally published, derived from the feed's title. If this field or SourceURL are empty, they should be filled with the values contained in Title and Link fields of the Channel before forwarding the feed from a news aggregator to a weblog.

SourceURL
String

This field 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 field contains the title or headline of the current item. This field 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 field should contain a short description of the item, or a headline if Description is defined.

Constructors

public RSSItem();



public RSSItem(String title, String description);



 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0