EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...

    Variable HEADLINE_LIMITConst

    HEADLINE_LIMIT: 110

    Google's NewsArticle structured-data validator hard-caps the headline field at 110 characters. Page <title> can be longer (we already truncate to a higher limit in article-metadata.ts::truncateTitle), but the JSON-LD headline needs its own, tighter cap or the article loses Top Stories carousel eligibility.

    Truncation prefers the last sentence boundary or em-dash within the 110-char window so we don't slice through a noun phrase.

    Resolved article title (already escaped-safe text)

    Headline ≤ 110 characters, suitable for NewsArticle.headline