Skip to main content

RSSFeedItem

Stentor API Reference


Stentor API Reference / stentor-models/src / RSSFeedItem

Interface: RSSFeedItem

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:7

An individual item (from <item>) found within an RSS Feed.

Extended by​

Properties​

feedTitle​

feedTitle: string

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:13

The title of the feed the item belongs to.

This is primarily used to remind listeners what feed the feed item came from.


title?​

optional title: string

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:17

The title of the feed item.


description?​

optional description: string

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:21

Description of the feed item.


subtitle?​

optional subtitle: string

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:25

The subtitle of the feed item.


explicit?​

optional explicit: boolean

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:29

If the feed item is marked explicit.


optional link: string

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:36

The link of the feed item.

This is typically where users can find more information about the RSS feed item and not the actual media content.


url​

url: string

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:40

The URL within the <enclosure> tag.


mediaType?​

optional mediaType: "video/mpeg" | "audio/mpeg"

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:44

The media type within the <enclosure> tag.


length?​

optional length: number

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:48

The length within the <enclosure> tag.


image?​

optional image: string

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:52

URL for the image


id?​

optional id: string

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:56

The GUID of the feed item.


pubDate?​

optional pubDate: string

Defined in: packages/stentor-models/src/Media/RSSFeedItem.ts:65

Date the feed item was published.

RFC 822 encoded date string, in accordance with the RSS 2.0 specification.

One exception is the year may be expressed with two digits instead of the preferred four digits.