Item

data class Item(    var title: String? = null,     var description: String? = null,     var author: String? = null,     var categories: List<Category>? = null,     var comments: String? = null,     var enclosure: Enclosure? = null,     var guid: Guid? = null,     var link: URL? = null,     var pubDate: String? = null,     var source: Source? = null)

A channel may contain any number of s. 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; see examples), and the link and title may be omitted. All elements of an item are optional, however at least one of title or description must be present.

title OR description is required

Constructors

Link copied to clipboard
fun Item(    title: String? = null,     description: String? = null,     author: String? = null,     categories: List<Category>? = null,     comments: String? = null,     enclosure: Enclosure? = null,     guid: Guid? = null,     link: URL? = null,     pubDate: String? = null,     source: Source? = null)

Properties

Link copied to clipboard
var author: String? = null

Email address of the author of the item.

Link copied to clipboard
var categories: List<Category>? = null

Includes the item in one or more categories. More.

Link copied to clipboard
var comments: String? = null

URL of a page for comments relating to the item.

Link copied to clipboard
var description: String? = null

The item synopsis.

Link copied to clipboard
var enclosure: Enclosure? = null

Describes a media object that is attached to the item. More.

Link copied to clipboard
var guid: Guid? = null

A string that uniquely identifies the item. More.

Link copied to clipboard
var link: URL? = null

The URL of the item.

Link copied to clipboard
var pubDate: String? = null

Indicates when the item was published.

Link copied to clipboard
var source: Source? = null

The RSS channel that the item came from. More.

Link copied to clipboard
var title: String? = null

The title of the item.

Sources

Link copied to clipboard