<?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"
  xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
  xsi:schemaLocation="
    http://www.sitemaps.org/schemas/sitemap/0.9
    http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
    http://www.google.com/schemas/sitemap-image/1.1
    http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd">

  <!-- ═══════════════════════════════════════════════
       CORE PAGES
  ═══════════════════════════════════════════════ -->

  <!-- Homepage / Code Editor -->
  <url>
    <loc>https://rapidcompiler.netlify.app/</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
    <image:image>
      <image:loc>https://rapidcompiler.netlify.app/logo512.png</image:loc>
      <image:title>RapidCompiler – Free Online Code Editor and Compiler</image:title>
      <image:caption>Write, compile and run code in 14 languages directly in your browser</image:caption>
    </image:image>
  </url>

  <!-- Login / Signup -->
  <url>
    <loc>https://rapidcompiler.netlify.app/login</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- My Projects (authenticated) -->
  <url>
    <loc>https://rapidcompiler.netlify.app/projects</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- User Profile (authenticated) -->
  <url>
    <loc>https://rapidcompiler.netlify.app/profile</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!-- ═══════════════════════════════════════════════
       LANGUAGE-SPECIFIC LANDING PAGES
       (These are the same editor pre-set to a language.
        Great for long-tail SEO: "run python online" etc.)
  ═══════════════════════════════════════════════ -->

  <!-- Python Online Compiler -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=python</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.95</priority>
  </url>

  <!-- JavaScript Online Editor -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=javascript</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.95</priority>
  </url>

  <!-- TypeScript Online Compiler -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=typescript</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.90</priority>
  </url>

  <!-- C Online Compiler -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=c</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.90</priority>
  </url>

  <!-- C++ Online Compiler -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=cpp</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.90</priority>
  </url>

  <!-- Java Online Compiler -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=java</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.90</priority>
  </url>

  <!-- C# Online Compiler -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=csharp</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.85</priority>
  </url>

  <!-- Go Online Compiler -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=go</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.85</priority>
  </url>

  <!-- Rust Online Compiler -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=rust</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.85</priority>
  </url>

  <!-- Swift Online Compiler -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=swift</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.85</priority>
  </url>

  <!-- Ruby Online Interpreter -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=ruby</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.85</priority>
  </url>

  <!-- PHP Online Editor -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=php</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.85</priority>
  </url>

  <!-- SQL Online Editor -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=sql</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.85</priority>
  </url>

  <!-- HTML/CSS/JS Live Editor -->
  <url>
    <loc>https://rapidcompiler.netlify.app/?lang=web</loc>
    <lastmod>2026-05-29</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.90</priority>
  </url>

</urlset>
