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 |
|---|---|
| Specification | Threading Extensions |
| Prefix | <thr:*> |
| Available in | RSS, Atom |
| Property | thr |
Types
INFO
For details on type parameters (TDate, TStrict) and Requirable<T> markers, see TypeScript Reference.
ts
export namespace ThrNs {
export type InReplyTo<TStrict extends boolean = false> = Strict<
{
ref: Requirable<string> // Required in spec.
href?: string
type?: string
source?: string
},
TStrict
>
export type Link<TDate extends DateLike> = {
count?: number
updated?: TDate
}
export type Item<TStrict extends boolean = false> = {
total?: number
inReplyTos?: Array<InReplyTo<TStrict>>
}
}Related
- Parsing Namespaces - How namespace parsing works