Slash Namespace Reference
The Slash namespace provides metadata about user engagement, particularly comment counts. Originally created by Slashdot, it's now widely used to indicate discussion activity on feed items.
Namespace URI | http://purl.org/rss/1.0/modules/slash/ |
---|---|
Prefix | <slash:*> |
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 HitParade = Array<number>
export type Item = {
section?: string
department?: string
comments?: number
hitParade?: HitParade
}
Related
- Parsing Namespaces - How namespace parsing works