<?xml version="1.0" encoding="UTF-8"?>
<!--
  STATIC FALLBACK SITEMAP — public/sitemap.xml
  ─────────────────────────────────────────────
  This file covers only hardcoded static + category routes.

  The live Express backend (GET /sitemap.xml) serves the full sitemap,
  which additionally includes every published article queried from MongoDB.
  This file is the fallback for when the backend is unreachable.

  To regenerate this file, run:
    node generate-sitemap.js

  Priority / changefreq values must stay in sync with:
    - routes/sitemapRoutes.js  (STATIC_ROUTES + CATEGORY_ROUTES)
    - generate-sitemap.js
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- ── Homepage ─────────────────────────────────────────── -->
  <url>
    <loc>https://www.storihub.app/</loc>
    <changefreq>hourly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- ── High-velocity categories (hourly crawl) ──────────── -->
  <url>
    <loc>https://www.storihub.app/category/breaking</loc>
    <changefreq>hourly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/politics</loc>
    <changefreq>hourly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/business</loc>
    <changefreq>hourly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/world</loc>
    <changefreq>hourly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- ── Standard categories (daily crawl) ────────────────── -->
  <url>
    <loc>https://www.storihub.app/category/technology</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/entertainment</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/sports</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/hot-gists</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/health</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/education</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/crime</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/lifestyle</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/category/opinion</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- ── Static / evergreen pages ─────────────────────────── -->
  <url>
    <loc>https://www.storihub.app/about</loc>
    <changefreq>monthly</changefreq>
    <priority>0.4</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/contact</loc>
    <changefreq>monthly</changefreq>
    <priority>0.4</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/privacy-policy</loc>
    <changefreq>yearly</changefreq>
    <priority>0.2</priority>
  </url>
  <url>
    <loc>https://www.storihub.app/terms-of-service</loc>
    <changefreq>yearly</changefreq>
    <priority>0.2</priority>
  </url>

</urlset>