Content Namespace Reference
The Content namespace allows RSS and RDF feeds to include full content alongside or instead of summaries. It provides a way to embed complete articles or posts within feed items.
Namespace URI | http://purl.org/rss/1.0/modules/content/ |
---|---|
Prefix | <content:*> |
Available in | RSS, 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 Item = {
encoded?: string
// Spec (https://web.resource.org/rss/1.0/modules/content/) also mentions content:items,
// but it is not clear what it is used for. Also, it's not widely used so its implementation
// will be skipped for now. If it's requested in the future, it can be added here.
}
Related
- Parsing Namespaces - How namespace parsing works