EU Parliament Monitor — API Documentation - v0.8.49
    Preparing search index...
    • Generate an RSS 2.0 XML feed for the homepage.

      Every item is escaped via escapeXML so titles or descriptions containing &/</etc. don't break feed readers. The channel-level <lastBuildDate> reflects "now" — callers that need deterministic output for tests should pass an explicit buildDate override.

      Parameters

      • articleInfos: readonly RssItem[]

        Articles, ideally already sorted newest-first

      • buildDate: string = ...

        Optional override for the channel-level <lastBuildDate> (RFC-822 string). Defaults to new Date().toUTCString().

      Returns string

      Complete RSS 2.0 XML document