EU Parliament Monitor — API Documentation - v0.8.49
    Preparing search index...
    • Generate sitemap XML including index pages, news articles, sitemap HTML pages, political-intelligence pages, RSS feed, and documentation files from the docs/ folder.

      Multilingual pages (the 14 index pages, the 14 sitemap HTML pages, the 14 political-intelligence pages, and any article whose base stem exists in multiple languages) are enriched with xhtml:link rel="alternate" hreflang="…" entries so Google and other search engines can discover the full set of language variants.

      Parameters

      • articles: string[]

        List of article filenames (sourced from the news/ directory)

      • docsFiles: string[] = []

        Relative paths to docs HTML files (e.g. docs/api/index.html)

      Returns string

      Complete sitemap XML string