<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
        http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

  <!-- Homepage - Highest priority, changes daily -->
  <url>
    <loc>https://moviefy.it/</loc>
    <lastmod>2026-02-08</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- About Page - Static content -->
  <url>
    <loc>https://moviefy.it/about</loc>
    <lastmod>2026-02-08</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- Privacy Policy - Static content, rarely changes -->
  <url>
    <loc>https://moviefy.it/privacy-policy</loc>
    <lastmod>2026-02-08</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

  <!-- Terms of Service - Static content, rarely changes -->
  <url>
    <loc>https://moviefy.it/terms-of-service</loc>
    <lastmod>2026-02-08</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

  <!--
  NOTE: For dynamic content (users, rassegne, playlists), you have two options:

  1. MANUAL UPDATE: Add important pages here manually as they are created:
     <url>
       <loc>https://moviefy.it/rassegne/123</loc>
       <lastmod>2026-02-08</lastmod>
       <changefreq>weekly</changefreq>
       <priority>0.8</priority>
     </url>

  2. DYNAMIC SITEMAP: Create a server-side endpoint to generate dynamic URLs
     - Add a route in your Spring Boot backend: /api/sitemap/dynamic.xml
     - Submit both sitemaps to Google Search Console
     - Example sitemap index:
       <?xml version="1.0" encoding="UTF-8"?>
       <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
         <sitemap>
           <loc>https://moviefy.it/sitemap.xml</loc>
           <lastmod>2026-02-08</lastmod>
         </sitemap>
         <sitemap>
           <loc>https://moviefy.it/api/sitemap/dynamic.xml</loc>
           <lastmod>2026-02-08</lastmod>
         </sitemap>
       </sitemapindex>
  -->

</urlset>
