EU Parliament Monitor — API Documentation - v0.9.25
    Preparing search index...
    • Post-clamping cross-run title uniqueness. Appends a compact edition qualifier (#N) to the resolved SEO title when a run number is extractable from the run ID. This runs AFTER clampForBudget so the qualifier is never truncated by the per-script budget clamper.

      The compact form (#N) is used (universal publishing issue-number convention) because it adds only 4-5 chars and survives even the tightest RTL/CJK budgets.

      Budget-aware: the qualifier is only appended when the resulting title fits within the per-script title budget. Otherwise the title is returned unchanged to preserve SERP-optimal length.

      Parameters

      • seoTitle: string

        Resolved, clamped SEO title

      • runId: string

        Workflow run identifier (e.g. "run-52", "breaking-run170")

      • OptionaltitleBudget: number

        Optional per-script title budget; when provided, the qualifier is only appended if the result fits within budget

      Returns string

      Title with edition qualifier appended for uniqueness