<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
    
    <!-- Homepage -->
    <url>
        <loc>https://titiksports.pages.dev/</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>hourly</changefreq>
        <priority>1.0</priority>
        <xhtml:link rel="alternate" hreflang="id" href="https://titiksports.pages.dev/" />
        <xhtml:link rel="alternate" hreflang="en" href="https://titiksports.pages.dev/en/" />
    </url>
    
    <!-- Live Matches -->
    <url>
        <loc>https://titiksports.pages.dev/?view=live</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>always</changefreq>
        <priority>0.9</priority>
    </url>
    
    <!-- Standings -->
    <url>
        <loc>https://titiksports.pages.dev/?view=standings</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.8</priority>
    </url>
    
    <!-- Leagues -->
    <url>
        <loc>https://titiksports.pages.dev/?view=leagues</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>
    
    <!-- Premier League -->
    <url>
        <loc>https://titiksports.pages.dev/league/premier-league</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.8</priority>
        <news:news>
            <news:publication>
                <news:name>TITIK SPORTS</news:name>
                <news:language>id</news:language>
            </news:publication>
            <news:publication_date>2025-12-22</news:publication_date>
            <news:title>Premier League - Live Scores &amp; Standings</news:title>
        </news:news>
    </url>
    
    <!-- La Liga -->
    <url>
        <loc>https://titiksports.pages.dev/league/la-liga</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.8</priority>
    </url>
    
    <!-- Serie A -->
    <url>
        <loc>https://titiksports.pages.dev/league/serie-a</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.8</priority>
    </url>
    
    <!-- Bundesliga -->
    <url>
        <loc>https://titiksports.pages.dev/league/bundesliga</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.8</priority>
    </url>
    
    <!-- Liga 1 Indonesia -->
    <url>
        <loc>https://titiksports.pages.dev/league/liga-1-indonesia</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.9</priority>
        <news:news>
            <news:publication>
                <news:name>TITIK SPORTS</news:name>
                <news:language>id</news:language>
            </news:publication>
            <news:publication_date>2025-12-22</news:publication_date>
            <news:title>Liga 1 Indonesia - Jadwal, Skor Langsung &amp; Klasemen</news:title>
        </news:news>
    </url>
    
    <!-- About -->
    <url>
        <loc>https://titiksports.pages.dev/about</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.5</priority>
    </url>
    
    <!-- Privacy Policy -->
    <url>
        <loc>https://titiksports.pages.dev/privacy</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.3</priority>
    </url>
    
    <!-- Terms of Service -->
    <url>
        <loc>https://titiksports.pages.dev/terms</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.3</priority>
    </url>
    
    <!-- 
    NOTE: For dynamic match URLs, create a separate sitemap-matches.xml
    that gets generated daily with actual match IDs:
    
    <url>
        <loc>https://titiksports.pages.dev/match/4193490</loc>
        <lastmod>2025-12-22</lastmod>
        <changefreq>hourly</changefreq>
        <priority>0.6</priority>
        <video:video>
            <video:thumbnail_loc>https://images.fotmob.com/...</video:thumbnail_loc>
            <video:title>Manchester United vs Liverpool - Live</video:title>
            <video:description>Watch live streaming...</video:description>
            <video:player_loc>https://titiksports.pages.dev/match/4193490</video:player_loc>
            <video:live>yes</video:live>
        </video:video>
    </url>
    -->
    
</urlset>

<!-- 
INSTRUCTIONS FOR DYNAMIC SITEMAP GENERATION:

Create a script (sitemap-generator.js) that runs daily via GitHub Actions or Cloudflare Workers:

1. Fetch today's + tomorrow's matches from API
2. Generate <url> entries for each match
3. Include video tags for matches with streaming
4. Update lastmod to current timestamp
5. Upload to /sitemap-matches.xml

Example GitHub Action (weekly):
name: Update Sitemap
on:
  schedule:
    - cron: '0 0 * * *'  # Daily at midnight
  workflow_dispatch:

jobs:
  update-sitemap:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - run: node sitemap-generator.js
      - uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "Update sitemap"
-->