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

    Interface SitemapUrlWithAlternates

    Extended sitemap URL with optional xhtml:link alternate-language entries. Used to emit Google-compliant hreflang blocks inside each <url> element so multilingual variants of the same logical page are cross-linked.

    interface SitemapUrlWithAlternates {
        alternates?: Record<string, string>;
        loc: string;
        lastmod: string;
        changefreq: string;
        priority: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    alternates?: Record<string, string>

    Map of hreflang code → absolute URL of the alternate language variant.

    loc: string
    lastmod: string
    changefreq: string
    priority: string