<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <!-- Homepage -->
    <url>
        <loc>http://shilaymusic.com/</loc>
        <lastmod>2025-09-15</lastmod>
        <changefreq>daily</changefreq>
        <priority>1.0</priority>
    </url>
    
    <!-- Library Posts -->
    <url>
        <loc>http://shilaymusic.com/library.php</loc>
        <lastmod>2025-09-15</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.8</priority>
    </url>
    
    <!-- Archive Posts -->
    <url>
        <loc>http://shilaymusic.com/archives.php</loc>
        <lastmod>2025-09-15</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.8</priority>
    </url>
    
    
    <!-- Individual Posts (dynamically generated) -->
    <?php
    // Include individual posts from library
    $library_posts = glob('posts/library/*.php');
    foreach ($library_posts as $post) {
        $post_url = 'http://shilaymusic.com/library-post.php?slug=' . urlencode(basename($post, '.php'));
        $last_modified = date('Y-m-d', filemtime($post));
        echo "<url>\n";
        echo "    <loc>" . htmlspecialchars($post_url) . "</loc>\n";
        echo "    <lastmod>" . $last_modified . "</lastmod>\n";
        echo "    <changefreq>monthly</changefreq>\n";
        echo "    <priority>0.7</priority>\n";
        echo "</url>\n";
    }
    
    // Include individual archive posts
    $archive_posts = glob('posts/archives/*.php');
    foreach ($archive_posts as $post) {
        $post_url = 'http://shilaymusic.com/archive-post.php?slug=' . urlencode(basename($post, '.php'));
        $last_modified = date('Y-m-d', filemtime($post));
        echo "<url>\n";
        echo "    <loc>" . htmlspecialchars($post_url) . "</loc>\n";
        echo "    <lastmod>" . $last_modified . "</lastmod>\n";
        echo "    <changefreq>monthly</changefreq>\n";
        echo "    <priority>0.7</priority>\n";
        echo "</url>\n";
    }
    
    // Include individual translation posts
        <!-- Translation posts removed — translations now available via lyrics.php -->
    ?>
</urlset>
