Saltar al contenido principal

Interface: RssConfig

Defined in: src/types/index.ts:626

Configuration for generating an RSS feed.

Properties

customData?

optional customData?: string

Defined in: src/types/index.ts:640

Custom XML to inject into the <channel> element.


description

description: string

Defined in: src/types/index.ts:630

Description of the feed.


items

items: RssItem[]

Defined in: src/types/index.ts:634

Feed items.


language?

optional language?: string

Defined in: src/types/index.ts:638

Language code (default: "en").


lastBuildDate?

optional lastBuildDate?: boolean

Defined in: src/types/index.ts:644

Whether to include the <lastBuildDate> (default: true).


site

site: string

Defined in: src/types/index.ts:632

Base URL of the site (e.g. "https://example.com").


title

title: string

Defined in: src/types/index.ts:628

Title of the feed (e.g. "My Blog").


trailingSlash?

optional trailingSlash?: boolean

Defined in: src/types/index.ts:646

Trailing slash behavior for item links (default: true).


xmlPath?

optional xmlPath?: string

Defined in: src/types/index.ts:636

Output path (default: "/rss.xml").


xslUrl?

optional xslUrl?: string

Defined in: src/types/index.ts:642

XSL stylesheet URL for browser rendering (optional).