Syndication Namespace Reference
The Syndication namespace provides information about the frequency and timing of feed updates. It helps aggregators understand how often to check for new content.
Namespace URI | http://purl.org/rss/1.0/modules/syndication/ |
---|---|
Prefix | <sy:*> |
Available in | RSS, Atom, RDF |
Structure
INFO
TDate
represents date fields in the type definitions. When parsing, dates are returned as strings in their original format (see Parsing › Handling Dates for more details). When generating, dates should be provided as JavaScript Date
objects.
ts
export type Feed<TDate extends DateLike> = {
updatePeriod?: string
updateFrequency?: number
updateBase?: TDate
}
Related
- Parsing Namespaces - How namespace parsing works