<?php header('Content-Type: application/xml; charset=utf-8'); $scheme=(!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off')?'https':'http'; $host=htmlspecialchars($_SERVER['HTTP_HOST'] ?? ($_SERVER['SERVER_NAME'] ?? ''), ENT_QUOTES, 'UTF-8'); $paths=['/','/brand-daily/','/brand-idea/','/brand-goods/','/brand-companion/','/brand-notes/','/brand-meet/','/morning-list/','/season-proposal/','/space-diary/','/ingredient-notes/','/slow-life-guide/','/user-manual/','/healing-inspiration/']; echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n"; ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php foreach($paths as $p): ?>
  <url><loc><?php echo $scheme.'://'.$host.$p; ?></loc><lastmod><?php echo date('Y-m-d'); ?></lastmod><changefreq>weekly</changefreq><priority><?php echo $p==='/'?'1.0':'0.8'; ?></priority></url>
<?php endforeach; ?>
</urlset>
