Atom Threading Namespace Reference
The Atom Threading namespace provides elements for representing threaded discussions and comment relationships in Atom feeds, enabling proper conversation threading.
Namespace URI | http://purl.org/syndication/thread/1.0 |
---|---|
Prefix | <thr:*> |
Available in | RSS, Atom |
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 InReplyTo = {
ref: string
href?: string
type?: string
source?: string
}
export type Link<TDate extends DateLike> = {
count?: number
updated?: TDate
}
export type Item = {
total?: number
inReplyTos?: Array<InReplyTo>
}
Related
- Parsing Namespaces - How namespace parsing works