Every text field is plain text: a consumer never interprets it as markup.

interface NewsItem {
    headline: string;
    id: string;
    source?: string;
    summary?: string;
    time: number;
    url?: string;
}

Properties

headline: string
id: string

Stable provider identity, used to drop an item repeated across pages.

source?: string

The publisher's name.

summary?: string
time: number

Publication time, UTC seconds.

url?: string

The full article. A consumer opens only http and https links.