@newspapper/core
    Preparing search index...

    Interface RssItem

    interface RssItem {
        title: string;
        url: string;
        summary: string;
        contentHtml: string;
        author: string | null;
        publishedAt: string | null;
    }
    Index
    title: string
    url: string
    summary: string

    Plain text: rss-parser's contentSnippet first. Search falls back to it when an item's page yields no body, so its derivation must not drift.

    contentHtml: string

    The item's HTML, as the feed gave it (unsanitized). RSS 2.0: content:encoded, else description. Atom: content, else summary. '' when the feed carries none.

    author: string | null

    RSS <author> / dc:creator, Atom <author><name>, or null.

    publishedAt: string | null

    ISO 8601, or null when the feed gives no date, or one that won't parse. The Reader keeps undated items; Search drops them itself.