<?xml version="1.0" encoding="UTF-8"?>
<!-- Dynamic XML Sitemap
     This file serves as a proxy/placeholder for the dynamic sitemap.xml generated by the Edge Function.
     
     Architecture:
     1. Browser requests: GET /sitemap.xml
     2. Vite/Vercel serves this static file with a redirect or rewrite
     3. The server proxies to Edge Function: GET /functions/v1/xml-sitemap?tenant=<slug>
     4. Edge Function generates dynamic XML from database (published articles + categories)
     5. Returns with Cache-Control: public, max-age=3600
     
     The Edge Function:
     - Location: supabase/functions/xml-sitemap/index.ts
     - Handles multi-tenant support via tenant query param
     - Generates URLs: https://sangtx.com/article/<slug>, https://sangtx.com/category/<slug>
     - Filters: published status only, no drafts/deleted articles
     - Supports pagination for large datasets (> 50k URLs)
-->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <!-- Primary sitemap for articles (dynamic, generated from database) -->
  <sitemap>
    <loc>https://csuocfxbucohfvowfwtq.supabase.co/functions/v1/xml-sitemap?tenant=sangtx&type=articles&page=1</loc>
  </sitemap>
  <!-- Categories sitemap (dynamic, generated from database) -->
  <sitemap>
    <loc>https://csuocfxbucohfvowfwtq.supabase.co/functions/v1/xml-sitemap?tenant=sangtx&type=categories&page=1</loc>
  </sitemap>
</sitemapindex>
