<?xml version="1.0" encoding="UTF-8"?>
<!--
    ════════════════════════════════════════════════════════════════════
    MagicDawn 官网 sitemap.xml
    ────────────────────────────────────────────────────────────────────
    职责：声明站点全部"独立可索引 URL"清单 + 每个 URL 的中英 hreflang 配对。
    收录原则（决定哪些 URL 进 sitemap）：
      ✅ 静态页面：/、/privacy-policy.html、/terms.html、/user-agreement.html
      ✅ academic 子站：/academic/、/academic/pages/{ndgi,uv,gpc}.html
      ❌ /views/* —— SPA 内容片段，不是独立 URL
      ❌ /#article=xxx —— hash 路由，部分搜索引擎不视为独立 URL；
         待未来升级到 history.pushState 后再补 /news/<id>
      ❌ /api/* —— 已在 robots.txt Disallow
    hreflang 处理：
      · 主站首页有 ?lang=en 切换 → 用 xhtml:link 标记中英版本
      · 法律页 / academic 子站当前为单语 → 不重复声明
    维护：lastmod 与最近一次该页面真实修改日期保持同步；新增页面在此追加 <url>
    ════════════════════════════════════════════════════════════════════
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">

    <!-- 主页（双语） -->
    <url>
        <loc>https://magicdawn.tencent.com/</loc>
        <lastmod>2026-06-01</lastmod>
        <changefreq>weekly</changefreq>
        <priority>1.0</priority>
        <xhtml:link rel="alternate" hreflang="zh-CN" href="https://magicdawn.tencent.com/"/>
        <xhtml:link rel="alternate" hreflang="en" href="https://magicdawn.tencent.com/?lang=en"/>
        <xhtml:link rel="alternate" hreflang="x-default" href="https://magicdawn.tencent.com/"/>
    </url>

    <!-- academic 子站（学术 / 论文 demo 页） -->
    <url>
        <loc>https://magicdawn.tencent.com/academic/</loc>
        <lastmod>2026-06-01</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>
    <url>
        <loc>https://magicdawn.tencent.com/academic/pages/ndgi.html</loc>
        <lastmod>2026-06-01</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>
    <url>
        <loc>https://magicdawn.tencent.com/academic/pages/uv.html</loc>
        <lastmod>2026-06-01</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>
    <url>
        <loc>https://magicdawn.tencent.com/academic/pages/gpc.html</loc>
        <lastmod>2026-06-01</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <!-- 法律 / 协议页 · 低更新频率 -->
    <url>
        <loc>https://magicdawn.tencent.com/privacy-policy.html</loc>
        <lastmod>2026-06-01</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.3</priority>
    </url>
    <url>
        <loc>https://magicdawn.tencent.com/terms.html</loc>
        <lastmod>2026-06-01</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.3</priority>
    </url>
    <url>
        <loc>https://magicdawn.tencent.com/user-agreement.html</loc>
        <lastmod>2026-06-01</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.3</priority>
    </url>

</urlset>
