Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.47
    Preparing search index...
    • Choose the richest available description from three candidate sources, preferring whichever is longest but non-empty. Falls back in order:

      1. og:description (often the richest, emitted by the aggregator)
      2. <meta name="description"> (truncated legacy copy)
      3. JSON-LD description (last resort)

      Implements seo-metadata-contract.md ยง3.h.

      Parameters

      • ogDescription: string
      • metaDescription: string
      • jsonLdDescription: string

      Returns string