Skip to content

Source Namespace Reference

The Source namespace provides elements for enhanced feed metadata, including social media accounts, subscription lists, blogrolls, and source content in various formats like Markdown and OPML outlines.

Namespace URIhttp://source.scripting.com/
Specificationsource.scripting.com
Prefix<source:*>
Available inRSS
Propertysrc (due to conflict with RSS's source element)

Types

ts
export type Account = {
  service: string
  value?: string
}

export type Likes = {
  server: string
}

export type Archive = {
  url: string
  startDay: string
  endDay?: string
  filename?: string
}

export type SubscriptionList = {
  url: string
  value?: string
}

export type Feed = {
  accounts?: Array<Account>
  likes?: Likes
  archive?: Archive
  subscriptionLists?: Array<SubscriptionList>
  cloud?: string
  blogroll?: string
  self?: string
}

export type Item = {
  markdown?: string
  outlines?: Array<string>
  localTime?: string
  linkFull?: string
}